Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

App Store Product

Документация API
https://api.sandbase.ai/v1/api/app-store/product

Read an iOS or Mac app's details, version history, ratings, privacy, and related apps.

Цена
$0.00015USD / вызов
Метод
POST
Ответ
Асинхронный JSON
Параметры
1 обязательных · 2 необязательных

Песочница

Ввод
Positive decimal Apple app identifier, such as '570060128'.
App product type; only 'app' is supported.
Two-letter Apple storefront country, such as 'us' or 'gb' ('uk' is accepted). Default 'us'.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

App Store Product

Returns the App Store page data for one app: title, developer, rating, version history, privacy labels, screenshots, review samples, and related apps. It needs an Apple app ID as product_id and takes an optional storefront country.

Use cases

  • Track an app's release cadence by reading version_history for version numbers, dates, and release notes.
  • Compare a competitor's star distribution with your own app using ratings_and_reviews.rating_distribution.
  • Audit which data types an app says it collects by reading the privacy.cards categories.
  • Find competing apps through the you_may_also_like and more_by_this_developer lists.

Request

curl -X POST "https://api.sandbase.ai/v1/api/app-store/product" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "570060128", "country": "us", "type": "app"}'

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

Parameters

NameTypeRequiredDescription
product_idstringYesPositive decimal Apple app identifier, such as '570060128'.
countrystringNoTwo-letter Apple storefront country, such as 'us' or 'gb' ('uk' is accepted). Default 'us'.
typestringNoApp product type; only 'app' is supported.

Example response

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

{
  "age_rating": "4+",
  "description": "Learn a new language, chess & more with the world's most downloaded education ap…",
  "developer": {
    "link": "https://apps.apple.com/us/developer/duolingo/id570060151",
    "name": "Duolingo"
  },
  "featured_in": [
    {
      "description": "Master a new skill and make Duo proud.",
      "description_title": "5 Tips for Duolingo Domination",
      "image": "https://is1-ssl.mzstatic.com/image/thumb/Features221/v4/75/d4/f7/75d4f7e6-5481-b…",
      "link": "https://apps.apple.com/us/iphone/story/id1748181882",
      "title": "TRY NOW"
    }
  ],
  "id": "570060128",
  "in_app_purchases": "In‑App Purchases",
  "information": {
    "age_rating": {
      "rating": "4+"
    },
    "compatibility": [
      {}
    ],
    "in_app_purchases": []
  },
  "ipad_screenshots": [
    "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource221/v4/76/6d/5b/766d5b1d-c0…"
  ],
  "iphone_screenshots": [
    "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/6e/ef/30/6eef3023-de…"
  ],
  "logo": "https://is1-ssl.mzstatic.com/image/thumb/PurpleSource211/v4/29/f8/76/29f8764d-ab…",
  "more_by_this_developer": {
    "apps": [
      {
        "category": "Interactive Stories for Kids",
        "id": 1440502568,
        "link": "https://apps.apple.com/us/app/learn-to-read-duolingo-abc/id1440502568",
        "logo": "https://is1-ssl.mzstatic.com/image/thumb/Purple126/v4/98/01/13/980113b8-da7c-7c2…",
        "name": "Learn to Read - Duolingo ABC"
      }
    ],
    "see_all_link": "https://apps.apple.com/us/developer/duolingo/id570060151"
  },
  "price": "Get"
}

Response fields

FieldMeaning
title / snippetThe app name and its short subtitle as shown on the store page.
rating / rating_countThe average star rating as a number, and the rating total as display text such as 5.6M Ratings.
ratings_and_reviews.rating_distributionAn object with the number of ratings at each star level. The keys run from 1_star to 5_star.
ratings_and_reviews.review_examples[].review_title / review_text / rating / review_date / usernameA few sample reviews with the star value and an ISO 8601 timestamp.
version_history[].release_version / release_date / release_notesOne entry per release, with the version number, the release date as YYYY-MM-DD, and the notes text.
developer.name / developer.linkThe developer name and the link to its App Store developer page.
privacy.cards[].title / categoriesEach card is a privacy group, such as data used to track you. categories lists the data types in that group.
privacy.privacy_policy_linkThe link to the developer's privacy policy.
you_may_also_like.apps[].id / name / linkRelated apps shown on the page, with their app ID, name, and store link.
more_by_this_developer.apps[].id / name / linkOther apps from the same developer, with their app ID, name, and store link.

Notes

  • Get product_id from the number after id in an App Store URL, such as 570060128 in .../id570060128.
  • Use App Store Search to find an app ID from a keyword.
  • Use App Store Reviews to read more reviews than the few in review_examples.
  • IDs in you_may_also_like.apps[].id and more_by_this_developer.apps[].id can be used as product_id in a new call.

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 ProductЭтот API
App Store
$0.00015 за запросАсинхронный JSON
App Store$0.00015 за запросАсинхронный JSON
App Store$0.00015 за запросАсинхронный JSON

Вопросы

FAQ

Как использовать API App Store Product?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/app-store/product, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API App Store Product?

$0.00015 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API App Store Product?

Обязательные: product_id (string). Необязательные: type (один из app) и country (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API App Store Product?

JSON-результат. Этот endpoint работает асинхронно, поэтому ответ подсказывает, как получить готовый результат. В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика App Store или API key?

Нет. App Store Product работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API App Store.