GEThttps://api.veriko.mx/v1/api/usage

Get API usage metrics

Audience
public
Auth
API key
Permission
validations:read
How-to guide →

Returns the authenticated user's API usage metrics:

  • API key requests today and this month.
  • Quota of the plan in force.
  • The 15 most recent API key requests.
  • Validations consumed per month.
  • Current Banxico CEP service status.
Request
curl -X GET 'https://api.veriko.mx/v1/api/usage' \
  -H 'Authorization: Bearer veriko_••••'

Python example — coming soon.

JavaScript example — coming soon.

PHP example — coming soon.

Response 200ApiUsage — Usage statistics
FieldTypeDescription
requests_todayinteger

Number of the user's API key requests on the current calendar day (UTC).

e.g. 42
requests_monthinteger

Number of the user's API key requests in the current calendar month (UTC).

e.g. 580
quotaobject

Current validation quota state: limit, usage, balance, and reset.

plan_slugstring

Unique, human-readable plan identifier. It corresponds to the user's active plan.

e.g. free
plan_namestring

Plan name shown in the interfaces.

e.g. Free
limitinteger

Effective validation limit for the current cycle.

e.g. 500
usedinteger

Validations consumed in the current cycle.

e.g. 350
remaininginteger

Validations available in the current cycle (max(0, limit - used)).

e.g. 150
resets_atstring (date-time)

ISO 8601 timestamp in UTC with an explicit Z suffix; for example, "2026-05-01T05:14:38Z". The *_at, *_end, *_start, and *_date fields follow this format. meta.datetime describes the same contract in the response.

e.g. 2026-05-01T05:14:38Z
recent_requestsarray

User's 15 most recent API key requests, from most to least recent.

banxico_statusstring

Current Banxico CEP service status — operational: Available and responding normally; degraded: Available but with partial errors; down: Completely unavailable (all recent records are errors); unknown: Insufficient recent data to determine status.

e.g. operational
usage_historyarray

Validations consumed per calendar month (history).

Response status codesGET /v1/api/usage
StatusClassDescriptionBody
2002xxUsage statisticsApiUsage
4014xxAuthentication is required or the provided credentials are invalid.ErrorResponse
Errors from GET /v1/api/usage
StatusCodeExample
401unauthorized

Invalid or missing authentication credentials.

Envelope
meta.request_id
c4d5e6f7a8b99b8a7f6e5d4c