Skip to content
Skip to Content
DalalOSdocs

GET /sources

Data sources

Every upstream publisher DalalOS collects from, from the source registry: id, display_name, gives, cadence, status (active|paused|stopped|historical), stopped_since (last month with data, YYYY-MM, for a stopped source), the envelope source tags and tools that carry its data, and last_success_at (the newest successful collection, from the scraper's run log; null when none).

Try it

This route needs no API key. Send it from the reference on this page, or run the call here.

Data sources
curl "https://mcp.dalalos.in/v1/sources"
{
  "status": "success",
  "data": {
    "active_source_count": 7,
    "companies_covered": 4974,
    "sources": [
      {
        "id": "nse",
        "display_name": "NSE",
        "gives": "prices, trading data, F&O, FII and DII flows",
        "cadence": "every trading day",
        "status": "active",
        "stopped_since": null,
        "envelope_source_tags": [
          "nse",
          "nse-bhavcopy"
        ],
        "tools": [
          "get_stock_quote",
          "get_batch_quotes"
        ],
        "last_success_at": "2026-11-27T14:55:01+00:00"
      },
      {
        "id": "nse_indices",
        "display_name": "NSE Indices",
        "gives": "index levels and valuations",
        "cadence": "every trading day",
        "status": "active",
        "stopped_since": null,
        "envelope_source_tags": [
          "nse",
          "niftyindices"
        ],
        "tools": [
          "list_indices",
          "list_index_constituents"
        ],
        "last_success_at": "2026-11-27T14:54:00+00:00"
      }
    ]
  },
  "cached_at": "2026-11-27T14:56:29+00:00",
  "source": "indian-stock-mcp",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 189.361
}

Saved answer. Run on 2026-11-27, answered 200. Lists show their first item in full; the other items and long text are shortened. A call you make now gets the current answer.

A call can also answer 402, 403, 409 or 429 when a plan's limit is reached; those are described on Plans, credits and errors.

Parameters and response

GET
/sources

Response Body

Success (or success-with-empty when nothing is cached).

application/json
  1. response

Standard DalalOS response envelope. source is a per-tool provenance tag; stale/data_age_seconds describe cache freshness.

as_of?string

ISO date (YYYY-MM-DD) the data refers to: the trade date of the newest row, or the end date of the newest period. Present only on tools that state one; cached_at is the fetch time.

Formatdate
cached_at?string

ISO timestamp the served data was refreshed.

data?unknown

Tool payload (object or array); null on error.

data_age_seconds?number

Present only when cached_at is set.

error?string
reason_code?string

Stable machine-readable category (no_data, not_found, bad_request,...).

resolved_via?string

Present only when a query resolved via a rename/merger alias (rename, merger, demerger_successor; single-company result) or, on /v1/search, an everyday name (common_name: the company it means is the first row and carries the same resolved_via on the row; ordinary matches follow).

source?string
stale*boolean
status*string
Value in"success""error"

What comes back

The top-level fields of data in the saved answer, run on 2026-11-27. The fields can differ for another company or window.

Fields of data
FieldType
active_source_countnumber
companies_coverednumber
sourceslist

Errors

The errors every route can return (401, 402, 403, 429 and the rest) are on Plans, credits and errors.

In MCP

No MCP tool reads this data. Use the REST route.

Notes

  • Top level: active_source_count and companies_covered (companies with at least one equity share that has at least one financial-results row).
  • Needs no Authorization header; cached server-side for 5 minutes.
  • Facts about the data only.

Research data only. Answers are disclosed facts and mechanically computed figures. They are not investment advice.

KEEP EXPLORING