Market Pulse—

Developers

Data API

Pull published IndiaGraphs series as JSON. Access is sold per graph from the dataset page; tenure and price are whatever that page shows at checkout.

How it works

Three steps to a live request

  1. 01

    Buy access on a dataset page

    Open any published graph and purchase API access. Price and tenure are shown there before checkout (₹299 or $4, 30 days).

  2. 02

    Create an API key

    Generate one key per account from Profile, API keys. Keys start with ig_ and are shown once.

  3. 03

    Call the graph endpoint

    Send the key from your server. Browser calls and query-string keys are rejected.

Base URL

Versioned routes share this prefix.

https://indiagraphs.com/api/v1

Authentication

Header only. Never put keys in browsers or query strings.

Authorization: Bearer YOUR_API_KEY

x-api-key: ig_… also works

Endpoints

Graph-scoped routes

  • GET /api/v1/graphs

    Published catalog: slug, title, series count.

  • GET /api/v1/graphs/{slug}

    Metadata and series names for one graph.

  • GET /api/v1/graphs/{slug}/data

    All series observations. Optional from, to, limit.

Example

Request and response

curl

curl -s \
  -H "Authorization: Bearer YOUR_API_KEY" \
  "https://indiagraphs.com/api/v1/graphs/india-ministry-of-housing-urban-affairs-expenditure/data"

json

{
  "data": {
    "graph": "india-ministry-of-housing-urban-affairs-expenditure",
    "title": "India - Ministry of Housing and Urban Affairs",
    "series": [
      {
        "series": "budget-estimate-total",
        "name": "Budget Estimate Total",
        "unit": "INR Crore",
        "observations": [{ "period": "2024", "value": 12345 }]
      }
    ]
  },
  "meta": { "access": "full", "series_count": 5 }
}

Query parameters

For /api/v1/graphs/{slug}/data

NameTypeRequiredDescription
fromstringNoStart of period range (inclusive).
tostringNoEnd of period range (inclusive).
limitintegerNoMax observations per series when building the payload (1-2000).
offsetintegerNoObservation offset for pagination (default 0).
page_sizeintegerNoMax observations in this page; also capped near 500 KB.

Errors

StatusMeaningDescription
401UnauthorizedMissing or invalid API key.
403ForbiddenNo access for this key, or CORS blocked.
404Not foundUnknown or unpublished graph slug.
429Rate limited20/min or 500/day per API key.
503UnavailableData API temporarily disabled by admin.

Questions on keys or volume pricing: contact@indiagraphs.com

Editorial policy