Call it
curl https://api.peume.com/v1/call/app-store-app-keyword-rankings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 20,
"app_id": "your app id"
}
}'const res = await fetch("https://api.peume.com/v1/call/app-store-app-keyword-rankings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 20,
"app_id": "your app id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/app-store-app-keyword-rankings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 20,
"app_id": "your app 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-app-keyword-rankings.
Parameters
countrystringStorefront for `keywords_for_app`. Only the US store is covered: leave it out or pass us; any other country is rejected before the call runs.
limitintegerMaximum number of results, 1 to 100 (default 20). For some actions it counts pages or items per parent rather than final rows.
Example: 20
app_idRequiredstringApple's numeric app ID, such as `324684580`, or the app's apps.apple.com link, from which the digits after id are taken. A Bundle ID such as com.example.app is not accepted and is rejected before the call runs.
