API
Use the AppSays REST API for keyword ranks, downloads, revenue, reviews and Apple Ads data: API keys, pagination, errors and rate limits.
The AppSays REST API exposes every operation the web app uses. If you can see or do it in AppSays, you can do it with the API, under the same permissions and plan limits.
- Base URL:
https://api.appsays.com/v1 - Format: JSON in and out, UTF-8. Field names are
snake_case. - Reference: the OpenAPI document at
GET https://api.appsays.com/v1/openapi, generated from the same schemas the API validates with.
Authentication
Scripts authenticate with an API key sent in the X-Api-Key header. Never put a key in a URL.
curl https://api.appsays.com/v1/apps \
-H "X-Api-Key: $APPSAYS_API_KEY"Create a key
An owner or admin creates keys in the web app, under Settings, API keys. A key belongs to the Organization, not to the person who made it, so it keeps working when that person leaves.
When you create a key you choose:
- Scopes. What the key may do, by area:
aso:read,analytics:read,reviews:read,reviews:write,alerts:writeand so on. New keys get read scopes only.writedoes not includeread; ask for both if you need both. - Apps. All apps, or a list. The key reaches only those apps.
- Expiry. Optional, from one day to two years.
The secret is shown once. Store it in your secret manager. If you lose it, revoke the key and create a new one.
Publishing from a key
reviews:publish lets a key send replies to the stores with no person watching. It is off by default, the form warns you before you add it, and an admin can block all keys and agents from publishing for the whole Organization.
A key is bound to one Organization, so requests never name one. A key cannot create other keys, enter store credentials or change billing. Those operations answer WEB_REQUIRED with a link to the right page.
Responses
A successful response has this shape:
{
"success": true,
"data": { "...": "..." },
"meta": { "request_id": "req_...", "next_cursor": "..." }
}meta can also hold total, labels, usage and warnings. Clients must ignore fields they do not recognize: the API adds fields without a new version.
Labeled values
Every number that comes from a store or from AppSays' collection is labeled with data_quality (measured, estimated or unavailable), its data_source and as_of. An unavailable value always has a reason, such as not_connected, withheld_by_store, outside_history or plan_limit. In tables, the default label for a column is in meta.labels, and a cell that differs is an object with its own label. Never read an unavailable value as zero.
AI output, such as a reply draft or a theme, carries a generated object instead, with edited: true once a person or agent changes the text.
Pagination
Lists use cursors. Send limit (default 50, maximum 200) and the cursor from the previous page. The response's meta.next_cursor is null on the last page.
curl "https://api.appsays.com/v1/reviews?app_id=app_...&rating=1,2&limit=100&cursor=..." \
-H "X-Api-Key: $APPSAYS_API_KEY"A cursor remembers the filters and sort it was made with. Changing them mid-way is a VALIDATION_ERROR; start again without a cursor. Time series are not paged; they are bounded by the date range.
Filters, sorting and dates
- Filters are query fields named after the field:
country=us,rating=1,2(a comma means any of). - Ranges use
_minand_max:keyword_rank_max=10. sorttakes one field, with-for descending:sort=-popularity.- Dates use
fromandto(inclusive,2026-10-01), or aperiodsuch aslast_30_days,month_to_dateorlast_12_months.compare=previous_periodadds a comparison series. - Unknown filters and fields are refused, never ignored.
Reads that take a long list, such as hundreds of keywords, can be sent as POST on the same path with the header X-HTTP-Method-Override: GET and the input in the body.
Errors
Errors return an error object with a stable code, a human-readable message, optional details and the request_id. Act on the code; messages may change.
| Code | HTTP | Meaning |
|---|---|---|
VALIDATION_ERROR | 400 | A field is wrong or unknown. details lists each one. |
AUTH_REQUIRED | 401 | No valid key, token or session. |
FORBIDDEN | 403 | The role does not allow the operation. |
INSUFFICIENT_SCOPE | 403 | The key lacks a scope. required_scopes says which. |
WEB_REQUIRED | 403 | The operation runs in the web app only. web_url links to it. |
LIMIT_REACHED | 403 | A plan limit is full. The error says which limit, what is used, when it resets and which plan lifts it. |
NOT_FOUND | 404 | It does not exist, or the key's apps do not include it. |
CONFLICT | 409 | The current state does not allow it, for example a review already replied to elsewhere. |
CONFIRMATION_INVALID | 409 | A confirmation token was used, expired or is for different content. |
IDEMPOTENCY_CONFLICT | 409 | An idempotency key was reused with a different body. |
NOT_SUPPORTED_BY_STORE | 422 | The store has no such action, such as deleting a Google Play reply. |
RATE_LIMIT_EXCEEDED | 429 | Too many requests. Wait for Retry-After. |
STORE_UNAVAILABLE | 503 | A live lookup could not reach the store. Retry after Retry-After. |
AI_UNAVAILABLE | 503 | The AI model did not answer in time. Nothing was charged. |
No access reads as NOT_FOUND, so a key cannot learn that an app exists outside its access.
Store writes and confirmation
A call that changes something on a store, such as publish_reply, runs in two steps:
- Call it without
confirmation_token. Nothing is sent. The response is202withstatus: "confirmation_required", aconfirmation.token, and the exactchangesthat would be made. - Call it again with the same input and the token. The write runs once. The token expires after ten minutes and works only for that exact content.
If your Organization requires approval, the second call returns status: "pending_approval" until a member approves it in the web app.
Idempotency
Send an Idempotency-Key header on any POST. A retry with the same key and body returns the first response, with Idempotent-Replayed: true, and is not charged again. Use it on every call that runs an AI generation, such as draft_reply. PUT, PATCH and DELETE are idempotent without it.
Rate limits and usage
Requests are rate limited per API key, per connected agent and per Organization. Past the limit the API answers 429 RATE_LIMIT_EXCEEDED with a Retry-After header in seconds. Back off for that long, then retry.
Rate limits protect the service and are separate from your plan's limits. Reading data you already track never costs anything but rate limit. Metered calls, such as a lookup of an untracked keyword or an AI draft, return meta.usage with what is left:
{ "usage": [{ "limit": "lookups", "counted": true, "used": 137, "remaining": 363, "resets_at": "2026-12-01T00:00:00Z" }] }Versioning
The major version is in the path. v1 only changes by addition: new routes, new optional inputs, new fields and new enumeration values. A breaking change gets a new path version, and the old one keeps working for at least 12 months with Deprecation and Sunset headers.
Common tasks
| Task | Request |
|---|---|
| List your apps | GET /v1/apps |
| Keyword table for an app | GET /v1/apps/:app_id/tracked-keywords |
| Track keywords | POST /v1/apps/:app_id/tracked-keywords |
| Downloads by day | GET /v1/metric-observations?app_id=...&metrics=downloads&period=last_30_days |
| Unanswered low-star reviews | GET /v1/reviews?app_id=...&rating=1,2&reply_state=not_replied |
| Draft a reply | POST /v1/reviews/:review_id/reply-drafts |
Alerts and reports
Alerts for keyword rank drops, review spikes and listing changes by email, Slack or webhook, plus a weekly report on ranks, downloads and reviews.
MCP server
Connect AppSays to Claude, ChatGPT, Cursor or any MCP client, sign in with OAuth, and ask about ranks, downloads and reviews, with store writes behind approval.