Credits & Abrechnung
Verstehen Sie Credits, Top-ups, Usage-Header und das Metered-Verhalten.
Credits model
- Public API billing is credits-only.
- Metered endpoints charge per returned row (or per call for single-resource endpoints), at the rate of the resource family below.
- Every active workspace plan includes 10,000 recurring credits per month.
- Top-up credits carry over and do not expire.
Cost per endpoint
The rate applies to each returned row, then the request total is rounded to the nearest whole credit. A query that returns 20 shops costs 80 credits; one that returns 3 ads costs 5. Requests that return nothing or fail cost nothing.
| Resource family | Credits per row or call | REST endpoints | MCP tools |
|---|---|---|---|
| Shops & products | 4 | /v1/shops, /v1/shops/query, /v1/shops/{shopId} and its products, advertisers, socials/history, sales/history, similar; /v1/products, /v1/products/query, /v1/products/{productId}, /v1/products/lookup; /v1/shops/image-search, /v1/products/image-search | search_shops, find_similar_shops, search_shops_by_image, search_products_by_image, search_products, get_product, product_launch_radar |
| Advertisers | 3 | /v1/advertisers, /v1/advertisers/query, /v1/advertisers/{advertiserId} and its ads | search_advertisers |
| Emails | 2 | /v1/emails/query, /v1/emails/{emailId}, /v1/emails/{emailId}/html, /v1/shops/{shopId}/emails, /v1/shops/{shopId}/emails/stats | search_emails, get_email_html, analyze_shop_emails |
| Meta ads | 1.5 | /v1/ads, /v1/ads/query, /v1/ads/{adId} and its media-url, reach-history, share; /v1/ads/facets/landing-pages; /v1/products/{productId}/ads | search_ads, scan_ad, get_product_ads, create_ad_share_link, delete_ad_share_link |
| Everything else | 1 | Brandtrackers and their insights, workspace insights, boards, favorites, Google Ads, TikTok library, product share links | Brandtracker tools, boards tools, find_winning_products, search_google_ads_library, search_tiktok_library, brief_competitor, daily_radar, analyze_product, create_product_share_link |
| Free | 0 | /v1/lookup, /v1/facets/*, /v1/google-ads/facets/*, /v1/products/facets, /v1/brandtrackers/folders, /v1/me, /v1/workspace, /v1/workspace/folders, /v1/usage | lookup, lookup_filter_ids, check_credits, usage_get |
Shop searches can return shop-detail fields (Trustpilot, social followers, Shopify apps, Meta ad reach, best sellers' average price) for every shop they find: list them in include on /v1/shops/query or search_shops. Such a search costs 5 credits per returned shop instead of 4, so you no longer need a separate /v1/shops/{shopId} call (4 credits) for those fields.
REST and MCP charge the same rate. Workspaces still on the legacy API add-on (pricing before August 2026) pay 1 credit per row on REST and 1.5 on MCP, whatever the endpoint.
Consumption order
- Recurring monthly credits are consumed first.
- Top-up carry-over credits are consumed second.
Metered collection endpoints use reservation and settlement in the backend, so the final cost is based on returned results rather than requested limits alone.
Helpful endpoints and headers
GET /v1/usageexposes the runtime balance snapshot. It is unmetered, but still returnsX-Usage-Cost: 0,X-Credits-Used: 0, andX-Credits-Remaining.- Successful metered responses can include
X-Usage-Cost,X-Credits-Used,X-Credits-Remaining, andX-Credits-Source. - Shell endpoints like
/v1/me,/v1/workspace,/v1/openapi.json, and/v1/docsremain unmetered.
Response headers explained
| Header | Meaning | Example value |
|---|---|---|
X-Usage-Cost | Credits consumed by this specific request. /v1/usage returns 0. | 12 |
X-Credits-Used | Credits consumed by this specific request. /v1/usage returns 0. | 12 |
X-Credits-Remaining | Balance after this request settled. Watch it to stop a loop before you run out. | 9872 |
X-Credits-Source | Bucket the credits were drawn from on metered calls. | recurring, topup, hybrid |
X-Request-Id | Stable per-request identifier echoed in error bodies. Quote when contacting support. | req_01HZ… |
Metering headers are emitted on metered endpoints. GET /v1/usage is the unmetered exception: it returns X-Usage-Cost: 0, X-Credits-Used: 0, and X-Credits-Remaining so agents can read the balance from headers as well as the body.
Poll /v1/usage at session start
Long-running agents should call /v1/usage once when they boot to size their work against the remaining budget. It is unmetered, so there is no cost to calling it at every cold start. The response includes X-Usage-Cost: 0, X-Credits-Used: 0, and X-Credits-Remaining.
export TT_API_BASE_URL="https://api.trendtrack.io"
curl -s "$TT_API_BASE_URL/v1/usage" \
-H "Authorization: Bearer $TT_API_KEY"{
"data": {
"plan": "professional",
"monthly": {
"included": 10000,
"remaining": 7240,
"resetAt": "2026-05-01T00:00:00.000Z"
},
"topUp": { "remaining": 1500 },
"total": { "remaining": 8740 }
},
"requestId": "req_01HZ…"
}If total.remaining is below your worst-case job cost, stop and surface the budget gap to the caller instead of hitting 402 insufficient_credits mid-loop.
Top-ups
Manual and automatic top-ups are supported from the webapp billing layer. The fixed exchange rate is $1 = 1,000 credits, with a minimum top-up amount of $10.
Force a docs cache refresh
When the API schema or guides change, the /docs/llms.txt and /docs/llms-full.txt endpoints are cached for 1 hour. Call GET /docs/invalidate to purge the cache immediately (provide the DOCS_INVALIDATE_SECRET in production via Authorization: Bearer … or ?secret=…). This endpoint is a maintenance helper — it is not part of the public API surface.