GET/v1/instrumentscurl "/v1/instruments"every published instrument
The Neolex API
Every instrument Neolex holds is served as data: its structure, every provision's text on any date, its amendment history, its definitions and the duties extracted from it. Pick an instrument, a chapter and a provision on the left, or type a citation, and this page shows what a caller gets for it. The data is open under CC BY 4.0; the code under Apache 2.0.
| Request | What comes back |
|---|---|
GET /v1/instruments | every published instrument, with what the reader can open |
GET /v1/instruments/{id} | one instrument: its chapters, amendment register, definitions and sources |
GET /v1/instruments/{id}/chapters/{chapter} | one chapter as HTML and plain text, with its dependencies; verbose=true adds every provision's metadata |
GET /v1/instruments/{id}/nodes/{node} | one provision by its stable id, as HTML and plain text, with its dependencies (definitions, provisions, instruments) and the call for each; verbose=true adds its history; as_of=YYYY-MM-DD gives the text of a date |
GET /v1/instruments/{id}/search?q= | provisions whose citation or words match — 30(4)(i), or a phrase |
GET /v1/render/instrument?instrument= | the whole instrument as HTML, with the reader's switches; text=true adds the plain text |
GET /v1/instruments/{id}/amendments?from=&to= | every change between two dates, by the notification that made it |
GET /v1/instruments/{id}/compare?from=&to= | what changed between two dates, provision by provision, with the words marked |
GET /v1/instruments/{id}/nodes/{node}/history | a provision's whole history: every version of its words and title, and what made each |
GET /v1/instruments/{id}/export?as_of= | the whole instrument as on a date, as JSON or plain text |
GET /v1/search?q=&as_of= | words across every instrument, as on a date |
GET /v1/instruments/{id}/obligations | the duties extracted from it, with their bearers and conditions |
GET /v1/legal · /v1/registry · /v1/decisions | SEBI's Legal pages, the link dictionary of every instrument, the judgments and orders |
GET /v1/board-meetings · /v1/recipients | SEBI's Board meetings and their papers; the recipients of circulars and master circulars |
Every JSON response carries the instrument, the published data version and the time it was made. Read the documentation — how instruments and provisions are named, what each call takes and returns — or the interactive reference at /docs.