API Key
Get a key

Stock Prices

Get historical stock price data with OHLCV (open, high, low, close, volume).

GET /api/v1/companies/{cik_or_ticker}/prices Cost: 100 credits

Parameters

ParameterTypeRequiredDescription
cik_or_tickerstringRequiredCompany CIK or ticker symbol
start_datedateOptionalStart date (YYYY-MM-DD)
end_datedateOptionalEnd date (YYYY-MM-DD)
limitintegerOptional (252)Max results (max 5000)

Code examples

curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.beefi.ai/api/v1/companies/AAPL/prices?start_date=2024-01-01&limit=30"

Try it

GET /companies/{cik_or_ticker}/prices

Response

[
  {
    "date": "2024-01-02",
    "open": 187.15,
    "high": 188.44,
    "low": 183.89,
    "close": 185.64,
    "volume": 82488700
  }
]