Call it
curl https://api.peume.com/v1/call/app-store-read-ios-app-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"product_id": "your product id"
}
}'const res = await fetch("https://api.peume.com/v1/call/app-store-read-ios-app-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"product_id": "your product id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/app-store-read-ios-app-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"product_id": "your product id"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: app-store-read-ios-app-reviews.
Parameters
countrystringThe country to use for the search. It's a two-letter country code. (e.g., `us` (default) for the United States, `uk` for United Kingdom, or `fr` for France). Head to the Apple Regions for a full list of supported Apple Regions.
product_idRequiredstringThe ID of the application or game to search for reviews. You can find the ID from App Store API results, or from the URL of the app. For example, the `product_id` of "https://apps.apple.com/us/app/the-great-coffee-app/id534220544" is the long numerical value that comes after "id", which is 534220544.
pagestringGet the items on a specific page. (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, 3 is the 3rd page of results, etc.).
sortstringSorting reviews for the iOS App Store (iPhone and iPad). It can be set to: `mostrecent`: Most recent (default), `mosthelpful`: Most helpful, `mostfavorable`: Most favorable, `mostcritical`: Most critical This parameter has no effect on the macOS App Store. Reviews from the macOS App Store will always be sorted from most recent to least recent.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
