Economics
GDP, CPI, and interest rates for 40+ countries.
Macro series are cached and refreshed behind the scenes. Query gdp, inflation, interestRates, or sp500Multiples directly — each accepts an optional filter: ArrayFilterInput to slice by date range, cap the result, or reverse sort.
{
gdp(country: "USA", type: REAL, filter: { since: "2010-01-01", limit: 20 }) { date value }
inflation(country: "USA", filter: { since: "2020-01-01" }) { date value }
}
See Filtering & sorting for the full filter reference.
curl https://api.jintel.ai/api/graphql \
-H "Authorization: Bearer $JINTEL_API_KEY" \
-d '{"query":"{ gdp(country:\"USA\", type:REAL) { date value } inflation(country:\"USA\") { date value } }"}'
const gdp = await jintel.gdp("USA", "REAL", { since: "2010-01-01", limit: 20 });
const cpi = await jintel.inflation("USA", { since: "2020-01-01" });