SCORE360Your first credit decision
Demo
DocumentationREST API · OpenAPI 3.1

API Reference

Base URL: https://api.score360.africa/v1

Authentication: Authorization: Bearer {sk_live_...} header on all endpoints.

Endpoints

API entry points

POST/v1/scoreCalculate an SME score

Returns the score (0–900), grade (A–E), confidence, trend and explanatory factors for a given SME entity.

ParameterTypeRequiredDescription
entity_idstringyesUnique SME identifier
flow_windowintegernoAnalysis window in days (default: 90)
sectorstringnoBusiness sector (commerce, agri, health…)
GET/v1/score/:entity_idGet the current score

Returns the cached score without recalculation. Faster — suited for dashboard displays.

ParameterTypeRequiredDescription
entity_idstringyesUnique SME identifier (path param)
GET/v1/score/:entity_id/historyScore history

Returns the score history over a given period, with the associated trend and alerts.

ParameterTypeRequiredDescription
entity_idstringyesUnique SME identifier
fromISO 8601noStart date
toISO 8601noEnd date (default: today)
POST/v1/webhooksCreate a webhook

Registers an HTTPS endpoint to receive SCORE360 events (score.updated, alert.npl_risk…).

ParameterTypeRequiredDescription
urlstringyesHTTPS receiving URL
eventsstring[]yesList of events to listen to
secretstringnoHMAC-SHA256 signing secret
GET/v1/entitiesList entities

Returns the paginated list of SMEs registered on your account, with their current score and grade.

ParameterTypeRequiredDescription
pageintegernoPage number (default: 1)
limitintegernoResults per page (default: 50, max: 200)
gradestringnoFilter by grade (A, B, C, D, E)
Error codes

Error handling

All errors return JSON with an `error` field (machine code) and a `message` field (human-readable).

400bad_requestInvalid request body or missing parameter.
401unauthorizedMissing or invalid API key.
403forbiddenAccess denied — check RBAC permissions.
404entity_not_foundSME entity not found.
429rate_limitedCall quota exceeded. Retry after the delay in Retry-After.
500internal_errorInternal server error. Contact dev@score360.africa.