GET
https://api.milda.ai/v1/credit-usageCredit Usage
no request body01
Description
Check the API token you are using: whether it is valid, when it expires, and how many credits it has left.
How It Works
- Any valid API token can call this endpoint, and it costs nothing.
- An expired, disabled or unknown token gets
401, so a200means the token works.
Response Fields
token: The API token in use.expiration_date: Date and time when the token expires.credits: The remaining balances:credits.data– spent by search, data and insight endpointscredits.enrichment– spent by company enrichment
Rate Limit
10 requests per second
02
Headers
nameinreqdescription
tokenheaderone ofYour API token, sent as "token: YOUR_API_TOKEN". Send this or Authorization.
Authorizationheaderone ofThe same token in the standard form, sent as "Authorization: Bearer YOUR_API_TOKEN" (the word Bearer, a space, then your token). Send this or token.
03
Responses
200 Successful Response
TokenInfotype3 fields
tokenstringToken string
expiration_datestringExpiration date
+creditsCreditsRemaining credits
enrichmentnumberdefault 0
datanumberdefault 0