Français
cURL
curl --request GET \ --url https://api.firecrawl.dev/v1/team/token-usage/historical \ --header 'Authorization: Bearer <token>'
{ "success": true, "periods": [ { "startDate": "2025-01-01T00:00:00Z", "endDate": "2025-01-31T23:59:59Z", "apiKey": "<string>", "totalTokens": 1000 } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Get historical token usage by API key
Successful response
true
Afficher attributs enfants
Start date of the billing period
"2025-01-01T00:00:00Z"
End date of the billing period
"2025-01-31T23:59:59Z"
Name of the API key used for the billing period. null if byApiKey is false (default)
Total number of tokens used in the billing period
1000