List stock prices
curl --request GET \
--url https://api.darvas.app/v1/prices \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prices"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/prices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "AAPL",
"interval": "day",
"order": "desc",
"prices": [
{
"open": 350.1,
"close": 354.07,
"high": 356,
"low": 349.2,
"volume": 48000000,
"adjusted_close": 353.8,
"time": "2026-11-24"
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Stocks & Short Interest
Historical Stock Prices API: Split-Adjusted
Fetch split-adjusted daily, weekly, monthly and yearly OHLCV US stock price history with dividend-adjusted close and cursor pagination by ticker.
List stock prices
curl --request GET \
--url https://api.darvas.app/v1/prices \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prices"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/prices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"ticker": "AAPL",
"interval": "day",
"order": "desc",
"prices": [
{
"open": 350.1,
"close": 354.07,
"high": 356,
"low": 349.2,
"volume": 48000000,
"adjusted_close": 353.8,
"time": "2026-11-24"
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
Darvas covers every Nasdaq, NYSE, Cboe and OTC stock, each from its first session, and adds the latest bars after each session. A bar is a session’s open, high, low, close and volume;week, month and year bars join the sessions of their period, and their time is the first session.
Bars are adjusted for splits, so a price before a split compares with one after it. adjusted_close is also adjusted for dividends, the figure to use for returns. Today’s bar appears after the session closes; the latest price during the session is at /prices/snapshot.
| Coverage | Details |
|---|---|
| Stocks | About 10,000 Nasdaq, NYSE, Cboe and OTC US stocks from each stock’s first session |
| Intervals | day, week, month or year, split-adjusted with dividend-adjusted adjusted_close |
| Order | Newest bar first without start_date, oldest first with it; order=asc or desc sets either |
| Pagination | 100 bars per page, up to 1,000 with limit; follow next_page_url with cursor |
| MCP tool | list_prices on the data API MCP server |
Example
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
url = "https://api.darvas.app/v1/prices"
params = {"ticker": "AAPL", "interval": "day", "start_date": "2026-01-02", "end_date": "2026-11-25"}
while url:
page = requests.get(url, headers=headers, params=params).json()
for bar in page["prices"]:
print(bar["time"], bar["close"], bar["adjusted_close"])
url, params = page.get("next_page_url"), None
Authorizations
apiKeybearerKey
Query Parameters
Response
List stock prices: one page.
The answer of GET /prices.