Call it
curl https://api.peume.com/v1/call/search-the-apple-app-store \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"country": "us",
"term": "coffee",
"lang": "en-us",
"num": 10,
"disallow_explicit": false,
"device": "mobile"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-the-apple-app-store", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"country": "us",
"term": "coffee",
"lang": "en-us",
"num": 10,
"disallow_explicit": false,
"device": "mobile"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-the-apple-app-store",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"country": "us",
"term": "coffee",
"lang": "en-us",
"num": 10,
"disallow_explicit": False,
"device": "mobile"
}
},
)
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: search-the-apple-app-store.
Parameters
countrystringTwo-letter Apple storefront country. UK is accepted as an alias for GB.
Example: us
termRequiredstringSearch term with 1 to 2,048 UTF-8 bytes of printable text, and at most 4,096 bytes after URL encoding.
Example: coffee
langstringLanguage-region code, such as en-us or fr-fr.
Example: en-us
numintegerMaximum results after filtering, from 1 through 200.
Example: 10
disallow_explicitbooleanExclude explicit results when true.
Example: false
propertystringUse developer to match developer names, ignoring case.
category_idintegerFilter results by a native genre identifier, from 1 through 2,147,483,647.
devicestringmobile for iPhone apps, tablet for iPad apps, or desktop for Mac apps.
mobile · tablet · desktop
Example: mobile
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.
Other ways to do it
Same job, other sources, cheapest first.
