PeekPanda markpeekpandaDocumentationFor AI ↗Open app

PeekPanda docs

Refresh an ASO app

Queue stale queries for one tracked app.

Download Markdown ↓
POST/v1/aso/apps/{appId}/refresh
Auth Bearer API credential or OAuth access tokenScope content:writeMCP refresh_aso_app

Request

GET never calls Apple; this POST queues stale or never-collected queries only (max 200 per job). Cooldown is 60 minutes; 40 user refreshes per UTC day.

curl --request POST 'https://api.peekpanda.com/v1/aso/apps/11111111-1111-4111-8111-111111111111/refresh' \
  --header "Authorization: Bearer $PEEKPANDA_TOKEN" \
  --header 'x-genviral-tenancy: personal'

Response

asoRefreshReceiptSchema. `queries` are the searches the job will fetch; empty when everything was already fresh.

{
  "jobId": "33333333-3333-4333-8333-333333333333",
  "queries": [
    "calorie tracker"
  ],
  "refresh": {
    "state": "fresh",
    "lastRefreshedAt": "2026-09-06T00:00:00.000Z",
    "nextAllowedAt": "2026-09-06T01:00:00.000Z",
    "staleQueryCount": 0,
    "activeJobId": null,
    "budget": {
      "usedToday": 12,
      "dailyLimit": 2500,
      "userRefreshesToday": 1,
      "userDailyLimit": 40
    }
  }
}

Parameters

NameInTypeRequiredDescription
appIdpathuuidYesTracked ASO app id.

Known errors

400invalid_request for an invalid filter, identity or limit.
401authentication_required for a missing or invalid credential.
402subscription_required when access is not entitled.
403authorization_required for a missing scope or unavailable preview access.
404not_found when the record is outside the accessible catalogue.
429rate_limited; honor Retry-After when present.
409conflict when the write would duplicate an exclusive row.

Source

Apple public Search + Search hints. Difficulty from page-one rating counts Apple returns (page_one_median_rating_count: median page-one ratingCount, log10 scale, 1M ratings = 100). Demand is autocomplete order from apple_search_hints (rank + variant count), not volume and not Apple Ads popularity. Apple Ads Insights is not wired. Positions are observed_search_api_position from itunes.apple.com/search us/en_us.

Refresh

Snapshots younger than 24 hours are served from storage; search hints are reused for 7 days. Trigger/worker drains aso_refresh_job under the shared 4s pacer (2,500 Apple calls per UTC day). App refresh cooldown is 60 minutes. Users may start 40 refreshes per UTC day. Caps: 25 tracked apps, 100 keywords per app, 200 queries per job.