|API RANK| by Escape.tech
Benchmark and ranking of 5138+ public APIs by Escape.tech
Safaricom APIs (ranked 3883 of 5138)
https://escape-data-and-specs.s3.fr-par.scw.cloud/specs/8su5IZNbYD9OdtzboZmX2_safaricom_apis_json.jsonGENERAL INFORMATION
Introduction
API documentation for the Safaricom API which is easy to use.
Overview
API endpoints for accessing M-Pesa services; we have M-Pesa API endpoints for B2B, B2C, and C2B. Our APIs are built on REST; data entities are represented as HTTP resources and are accessed using HTTP verbs, majorly GET and POST. API request parameters and responses - including errors - are encoded in JSON. Our APIs response status codes and error codes comply with HTTP status codes as defined in RFC 2616.
Authentication
Go to this link to generate your access token; https://developer.safaricom.co.ke/oauth/apis/get/generate-1.
SECURITY 4/5
The security score of an API is computed as the number of OWASP top 10 vulnerabilities detected in the API.
- OWASP issues detected: API7:2023
PERFORMANCE 2/5
The performance score is derived from the median response time of the API, sometimes referred as p50. The median is the value separating the higher half from the lower half of a data sample, here the response times of the API.
- The median response time of the API is 678 ms .
Get p50 under 220 ms to get a 4/5 score.
RELIABILITY 5/5
The reliability score is derived from the number of inconsistent server responses, either server errors or non-conforming return values.
- Self compliance: response objects matched the declared response types.
- Server errors: the server did not return any 5xx error.
DESIGN 1/5
The design score reflects the quality of the specification file (usually named openapi.json or swagger.json). Having a high-quality specification file (with up-to-date types and examples) help developers understand the API and tools produce relevant documentation.
- Respects OpenAPI 2.0 schema specification.
- Contains comments and summaries.
- Contains examples.
- Does not contain duplicated objects.
Popularity 1/5
The popularity score is computed from the number of references to the API found on the internet. Have your API used by many developers to get a higher score!