Call it
curl https://api.peume.com/v1/call/read-google-play-reviews \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"hl": "en",
"gl": "us",
"product_id": "com.duolingo",
"store": "apps",
"platform": "phone",
"sort_by": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/read-google-play-reviews", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"hl": "en",
"gl": "us",
"product_id": "com.duolingo",
"store": "apps",
"platform": "phone",
"sort_by": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/read-google-play-reviews",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"hl": "en",
"gl": "us",
"product_id": "com.duolingo",
"store": "apps",
"platform": "phone",
"sort_by": 1
}
},
)
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: read-google-play-reviews.
Parameters
hlstringStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
Example: en
glstringTwo-letter country code.
Example: us
product_idRequiredstringNative Google Play product identifier, with 1 to 512 letters, digits, underscores, dots, or hyphens.
Example: com.duolingo
storestringProduct catalog containing this identifier.
apps · books · audiobooks · movies · tv
Example: apps
platformstringPlatform associated with the reviews.
phone · tablet · watch · chromebook · tv
Example: phone
ratingintegerOnly reviews with this rating, from 1 through 5.
sort_byinteger1 for relevant, 2 for newest, or 3 for rating.
Example: 1
numintegerNumber of reviews, from 1 through 199.
Example: 40
next_page_tokenstringReturned review continuation. Preserve product, store, language, country, platform, rating, sort order, and count.
timeoutnumberOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
