Read the newest growth and income observations
curl --request GET \
--url https://api.darvas.app/v1/macro/gdp/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/macro/gdp/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/macro/gdp/snapshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"gdp": [
{
"series": "real_gdp_growth",
"date": "2026-07-01",
"value": 2.8,
"change_prior": 0.4,
"change_year": -0.3,
"change_year_pct": -9.7,
"first_published_value": 2.6
}
]
}{
"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"
}GDP & Income
Latest US GDP & Corporate Profits Snapshot
Fetch the latest quarterly BEA readings for real GDP growth, consumption, investment, net exports, corporate profits and personal income in one call.
Read the newest growth and income observations
curl --request GET \
--url https://api.darvas.app/v1/macro/gdp/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/macro/gdp/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/macro/gdp/snapshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"gdp": [
{
"series": "real_gdp_growth",
"date": "2026-07-01",
"value": 2.8,
"change_prior": 0.4,
"change_year": -0.3,
"change_year_pct": -9.7,
"first_published_value": 2.6
}
]
}{
"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 latest quarter or month of all 12 series in one call. Passseries for one.
| Coverage | Details |
|---|---|
| Series | Latest quarterly or monthly reading for all 12 BEA GDP, GDI, corporate profits and income series, or one via series |
| History | Full history lives at GDP & Income; IDs at GDP Series |
| MCP tool | get_gdp_snapshot on the data API MCP server |
Example
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/macro/gdp/snapshot"
Authorizations
apiKeybearerKey