API reference
Account
Credits used and remaining for your organisation, broken down by endpoint and key.
Credits used and remaining
/v1/usage Usage of the calling key's organisation over a UTC window, by key and endpoint. Defaults to the current billing period. Figures can trail live traffic by a few seconds.
Query parameters
fromtimestampStart of the window, rounded down to the hour
totimestampEnd of the window, rounded up to the hour
Response
dataobjectShow 6 fields
creditsRemaininginteger or nullCredits left under the tightest limit right now, null when unlimited
creditsUsedintegerfromtimestampkeyIdstringThe key making this call
linesarray of objectsShow 4 fields
creditsintegerkeyIdstringoperationIdstringrequestsinteger
totimestamp
metaobjectShow 3 fields
asOftimestamp or nullThe point in time this data describes, like when a filing was published. Null where that doesn't apply, as with account data
creditsintegerCredits this call cost
requestIdstring
Errors
400 Bad Request401 Unauthorized402 Payment Required403 Forbidden422 Unprocessable Entity429 Too Many Requests500 Internal Server Error503 Service Unavailable
Every error body is problem+json with a stable code. See errors.