product_idstringจำเป็น
Positive decimal Apple app identifier, such as '570060128'.
https://api.sandbase.ai/v1/api/app-store/productRead an iOS or Mac app's details, version history, ratings, privacy, and related apps.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
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.
version_history for version numbers, dates, and release notes.ratings_and_reviews.rating_distribution.privacy.cards categories.you_may_also_like and more_by_this_developer lists.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.
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Positive decimal Apple app identifier, such as '570060128'. |
country | string | No | Two-letter Apple storefront country, such as 'us' or 'gb' ('uk' is accepted). Default 'us'. |
type | string | No | App product type; only 'app' is supported. |
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"
}
| Field | Meaning |
|---|---|
title / snippet | The app name and its short subtitle as shown on the store page. |
rating / rating_count | The average star rating as a number, and the rating total as display text such as 5.6M Ratings. |
ratings_and_reviews.rating_distribution | An 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 / username | A few sample reviews with the star value and an ISO 8601 timestamp. |
version_history[].release_version / release_date / release_notes | One entry per release, with the version number, the release date as YYYY-MM-DD, and the notes text. |
developer.name / developer.link | The developer name and the link to its App Store developer page. |
privacy.cards[].title / categories | Each card is a privacy group, such as data used to track you. categories lists the data types in that group. |
privacy.privacy_policy_link | The link to the developer's privacy policy. |
you_may_also_like.apps[].id / name / link | Related apps shown on the page, with their app ID, name, and store link. |
more_by_this_developer.apps[].id / name / link | Other apps from the same developer, with their app ID, name, and store link. |
product_id from the number after id in an App Store URL, such as 570060128 in .../id570060128.review_examples.you_may_also_like.apps[].id and more_by_this_developer.apps[].id can be used as product_id in a new call.$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/app-store/product" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "app",
"country": "us",
"product_id": "570060128"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
product_idstringจำเป็นPositive decimal Apple app identifier, such as '570060128'.
typestringApp product type; only 'app' is supported.
ค่าที่เป็นไปได้: app
countrystringTwo-letter Apple storefront country, such as 'us' or 'gb' ('uk' is accepted). Default 'us'.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
App Store ProductAPI นี้ App Store | $0.00015 ต่อการเรียก | Async JSON |
App Store | $0.00015 ต่อการเรียก | Async JSON |
App Store | $0.00015 ต่อการเรียก | Async JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/app-store/product โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.00015 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: product_id (string). ตัวเลือก: type (หนึ่งใน app) และ country (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น App Store Product ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง App Store API แยกต่างหาก