Call it
curl https://api.peume.com/v1/call/get-apple-place \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"muid": "your muid"
}
}'const res = await fetch("https://api.peume.com/v1/call/get-apple-place", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"muid": "your muid"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/get-apple-place",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"muid": "your muid"
}
},
)
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-apple-place.
Parameters
muidRequiredstringThe MUID of the place you want to search. You can use the MUID from the Apple Maps Places API response. (e.g. `18366846785603624515` for London). You can also pass multiple MUIDs separated by commas (e.g., `18366846785603624515,11018610862491969006` to get London and Austin). Upto 50 MUIDs can be fetched in a single request.
localestringThe locale the results should be localized for. Locales for Apple Maps are represented as `<LANGUAGE>-<REGION>`. (defaults to `en-US`, the locale for U.S. English). Head to Apple Maps Locales for the list of available locales.
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
