PeumeAPI

Finance & crypto

Get historical price data for a company

Get historical price data for a company

$0.0009 per call

Call it

curl https://api.peume.com/v1/call/get-historical-price-data-for-a-company \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "country": "your country",
    "timeframe": "MAX",
    "ticker": "your ticker"
  }
}'

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: get-historical-price-data-for-a-company.

Parameters

countryRequiredstring

Two-letter country code (ISO 3166-1 alpha-2) for the company, as returned by `GET /equities/v1/companies-list` (case-insensitive).

timeframestring

Optional lookback window (case-insensitive). `1D` returns the most recent trading session and `7D`/`1W` (aliases) the last 7 days, both at 5-minute resolution; `1M` and longer are daily. `YTD` runs from January 1 of the current year. Omit or empty for full history (`MAX`). Intraday coverage is best-effort — a ticker without intraday data falls back to daily bars, and `1D` then returns the single most recent daily bar.

1D · 7D · 1W · 1M · 3M · 6M · YTD · 1Y · 5Y · MAX

Example: MAX

tickerRequiredstring

Stock ticker symbol (case-insensitive)

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.