Background ChecksStatisticsGet check statistics GET
GET
/api/v1/api/bgc/statistics/

Aggregate counts for your organisation's background checks: totals by status, the check types and countries you use most, and package usage.

Scoped to the organisation that owns the API key.

Authorization

ApiKeyAuth
X-API-Key<token>

In: header

Response Body

application/json

curl -X GET "https://example.com/api/v1/api/bgc/statistics/"
{  "data": {    "total_requests": 0,    "completed_requests": 0,    "pending_requests": 0,    "completion_rate": 0.1,    "total_packages": 0,    "status_distribution": [      {        "status": "string",        "count": 0,        "percentage": 0.1      }    ],    "check_types_distribution": [      {        "check_type_id": "string",        "check_type_name": "string",        "count": 0      }    ],    "countries_distribution": [      {        "country": "string",        "country_code": "string",        "count": 0      }    ],    "package_statistics": {      "total_packages": 0,      "active_packages": 0,      "avg_checks_per_package": 0.1    }  },  "status": true,  "message": "Request successful.",  "errors": {},  "meta": {    "timestamp": "2019-08-24T14:15:22Z",    "version": "v1",    "request_id": "string"  },  "pagination": {    "page": 0,    "page_size": 0,    "total_pages": 0,    "total_items": 0  }}
Response Codes & Statuses: Prembly API responses include custom response_code values (e.g., 00 Success, 01 Not Found, 02 Unavailable).
View Response Codes Guide
Prembly Slack Community

Join our developer Slack channel for real-time integration support, engineering updates, and direct Q&A with the Prembly team.

Join Slack Channel