Skip to content
DescriptorAPI

API reference

Usage for the current billing period

GET/v1/usage

Billing periods are UTC calendar months. Every enrichment that returns a merchant counts as one billable unit, whether it came from the cache or the AI; results with merchant: null are free. usage is current to the request; daily can lag by a few seconds.

Response

FieldTypeDescription
request_idrequired string

Unique ID of this request.

periodrequired object
startrequired string
endrequired string
planrequired object
idrequired string
namerequired string
monthly_quotarequired integer | null

Null for custom (unlimited) plans.

requests_per_secondrequired number
usagerequired object
billablerequired integer
remainingrequired integer | null
dailyrequired object[]
daterequired string
requestsrequired integer
billablerequired integer
cache_hitsrequired integer
ai_callsrequired integer

Status codes

  • 200

    The caller's plan and usage.

  • 401

    Missing, invalid or revoked API key, or a suspended account.

    Error code unauthorized

  • 429

    Too many requests per second. Retry after the number of seconds in Retry-After.

    Error code rate_limited