跳转到主要内容
GET
/
team
/
token-usage
/
historical
Get historical token usage for the authenticated team (Extract only)
curl --request GET \
  --url https://api.firecrawl.dev/v2/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
    }
  ]
}
按月返回历史 Token 使用情况。该端点也可选择按 API 密钥分解使用量。
我们已简化计费,将 Extract 与其他端点统一改为使用 credit。每个 credit 折合 15 个 token。报告的 token 使用量现在包含所有端点的使用。

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

byApiKey
boolean
default:false

Get historical token usage by API key

Response

Successful response

success
boolean
Example:

true

periods
object[]