Call it
curl https://api.peume.com/v1/call/apple-maps-place-details \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"place_ids": []
}
}'const res = await fetch("https://api.peume.com/v1/call/apple-maps-place-details", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"place_ids": []
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/apple-maps-place-details",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"place_ids": []
}
},
)
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: apple-maps-place-details.
Parameters
place_idsRequiredarrayA list of 1 to 50 numeric Apple Maps place IDs, such as `["12971322601039101590"]`, taken from the `apple_maps_id` of DuckDuckGo Maps rows or the `auid` in an Apple Maps link. A call costs the same for one ID or fifty; IDs that are not digits are rejected before any charge.
languagestringThe language of the returned place details, such as `en-US`, `zh-CN` or `ja-JP`; a two-letter code such as `en` also works. Default `en-US`.
