Call it
curl https://api.peume.com/v1/call/end-of-day-price-history-for-a-ticker \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"symbol": "your symbol",
"from": "your from"
}
}'const res = await fetch("https://api.peume.com/v1/call/end-of-day-price-history-for-a-ticker", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"symbol": "your symbol",
"from": "your from"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/end-of-day-price-history-for-a-ticker",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"symbol": "your symbol",
"from": "your from"
}
},
)
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: end-of-day-price-history-for-a-ticker.
Parameters
symbolstringidentity
fromstringfilter; YYYY-MM-DD start date, where the provider takes one
limitintegerfilter; default 5; bars to return, where the provider takes a count
Other ways to do it
Same job, other sources, cheapest first.
End-of-day stock prices by ticker — adjusted, 30+ yearsDaily OHLCV with split/dividend-adjusted values, back 30+ yearsStock OHLCV time series by symbol — 1min to 1monthOHLCV series at any interval from 1min to 1month — the workhorse for charts and analysisUS stock historical pricesGet split-adjusted historical price bars for a US stock ticker over a date rangeEnd-of-day stock prices by ticker — OHLCV, date rangeDaily open/high/low/close/volume for one or more tickers, with date range and adjusted values — 70+ exchanges worldwide
