Skip to main content
GET
/
usage
Usage history
curl --request GET \
  --url https://api.tryhuntr.com/usage \
  --header 'x-api-key: <api-key>'
{
  "requests": [
    {
      "id": "req_1746123456_ab3x9k",
      "prompt": "Find CEO of Stripe",
      "result": "Patrick Collison is the CEO of Stripe...",
      "tier": "standard",
      "model": "gemini-2.5-flash",
      "cost": 0.027,
      "capabilities_used": [
        "search_and_scrape",
        "news_search"
      ],
      "timestamp": "2026-05-03T12:00:45Z"
    }
  ],
  "total_requests": 42,
  "total_cost": 1.28
}

Authorizations

x-api-key
string
header
required

Your Huntr API key. Get one at tryhuntr.com. Pass as x-api-key header on all authenticated requests.

Query Parameters

limit
integer
default:10

Number of entries to return.

Required range: x <= 500
offset
integer
default:0

Entries to skip (for pagination).

Response

Usage history, newest first.

requests
object[]

Paginated slice of the last 500 requests, newest first.

total_requests
integer

Total number of requests stored for this key (up to 500 most recent).

total_cost
number

Sum of cost across all stored requests in USD.