跳转到主要内容
GET
/
team
/
token-usage
/
historical
获取已认证团队的历史 token 用量(仅限 Extract)
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 使用量现在包含所有端点的使用。

授权

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[]