Call it
curl https://api.peume.com/v1/call/crypto-market-token-price-history \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"limit": 30,
"token": "your token"
}
}'const res = await fetch("https://api.peume.com/v1/call/crypto-market-token-price-history", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"limit": 30,
"token": "your token"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/crypto-market-token-price-history",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"limit": 30,
"token": "your token"
}
},
)
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: crypto-market-token-price-history.
Parameters
periodstringSpacing of `token_chart` points: 5m, 15m, 1h, 4h, 12h, 1d (default) or 1w. One of: 12h, 15m, 1d, 1h, 1w, 4h, 5m.
12h · 15m · 1d · 1h · 1w · 4h · 5m
limitintegerMaximum number of results, 1 to 500 (default 30). For some actions it counts pages or items per parent rather than final rows.
Example: 30
tokenRequiredstringTokens as `chain:contract-address` (such as `ethereum:0xdac17f958d2ee523a2206206994597c13d831ec7`) or `:id` (such as `:bitcoin`). Other formats are rejected before any charge.
