跳转到主要内容
GET
/
team
/
token-usage
/
historical
获取已认证团队的历史 Token 用量(仅限 Extract)
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
    }
  ]
}
按月返回历史 Token 使用情况。该端点还可选按 API key 对使用情况进行细分。

授权

Authorization
string
header
必填

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

查询参数

byApiKey
boolean
默认值:false

按 API 密钥获取历史 Token 使用量

响应

成功响应

success
boolean
示例:

true

periods
object[]