Skip to content
Skip to Content
DalalOSdocs

Tool reference

India CPI, GDP and crude oil indicators

get_macro_indicators — Official India macroeconomic indicators. This is a read-only research or operational tool. It does not place trades or issue investment recommendations.

What you can ask

Connect DalalOS to Claude or ChatGPT and ask in plain English; the assistant calls get_macro_indicators for you and answers from the figures it returns.

EXAMPLE PROMPTS

  • Show India's CPI, GDP growth and crude-oil indicators for the latest available periods.
  • Show the last six months of India CPI inflation.
  • Show India's GDP series for the last three fiscal years.

Parameters and response fields

get_macro_indicators

Official India macroeconomic indicators

USE WHEN

Read official CPI, WPI, IIP, GDP and Indian basket crude-oil series for market context.

PARAMETERS

get_macro_indicators parameters
NameTypeRequiredDefaultDescription
datasetstringYes—"cpi" | "wpi" | "iip" | "gdp" | "crude_basket"; any other value is rejected.
from_periodstringNo—Starting period — "YYYY-MM" for cpi/wpi/iip/crude_basket, fiscal-year string e.g. "2024-25" for gdp.
to_periodstringNo—Ending period, same format as from_period.
series_containsstringNo—Substring filter on series_key (e.g. "Food", "Manufacturing"); a no-op for crude_basket, which has only one series.
limitintegerNo200Clamped 1–2000, newest period first.

RESPONSE DATA

  • Officially reported macro observations with period, series, value, unit and source.
Also available via REST: /macro/indicators

See the same data on DalalOS

Public pages that need no sign-in and show data from the same source.

The same data over REST, run on 2026-11-27

This tool reads the same data as GET /macro/indicators. The call and the answer below were run against the live API.

Macro indicators
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/macro/indicators?dataset=cpi&from=2025-01&limit=24"
{
  "status": "success",
  "data": {
    "dataset": "cpi",
    "count": 24,
    "results": [
      {
        "period": "2026-10",
        "series_key": "Combined|CPI (General)",
        "value": 110.05,
        "value_alt": null,
        "unit": "index",
        "yoy_pct": 6.09,
        "dims": "{\"state\": \"All India\", \"sector\": \"Combined\", \"division\": \"CPI (General)\", \"series\": \"Current\", \"base_year\": \"2024\"}",
        "source": "mospi"
      },
      {
        "period": "2026-10",
        "series_key": "Combined|Clothing and footwear",
        "value": 110.52,
        "value_alt": null,
        "unit": "index",
        "yoy_pct": 4.96,
        "dims": "{\"state\": \"All India\", \"sector\": \"Combined\", \"division\": \"Clothing and footwear\", \"series\": \"Current\", \"base_year\": \"2024\"}",
        "source": "mospi"
      }
    ],
    "quality": {
      "status": "valid",
      "latest_period": "2026-10",
      "failing_checks": []
    }
  },
  "cached_at": "2026-11-23T00:31:17+00:00",
  "source": "mospi",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 397588.652,
  "as_of": "2026-10-31"
}

Saved answer. Run on 2026-11-27, answered 200. The data in it was collected on 2026-11-23, not on the run date. Lists show their first item in full; the other items and long text are shortened. A call you make now gets the current answer.

KEEP EXPLORING

Connect your AI to Indian stock market data

Sign in to DalalOS and connect your AI in one line of config. Free to start; paid plans when you need more.

Account holders get product-update emails about every two weeks. Turn them off any time.