Read a stock price
curl --request GET \
--url https://api.darvas.app/v1/prices/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prices/snapshot"
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/snapshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"snapshot": {
"price": 355.58,
"ticker": "AAPL",
"previous_close": 354.07,
"day_change": 1.51,
"day_change_percent": 0.4265,
"price_source": "session",
"time": "2026-11-25T20:55:00Z",
"time_milliseconds": 1795640100000
}
}{
"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
Latest US Stock Price Snapshot & Quote API
Get the latest US stock price, daily change, percent move and timestamp for one equity ticker, refreshed every 30 minutes during market hours.
Read a stock price
curl --request GET \
--url https://api.darvas.app/v1/prices/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/prices/snapshot"
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/snapshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"snapshot": {
"price": 355.58,
"ticker": "AAPL",
"previous_close": 354.07,
"day_change": 1.51,
"day_change_percent": 0.4265,
"price_source": "session",
"time": "2026-11-25T20:55:00Z",
"time_milliseconds": 1795640100000
}
}{
"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
During the US session Darvas reads every stock’s latest price every half hour, soprice is up to 30 minutes old. Outside the session it is the last close, and time is 16:00 New York time of that day. day_change compares price with the close of the session before.
| Coverage | Details |
|---|---|
| Stocks | US stocks listed by Snapshot Tickers |
| Freshness | Updated every 30 minutes during US market hours; last close at 16:00 New York time outside the session |
| Fields | ticker, price, day_change, day_change_percent, time and time_milliseconds |
| MCP tool | get_price_snapshot on the data API MCP server |
Example
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
snapshot = requests.get(
"https://api.darvas.app/v1/prices/snapshot",
headers=headers,
params={"ticker": "AAPL"},
).json()["snapshot"]
print(snapshot["price"], snapshot["day_change_percent"])
Authorizations
apiKeybearerKey
Query Parameters
Response
Read a stock price: one page.
The answer of GET /prices/snapshot.