Call it
curl https://api.peume.com/v1/call/get-google-play-product-details \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"hl": "en",
"gl": "us",
"product_id": "com.duolingo",
"store": "apps"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-google-play-product-details", {
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"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-google-play-product-details",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"hl": "en",
"gl": "us",
"product_id": "com.duolingo",
"store": "apps"
}
},
)
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: get-google-play-product-details.
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
season_idstringNative season identifier, such as tvseason-OVPad1njPzI.P. Requires store=tv.
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.
