Call it
curl https://api.peume.com/v1/call/current-price-of-a-symbol-one-number-only \
-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/current-price-of-a-symbol-one-number-only", {
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/current-price-of-a-symbol-one-number-only",
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: current-price-of-a-symbol-one-number-only.
Parameters
symbolRequiredstringExample: AAPL
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.Latest 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.Stock, forex or crypto quote by symbol — 52-week rangeCurrent quote with open/high/low/close, volume, change and 52-week range — stocks, forex and crypto symbols alikeLatest US stock-price snapshotGet the latest available price and daily change for an actively traded US stock ticker
