Call it
curl https://api.peume.com/v1/call/google-play-get-play-listing \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"product_id": "your product id",
"store": "your store"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-play-get-play-listing", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"product_id": "your product id",
"store": "your store"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-play-get-play-listing",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"product_id": "your product id",
"store": "your store"
}
},
)
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: google-play-get-play-listing.
Parameters
hlstringThe language to use for the Google Play search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).
next_page_tokenstringThe next page token. It is used for retrieving the next page results. It should be used only when `all_reviews` parameter is set to `true`.
glstringThe country to use for the Google Play search. It's a two-letter country code. (e.g., `us` (default) for the United States, `uk` for United Kingdom, or `fr` for France). You can find the full list of Google Play country availability here: Google Play Countries. Afterwards, head to the Google countries page page for a two-letter country code.
product_idRequiredstringThe ID of a product you want to get the results for.
numstringThe maximum number of reviews to return. (e.g., `40` (default) returns 40 reviews, `80` returns 80 reviews, and `100` returns 100 reviews). Maximum number of reviews you can return per search is `199`. It should be used only when `all_reviews` parameter is set to `true`.
ratingstringFiltering reviews by rating. It can be set to: `1`: 1-star, `2`: 2-star, `3`: 3-star, `4`: 4-star, `5`: 5-star. It should be used only when `all_reviews` parameter is set to `true`.
season_idstringThe ID of a season you want to get the results for. It should be used only when `store` parameter is set to `tv`. e.g. `store=tv`.
storeRequiredstringThe type of Google Play store. There are five types in total: `apps` (default), `movies`, `tv`, `books` and `audiobooks` store.
sort_bystringSorting reviews by relevance. It can be set to: `1`: Most relevant (default), `2`: Newest, `3`: Rating. It should be used only when `all_reviews` parameter is set to `true`.
all_reviewsstringRetrieving all reviews of a product. It can be set to `true` or `false` (default).
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
platformstringFiltering reviews by platform. It can be set to: `phone`: Phone (default), `tablet`: Tablet, `watch`: Watch, `chromebook`: Chromebook, `tv`: TV. It should be used only when `all_reviews` parameter is set to `true`.
