Call it
curl https://api.peume.com/v1/call/crypto-news-feed \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"sort_by": "recency",
"limit": 20,
"offset": 0
}
}'const res = await fetch("https://api.peume.com/v1/call/crypto-news-feed", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"sort_by": "recency",
"limit": 20,
"offset": 0
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/crypto-news-feed",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"sort_by": "recency",
"limit": 20,
"offset": 0
}
},
)
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-news-feed.
Parameters
sourcestringFilter by news source. Example: coindesk.
coindesk · cointelegraph · theblock · decrypt · dlnews · blockbeats · bitcoincom · coinpedia · ambcrypto · cryptodaily · cryptopotato · phemex …
projectstringComma-separated project names to filter by. Example: bitcoin,ethereum.
fromstringFilter articles published on or after this time. Accepts Unix seconds or date string (2024-01-01). Example: 2024-01-01.
tostringFilter articles published on or before this time. Accepts Unix seconds or date string (2024-02-01). Example: 2024-02-01.
sort_bystringSort order: recency (newest first) or trending (deterministic newest-first alias until engagement ranking is available). Example: recency. Defaults to "recency".
recency · trending
Example: recency
limitintegerResults per page (max 50). Example: 20. Defaults to 20.
Example: 20
offsetintegerPagination offset. Example: 0. Defaults to 0.
Example: 0
