Skip to content

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

HTTPcodeWhen
400bad_requestA 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.
401unauthorizedNo key where one is needed, a malformed header, or an unknown, revoked or expired key.
403forbiddenAuthenticated, but not allowed: a key on a session-only endpoint, or an unconfirmed email creating a key.
402plan_limitThe plan does not allow it: API access on Free, or more filters than the plan allows. details = {limit, used, plan, upgradeUrl}.
404not_foundUnknown app, ad, creator, flow or key.
429rate_limitedBurst limit, monthly quota or a per-address limit reached. Retry-After (seconds) is set, and details.retryAfter repeats it.
503not_configuredThe feature needs a server-side key that is not set up. Never a fake success.
501not_implementedThe endpoint is declared but not live over the API yet. No endpoint returns it today. Not metered.
500internalA bug on our side. Quote the requestId when you report it.

Rate limits and quotas

PlanCalls a monthBurst per keyResults per searchHistory
Free (no key)Public endpoints only, not metered60/min per IP2530 days
Pro10,00060/minUnlimitedAll
Team100,000300/minUnlimitedAll
  • 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-Used and X-Quota-Limit, and X-Plan.
  • Free and anonymous lists are cut to the top 25: pagination.truncatedByPlan is then true and hasMore false, while total stays the real match count.

How calls are counted

A request that passes validation is one unit. The number of rows does not matter:

RequestUnits
Search apps, 100 rows1
App detail, one app1
Batch keyword difficulty, 10 keywords1
One MCP tool call1
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 hold1
MCP: an app reference we cannot resolve (not_found)0
Listing MCP tools, connecting0
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 are true, false, 1 or 0.
  • Money is USD, store gross (before the store's cut), unless a field says otherwise.
  • country is one of 30 codes (GET /countries); region also takes ww (worldwide).
  • Public, anonymous GETs are cacheable for 5 minutes; anything with a key or cookie is private, no-store.