Stock Prices
Get historical stock price data with OHLCV (open, high, low, close, volume).
GET
/api/v1/companies/{cik_or_ticker}/prices Cost: 100 creditsParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| cik_or_ticker | string | Required | Company CIK or ticker symbol |
| start_date | date | Optional | Start date (YYYY-MM-DD) |
| end_date | date | Optional | End date (YYYY-MM-DD) |
| limit | integer | Optional (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}/pricesResponse
[
{
"date": "2024-01-02",
"open": 187.15,
"high": 188.44,
"low": 183.89,
"close": 185.64,
"volume": 82488700
}
]