https://api.veriko.mx/v1/insights/overviewView the account's validation metrics
How-to guide →Returns the validation metrics for the authenticated user:
- Total validations
- Today's and yesterday's validations
- Success rate
- Average latency over the last 24 hours
Includes the Banxico verdict distribution for the last 7 days.
curl -X GET 'https://api.veriko.mx/v1/insights/overview' \
-H 'Authorization: Bearer veriko_••••'Python example — coming soon.
JavaScript example — coming soon.
PHP example — coming soon.
| Field | Type | Description |
|---|---|---|
total | integer | Number of validations in the scope, with no date bound. e.g.1240 |
today | integer | Number of validations created on the current calendar day (UTC). e.g.37 |
yesterday | integer | Number of validations created on the previous calendar day (UTC). e.g.42 |
success_rate | number | Percentage of validations with a 94.2 |
avg_latency_ms | integer | Average processing time over the last 24 hours, in milliseconds. e.g.810 |
by_banxico_7d | object | Banxico verdict distribution for the last 7 days. Keys are {"valid":210,"invalid":8,"not_found":3,"cep_unavailable":2,"returned":1} |
scope | string | Data scope — self |
| Status | Class | Description | Body |
|---|---|---|---|
| 200 | 2xx | User-scoped KPIs and Banxico verdict distribution for the last 7 days. | InsightsOverviewAttributes |
| 401 | 4xx | Authentication is required or the provided credentials are invalid. | ErrorResponse |
| 403 | 4xx | Insufficient permissions. | ErrorResponse |
| Status | Code | Example |
|---|---|---|
| 401 | unauthorized | Invalid or missing authentication credentials. Envelope
|
| 403 | permission_denied | You do not have permission to access this resource. Envelope
|