List stocks with prices
curl --request GET \
--url https://api.darvas.app/v1/prices/tickers \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prices/tickers"
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/tickers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tickers": [
"AAPL",
"MSFT"
]
}{
"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 Coverage Tickers API
List every US stock ticker with historical OHLCV price bars, dividends and splits available on the Darvas Stock Prices API in one sorted response.
List stocks with prices
curl --request GET \
--url https://api.darvas.app/v1/prices/tickers \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prices/tickers"
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/tickers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"tickers": [
"AAPL",
"MSFT"
]
}{
"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
The tickers/prices answers, in order. /prices/snapshot/tickers gives the same list for /prices/snapshot, since every stock with bars has a snapshot.
| Coverage | Details |
|---|---|
| Universe | Sorted tickers of every Nasdaq, NYSE, Cboe and OTC US stock with daily bars |
| Parameters | None; one response lists every covered symbol |
| Credits | One credit per call that returns data, however many rows it lists |
| MCP tool | list_price_tickers on the data API MCP server |
Example
curl -H "X-API-KEY: $DARVAS_API_KEY" https://api.darvas.app/v1/prices/tickers
Authorizations
apiKeybearerKey