Call it
curl https://api.peume.com/v1/call/stock-forex-or-crypto-quote-by-symbol-52-week \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"symbol": "AAPL"
}
}'const res = await fetch("https://api.peume.com/v1/call/stock-forex-or-crypto-quote-by-symbol-52-week", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"symbol": "AAPL"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/stock-forex-or-crypto-quote-by-symbol-52-week",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"symbol": "AAPL"
}
},
)
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: stock-forex-or-crypto-quote-by-symbol-52-week.
Parameters
symbolRequiredstringExample: AAPL
intervalstringquote interval, default 1day
Other ways to do it
Same job, other sources, cheapest first.
Current quote for a tickerBest sourceCurrent quote for a ticker (live or delayed per plan). Checks the cheapest source first and moves to the next one until it finds an answer.Current price of a symbol — one number onlyOne number: the current price of a symbol — the cheapest possible checkLatest stock quote by ticker from the IEX feedThe latest top-of-book quote from the IEX feed for a tickerReal-time stock quote by ticker — price, day changeCurrent price, day change, open/high/low and previous close for a US tickerStock quotes fromGet the latest quote for up to 10 tickers: price, change against the previous close, day and 52-week range and volume.Latest US stock-price snapshotGet the latest available price and daily change for an actively traded US stock ticker
