Sonar Screenshots API
Screenshot Studio — agents author app-store screenshot sets as layout JSON, humans fine-tune the same sets in the dashboard (feature-flag gated; mutations under the Write tag)
Screenshot Studio — agents author app-store screenshot sets as layout JSON, humans fine-tune the same sets in the dashboard (feature-flag gated; mutations under the Write tag)
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/trysonar-app:trysonar-app-screenshots-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Sonar Screenshots API
description: 'App Store Optimization data for AI agents, MCP tools, and automation. Keyword research, rank tracking, ASO scoring, reviews, and revenue estimates for the iOS App Store and Google Play.
Versioning & deprecation policy: the API is URL-versioned (`/api/v1`). Breaking changes only ever ship under a new version path — existing `/api/v1` shapes are additive-only. If an endpoint is ever deprecated it keeps working for at least 6 months, signals the timeline with `Deprecation` and `Sunset` response headers, and is announced at https://trysonar.app/changelog.'
version: 1.0.0
termsOfService: https://trysonar.app/terms
contact:
url: https://trysonar.app/support
license:
name: Proprietary
url: https://trysonar.app/terms
servers:
- url: https://api.trysonar.app
description: Production
- url: https://trysonar.app
description: Production (legacy, proxied)
security:
- bearerAuth: []
tags:
- name: Screenshots
description: Screenshot Studio — agents author app-store screenshot sets as layout JSON, humans fine-tune the same sets in the dashboard (feature-flag gated; mutations under the Write tag)
paths:
/api/v1/screenshots/devices:
get:
tags:
- Screenshots
summary: Supported device sizes + canvas dimensions
description: The pixel coordinate space of every layout. Pick a device before creating a set. Requires an Indie or Agency plan.
responses:
'200':
description: '[{ id, label, store, category, canvas_width, canvas_height, default_frame_width }]'
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: object
description: Result payload — full field reference at https://trysonar.app/docs/api
additionalProperties: true
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
operationId: getScreenshotsDevices
/api/v1/screenshots/sets:
get:
tags:
- Screenshots
summary: List a product's screenshot sets (metadata)
parameters:
- name: product_id
in: query
required: true
description: Product the sets belong to
schema:
type: string
responses:
'200':
description: '[{ id, name, store, device_size, source_locale, locales, created_at, updated_at, studio_url }]'
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: object
description: Result payload — full field reference at https://trysonar.app/docs/api
additionalProperties: true
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
operationId: getScreenshotsSets
/api/v1/screenshots/sets/{id}:
get:
tags:
- Screenshots
summary: Full screenshot set (layouts + per-locale translations)
description: Every screen's layout plus per-screen translations keyed by locale. Responses contain inline image data URLs and can be large.
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: The full set
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: object
description: Result payload — full field reference at https://trysonar.app/docs/api
additionalProperties: true
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
operationId: getScreenshotsSetsById
/api/v1/screenshots/sets/{id}/export:
get:
tags:
- Screenshots
summary: Server-rendered store-ready PNG export
description: Renders through the same engine as the Screenshot Studio editor — no browser needed. Default response is application/zip with 01.png…NN.png at native device resolution in store upload order. Call once per locale. Read scope.
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: locale
in: query
description: 'Render that locale''s overrides (default: source locale)'
schema:
type: string
- name: screen
in: query
description: A screen id — returns that single slice as image/png
schema:
type: string
- name: meta
in: query
description: meta=1 returns lightweight JSON (source_locale, locales, screen ids) instead of rendering
schema:
type: string
responses:
'200':
description: application/zip (default), image/png (screen=), or JSON (meta=1)
content:
application/json:
schema:
type: object
required:
- data
properties:
data:
type: object
description: Result payload — full field reference at https://trysonar.app/docs/api
additionalProperties: true
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
operationId: getScreenshotsSetsByIdExport
components:
responses:
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Missing or invalid request parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: Plan or scope insufficient (workspace endpoints need an Indie or Agency plan; writes also need a write-scope key)
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Resource not found or not tracked by your organization
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InternalError:
description: Unexpected server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: 'Rate limited — see `error.reason`: daily_limit (Indie 1,000, Agency 5,000, trial 150 requests/day, resets 00:00 UTC; see `reset_at`), anonymous_daily_limit / batch_too_large (keyless free tier), store_rate_limited or concurrency_limit (transient, honor `retry_after_seconds`)'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
description: Every error carries `code` + `message`. The remaining fields are optional and additive — branch on `reason` when present, else on `code`.
properties:
code:
type: string
message:
type: string
reason:
type: string
description: 'Stable sub-code. daily_limit (402/429: included daily quota used up, resets 00:00 UTC), no_credits (402: credit balance below the call''s cost), anonymous_daily_limit (429: keyless per-IP allowance used up), batch_too_large (429: keyless call asks for more keywords than the daily allowance — the only case where a smaller batch helps), store_rate_limited (429: store throttling or scraper queue saturated, transient), concurrency_limit (429: per-caller in-flight cap, ~8 concurrent scrapes), store_unavailable (503: store failed or timed out), refresh_in_progress (503: a chart is still being fetched), plan_required (403, see required_plan), scope_required (403, see required_scope), payment_past_due (403: writes paused after the 3-day past-due grace), no_workspace (403: OAuth user owns no Sonar workspace yet; non-free endpoints only), unsupported_market (400: country not served by this endpoint for that store), daily_scan_limit (429 on competitor scans: the org''s daily allowance of different competitors scanned is used up — 50 on trial and Indie, 250 on Agency; re-scans of a competitor already scanned today stay free; resets 00:00 UTC), daily_ad_lookup_limit (429 on Ad Spy lookups: the org''s daily paid Ad Spy lookups are used up — 10 on trial, 25 Indie, 100 Agency per UTC day; cached reads keep working), ad_lookup_budget_spent (429 on Ad Spy lookups: Sonar''s shared daily ad-vendor budget is spent).'
enum:
- daily_limit
- no_credits
- anonymous_daily_limit
- batch_too_large
- store_rate_limited
- concurrency_limit
- store_unavailable
- refresh_in_progress
- plan_required
- scope_required
- payment_past_due
- no_workspace
- unsupported_market
- daily_scan_limit
- daily_ad_lookup_limit
- ad_lookup_budget_spent
retry_after_seconds:
type: integer
description: 'On retryable 429/503 errors: seconds to wait before retrying (mirrors the Retry-After header, which some proxies drop).'
reset_at:
type: string
format: date-time
description: When an exhausted daily allowance resets (always the next 00:00 UTC)
limit:
type: integer
description: The exhausted daily allowance, in limit_unit per day
limit_unit:
type: string
enum:
- requests
- keywords
- competitors
- lookups
required_plan:
type: string
enum:
- indie
- agency
description: Plan that unlocks the endpoint
required_scope:
type: string
description: API-key scope the call needs (e.g. write)
credits_balance:
type: number
description: Current API credit balance
credits_cost:
type: number
description: Credits this call costs
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: aso_xxx
description: 'API key with the `aso_` prefix. Get one at /developers (50 free credits on signup). OAuth access tokens from the hosted MCP flow (RFC 9728 discovery at /.well-known/oauth-protected-resource/mcp; Clerk authorization server) are also accepted as the bearer. A few stateless endpoints also work with NO auth at all (anonymous free tier, per-IP daily limits): /apps/lookup, /apps/search, /apps/aso-score, /apps/extract-keywords, /keywords/suggestions, /charts/top (shared 30 req/day) and /keywords/metrics (5 keywords/day).'
externalDocs:
description: API reference
url: https://trysonar.app/docs/api