Prices

Prices CSV

Convenience GET that streams as-of prices straight to CSV (no string query to compose). Same edge contract and bitemporal as-of semantics as ``POST /india/exports``; the constraints are structured query params instead of a string query. Handy for ``curl``/spreadsheet ``=IMPORTDATA``.

GET /india/prices.csv

Convenience GET that streams as-of prices straight to CSV (no string query to compose). Same edge contract and bitemporal as-of semantics as POST /india/exports; the constraints are structured query params instead of a string query. Handy for curl/spreadsheet =IMPORTDATA.

Category: India · Exports

Authentication

Send the provisioned API key in the X-API-KEY header.

Required scopes: india:read, data:export.

Request

NameInRequiredTypeConstraintsDescription
isinquerynoarray<string> | nullRestrict to these ISINs (repeatable). Omit for all ISINs.
startquerynostring (date) | nullInclusive trade_date lower bound (YYYY-MM-DD).
endquerynostring (date) | nullInclusive trade_date upper bound (YYYY-MM-DD).
as_ofquerynostring (date) | nullKnowledge-time cutoff (YYYY-MM-DD). Default: today (latest known).
limitquerynointegerdefault 50000; min 1; max 200000

Example request

curl --request GET \
  --url 'https://corpus-api.onera.app/india/prices.csv?isin=INE002A01018&limit=50000' \
  --header "X-API-KEY: ${CORPUS_API_KEY}"

Responses

StatusDescriptionContent typeSchema
200Governed India price rows as CSV.text/csvstring (binary)
400Invalid parameter combinationapplication/jsonErrorResponse
401Missing or invalid API keyapplication/jsonErrorResponse
403Insufficient jurisdiction or scopeapplication/jsonErrorResponse
404Unknown resourceapplication/jsonErrorResponse
422Request schema validation failedapplication/jsonErrorResponse
429Rate limit exceededapplication/jsonErrorResponse
503Source content is unavailable or still processingapplication/jsonErrorResponse

Representative 200 response

The successful response uses text/csv.