Docs
Errors, limits and pricing
Every error has the same shape, every response carries a request id, and every call costs one unit.
Error envelope
Errors are JSON with an HTTP status that matches the code. The requestId also comes back in the x-request-id header of every response, success or not.
/api/v1/apps?store=amazon (real response)
{
"error": {
"code": "bad_request",
"message": "Invalid query.",
"details": [
{
"code": "invalid_value",
"values": [
"apple",
"google"
],
"path": [
"store",
0
],
"message": "Invalid option: expected one of \"apple\"|\"google\""
}
],
"requestId": "req_Ik1GVvqDpx2H"
}
}/api/v1/ads?limit=1 with a Free plan key (real response)
{
"error": {
"code": "plan_limit",
"message": "API and MCP access needs a Pro or Team plan.",
"details": {
"limit": 0,
"used": 0,
"plan": "free",
"upgradeUrl": "/settings/billing"
},
"requestId": "req_Hxlh4txB4Nlk"
}
}Codes
| HTTP | code | When |
|---|---|---|
| 400 | bad_request | A parameter failed validation, an enum value is unknown, or a query parameter is not one the endpoint takes (typos are never ignored). details lists the issues. |
| 401 | unauthorized | No key where one is needed, a malformed header, or an unknown, revoked or expired key. |
| 403 | forbidden | Authenticated, but not allowed: a key on a session-only endpoint, or an unconfirmed email creating a key. |
| 402 | plan_limit | The plan does not allow it: API access on Free, or more filters than the plan allows. details = {limit, used, plan, upgradeUrl}. |
| 404 | not_found | Unknown app, ad, creator, flow or key. |
| 429 | rate_limited | Burst limit, monthly quota or a per-address limit reached. Retry-After (seconds) is set, and details.retryAfter repeats it. |
| 503 | not_configured | The feature needs a server-side key that is not set up. Never a fake success. |
| 501 | not_implemented | The endpoint is declared but not live over the API yet. No endpoint returns it today. Not metered. |
| 500 | internal | A bug on our side. Quote the requestId when you report it. |
Rate limits and quotas
| Plan | Calls a month | Burst per key | Results per search | History |
|---|---|---|---|---|
| Free (no key) | Public endpoints only, not metered | 60/min per IP | 25 | 30 days |
| Pro | 10,000 | 60/min | Unlimited | All |
| Team | 100,000 | 300/min | Unlimited | All |
- The burst limit is a fixed one-minute window per key. Over it you get 429 with Retry-After.
- Per address, across the API and MCP: at most 600 requests a minute, and after 30 failed authentications (401) in a minute, requests that send a key, or need one, get 429 until the minute is over. Request bodies are capped at 64 KB.
- The monthly quota is per workspace, shared by all its keys and by REST and MCP. It resets on the 1st, 00:00 UTC; the 429 Retry-After counts down to then.
- Metered responses carry
X-Quota-UsedandX-Quota-Limit, andX-Plan. - Free and anonymous lists are cut to the top 25:
pagination.truncatedByPlanis then true andhasMorefalse, whiletotalstays the real match count.
How calls are counted
A request that passes validation is one unit. The number of rows does not matter:
| Request | Units |
|---|---|
| Search apps, 100 rows | 1 |
| App detail, one app | 1 |
| Batch keyword difficulty, 10 keywords | 1 |
| One MCP tool call | 1 |
| A 400 (bad request), 401, 402, 429, 500 or 501 (not live yet) | 0 |
| REST: a 404 for an id or slug we do not hold | 1 |
| MCP: an app reference we cannot resolve (not_found) | 0 |
| Listing MCP tools, connecting | 0 |
Plenty of data APIs bill per row returned or per keyword looked up, which makes costs hard to predict when an agent is calling. Here a page of 100 apps and a single lookup cost the same, so the monthly figure on your plan is the number of calls you can make.
Pagination
Lists take page (from 1) and limit (default 25, max 100) and return {"data": [...], "pagination": {page, limit, total, totalCapped, hasMore, truncatedByPlan}}. Totals above 10,000 are capped and totalCapped is true.
Conventions
- JSON in camelCase. Days are UTC
YYYY-MM-DD; instants are ISO 8601 with an offset. - List parameters are comma-separated:
?store=apple,google. Booleans aretrue,false,1or0. - Money is USD, store gross (before the store's cut), unless a field says otherwise.
countryis one of 30 codes (GET /countries);regionalso takesww(worldwide).- Public, anonymous GETs are cacheable for 5 minutes; anything with a key or cookie is
private, no-store.