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

Get API usage metrics

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

Returns current usage counters, rate-limit quota, recent requests, and Banxico 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

Total API requests on the current calendar day (UTC).

e.g. 42
requests_monthinteger

Total API requests in the current calendar month (UTC).

e.g. 580
quotaobject

Validation quota state for the plan in force: how many it includes, how many have been used, how many remain, and when the count resets.

plan_slugstring

Active plan identifier.

e.g. free
plan_namestring

Human-readable name of the active plan.

e.g. Free
limitinteger

Validations included in the plan per calendar month.

e.g. 500
usedinteger

Validations consumed in the current month.

e.g. 350
remaininginteger

Validations remaining in the current month.

e.g. 150
resets_atstring (date-time)

ISO 8601 timestamp in UTC with explicit Z suffix. Example: "2026-05-01T05:14:38Z". Every datetime field uses this shape. The descriptor at meta.datetime makes the contract runtime-assertable.

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

User's most recent API requests (reverse chronological order).

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 statisticsNo body
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
c4d5e6f7a8b9