Call it
curl https://api.peume.com/v1/call/latest-us-stock-price-snapshot \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"ticker": "AAPL"
}
}'const res = await fetch("https://api.peume.com/v1/call/latest-us-stock-price-snapshot", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"ticker": "AAPL"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/latest-us-stock-price-snapshot",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"ticker": "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: latest-us-stock-price-snapshot.
Parameters
tickerRequiredstringactively traded US stock ticker. If availability is uncertain, call.prices.snapshot.tickers first
Example: 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.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.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 alike
