Our own visit statistics are always on. Google Analytics, which helps us understand how people use our public pages (not your signed-in workspace), is enabled only with your permission. See our Privacy policy.

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

List the App Store search keywords one app ranks for, from its numeric app_id. Each keyword has its search volume, the app's position in the results, how many apps the search returns, and when the figures were last updated, alongside the app's rating and price. US store only. 20 keywords by default, up to 100.

Price $11.51 per 1,000 requests ($0.01151 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

Please help me write a data collection script with the EveryInfra App Store App keyword rankings endpoint (app_store/keywords_for_app).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to app_store and action to keywords_for_app, and put the parameters inside params.
- Required parameters:
  - app_id: Apple's numeric app ID, such as 324684580, or the app's apps.apple.com link, from which the digits after id are taken. A Bundle ID such as com.example.app is not accepted and is rejected before the call runs.
- Optional parameters:
  - country: Storefront for keywords_for_app. Only the US store is covered: leave it out or pass us; any other country is rejected before the call runs.
  - limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum. (default: 20)
- Returns a list of records. Main fields of each record: keyword (A search keyword the app ranks for (key…), search_volume (Search volume of the keyword in the US…), search_rank (The app's position in that keyword's Ap…), search_result_count (How many apps the store returns for the…), ranked_at (When the rank and search volume for thi…), app_id, title, url, icon_url, developer, rating, rating_scale; 17 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=app_store.
- Example request body:
{
  "platform": "app_store",
  "action": "keywords_for_app",
  "params": {
    "app_id": "389801252"
  }
}
- Price: $11.51 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesapp_storePlatform identifier, fixed value.
actionbodystringYeskeywords_for_appCapability identifier, fixed value.
app_idbody.paramsstringYes-Apple's numeric app ID, such as 324684580, or the app's apps.apple.com link, from which the digits after id are taken. A Bundle ID such as com.example.app is not accepted and is rejected before the call runs.
countrybody.paramsstringNo-Storefront for keywords_for_app. Only the US store is covered: leave it out or pass us; any other country is rejected before the call runs.
limitbody.paramsinteger (1–100)No20The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum.

Code samples

bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "app_store",
  "action": "keywords_for_app",
  "params": {
    "app_id": "389801252"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

Field preview

No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.

json
{
  "id": "req_…",
  "platform": "app_store",
  "action": "keywords_for_app",
  "results": [
    {
      "keyword": …,
      "search_volume": …,
      "search_rank": …,
      "search_result_count": …,
      "ranked_at": …,
      "app_id": …,
      "title": …,
      "url": …,
      "icon_url": …,
      "developer": …,
      "rating": …,
      "rating_scale": …,
      "rating_count": …,
      "is_free": …,
      "price": …,
      "currency": …,
      "total_keywords": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}

Response fields

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
keywordA search keyword the app ranks for (keywords_for_app).
search_volumeSearch volume of the keyword in the US App Store (keywords_for_app), demand for the whole keyword rather than traffic to this app.
search_rankThe app's position in that keyword's App Store search results, from 1 (keywords_for_app).
search_result_countHow many apps the store returns for the keyword (keywords_for_app).
ranked_atWhen the rank and search volume for this keyword were last updated, ISO 8601 (keywords_for_app). The data refreshes weekly to monthly, not in real time.
app_idKeeps the platform's own meaning
titleTitle. null when the platform has no titles (for example text-only posts).
urlLink to the record on the platform.
icon_urlKeeps the platform's own meaning
developerKeeps the platform's own meaning
ratingRating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards.
rating_scaleMaximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating.
rating_countNumber of people who rated. null means not disclosed, not 0.
is_freeWhether the app is free to download (keywords_for_app).
pricePrice as a number without a currency symbol; see currency.
currencyCurrency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency.
total_keywordsHow many keywords the app ranks for in total (keywords_for_app), the same on every row; limit only sets how many of them this call returns.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors