cost fields on responses, and what happens when you run out. For current per-endpoint rates, see the Tako pricing page.
Credits
Tako meters API usage in credits: each request to Search, Answer, the Agent, Contents, and the Data Graph deducts credits when it is served. Billing is pay-as-you-go: your account holds a credit balance, and each call draws down that balance based on the endpoint and the work it performs (for example, adeep-effort Search costs more than the default call).
The cost field
Some responses report a cost in US dollars so you can see what a piece of work cost:
- Search / Answer — each downloadable card carries a
contentdescriptor with acost(USD). Whencontent.deliveryisinline,costis what the response billed for that card’s rows. When it’squote, the response billed nothing for the card, andcostis the price of a later Contents export. A web result’scostis always the price of a later Contents fetch, because inlined web text is free. - Contents — each
ContentItemcarries acost(USD) for that download.
$0.001 per export plus a per-row rate that starts at $0.01 per 1,000 rows and is higher for some licensed sources; web-page text extraction bills $0.001 per page. Revealing premium columns, such as the contact details on a people list, adds a charge per distinct person or company revealed. Read the exact per-card rate from export_pricing before you fetch, and see Contents pricing for the formula and worked examples.
A cost of 0.0 is rare: it means the item was genuinely free — an empty payload, or an account whose row charges are waived. A card export you actually receive rows from is never 0.0, because the per-export baseline always applies. These fields report the USD cost of the underlying work; your credit balance is drawn down accordingly.
When your account is billed pay-as-you-go, the request total is
usage.total_cost_usd — always present on a metered response, and always
the sum of the components beside it. usage.data is only the inline-data
component and is omitted entirely when a request inlined none.
usage.variable_cost is the amount a source’s per-unit minimum added above
the request’s own price, and appears only when that amount is above 0. On
accounts that are not metered per request the usage key is absent (not
null). Instead, sum cost over each Contents item and over each Search or
Answer card whose content.delivery is inline.Running out (402)
When your account is out of credits, API calls return 402 (insufficient balance). Top up your balance from your Tako account, then retry — requests succeed again once your balance is positive.