Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

App Store Search

API 文件
https://api.sandbase.ai/v1/api/app-store/search

Search iPhone, iPad, and Mac apps or developers on the Apple App Store by storefront.

價格
$0.00015美元/次呼叫
方法
POST
回應
非同步 JSON
參數
1 個必填 · 7 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Search term, 1-2,048 UTF-8 bytes (at most 4,096 bytes URL-encoded).
1200
Maximum results after filtering, 1-200. Default 10. 範圍:1 到 200。
Language-region code, such as 'en-us' or 'fr-fr'. Default 'en-us'.
'mobile' for iPhone apps, 'tablet' for iPad apps, 'desktop' for Mac apps. Default 'mobile'.
Two-letter Apple storefront country, such as 'us' or 'gb' ('uk' is accepted). Default 'us'.
'developer' matches developer names instead of app names, ignoring case.
Filter results by a native genre identifier. 範圍:1 到 2147483647。
Exclude explicit results.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

App Store Search

Returns a ranked list of Apple App Store apps that match a search term. Each result includes the title, developer, genres, rating, version and store links. The only required input is term.

Use cases

  • Track which apps rank for a keyword in a given country storefront.
  • Find every app from one publisher by searching with property set to developer.
  • Compare ratings, rating counts and release dates of competing apps in one category.
  • Build a list of iPad or Mac apps in a genre by combining device and category_id.

Request

curl -X POST "https://api.sandbase.ai/v1/api/app-store/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"term": "software"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
termstringYesSearch term, 1-2,048 UTF-8 bytes (at most 4,096 bytes URL-encoded).
category_idintegerNoFilter results by a native genre identifier.
countrystringNoTwo-letter Apple storefront country, such as 'us' or 'gb' ('uk' is accepted). Default 'us'.
devicestringNo'mobile' for iPhone apps, 'tablet' for iPad apps, 'desktop' for Mac apps. Default 'mobile'.
disallow_explicitbooleanNoExclude explicit results.
langstringNoLanguage-region code, such as 'en-us' or 'fr-fr'. Default 'en-us'.
numintegerNoMaximum results after filtering, 1-200. Default 10.
propertystringNo'developer' matches developer names instead of app names, ignoring case.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "organic_results": [
    {
      "age_rating": "4+",
      "bundle_id": "com.microsoft.Office.Word",
      "developer": {
        "id": 298856275,
        "link": "https://apps.apple.com/us/developer/microsoft-corporation/id298856275?uo=4",
        "name": "Microsoft Corporation"
      },
      "features": [
        "iosUniversal"
      ],
      "game_center_enabled": false,
      "genres": [
        {
          "id": 6007,
          "name": "Productivity",
          "primary": true
        }
      ],
      "id": 586447913,
      "latest_version_release_date": "2026-11-02 05:07:19 UTC",
      "link": "https://apps.apple.com/us/app/microsoft-word/id586447913?uo=4",
      "logos": [
        {
          "link": "https://is1-ssl.mzstatic.com/image/thumb/Purple221/v4/c9/0d/34/c90d341a-8dfb-212…",
          "size": "60x60"
        }
      ],
      "minimum_os_version": "26.0",
      "position": 1
    }
  ],
  "search_information": {
    "results_count": 9
  },
  "search_metadata": {
    "created_at": "2026-11-03T07:27:08.338171+00:00",
    "id": "994e99f484266a1b4770aa3a",
    "processed_at": "2026-11-03T07:27:08.853517+00:00",
    "status": "Success",
    "total_time_taken": 0.515
  },
  "search_parameters": {
    "country": "us",
    "device": "mobile",
    "disallow_explicit": false,
    "lang": "en-us",
    "num": 10,
    "term": "software"
  }
}

Response fields

FieldMeaning
organic_results[].positionRank of the app in the results, starting at 1.
organic_results[].title / organic_results[].bundle_idApp name shown in the store and its bundle identifier, such as com.microsoft.Office.Word.
organic_results[].idNumeric App Store ID of the app. It is also the number after id in link.
organic_results[].developer.name / organic_results[].developer.idName and numeric ID of the developer. developer.link points to the developer page.
organic_results[].genres[].nameGenres of the app. The entry with primary set to true is the main genre. id is the genre identifier that category_id accepts.
organic_results[].rating[].rating / organic_results[].rating[].countAverage star rating and number of ratings. Each entry has a type, either All Times or Current Version.
organic_results[].version / organic_results[].latest_version_release_date / organic_results[].release_dateCurrent version number, the date of the latest version, and the first release date. Dates look like 2026-11-02 05:07:19 UTC.
organic_results[].age_rating / organic_results[].advisoriesAge rating such as 4+ or 17+, and content advisories when the app has any.
organic_results[].size_in_bytes / organic_results[].minimum_os_versionApp download size in bytes and the lowest OS version the app supports.
search_information.results_countNumber of results returned for this search.

Notes

  • num sets the maximum number of results, from 1 to 200. The default is 10.
  • The country and lang parameters pick the storefront and the language of the text. The response echoes the values used in search_parameters.
  • Some results omit fields such as description, release_note and seller_link, so check that a key exists before you read it.
  • To get more detail on one app, pass its id to App Store Product. For user reviews, use App Store Reviews.

Pricing

$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
App Store每次呼叫 $0.00015非同步 JSON
App Store每次呼叫 $0.00015非同步 JSON
App Store每次呼叫 $0.00015非同步 JSON

問題

常見問題

我要如何使用 App Store Search API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/app-store/search。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

App Store Search API 的費用是多少?

每次 $0.00015。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

App Store Search API 接受哪些參數?

必要:term (string)。 選填:num (integer), lang (string), device(mobile, tablet, desktop 之一), country (string), property(developer 之一) 和 category_id (integer),以及另外 1 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

App Store Search API 會回傳什麼?

JSON 結果。此端點為非同步執行,因此回應會告訴您如何取得完成的結果。 本頁的 README 包含範例回應。

我需要 App Store 開發者帳號或 API 金鑰嗎?

不需要。App Store Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 App Store API 存取權。