REST API · Regulatory Database
Search the database
GEThttps://api.obsidianri.com/v1/database/search
The regulations of your regulatory database, the same list as its Database page, filtered, sorted and paged. Your database holds the regulations selected for your account and the acts your entities are subject to, within your jurisdictions. Filters combine with AND; the values inside one comma list combine with OR.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | optional | Search words. Every word is required, matched on the title, short title, reference, jurisdiction, authorities, industries, frameworks and entity names. Up to 200 characters. |
jurisdiction | string | optional | Comma list of jurisdiction ids or names, e.g. EU,US. Up to 300 characters. |
industry | string | optional | Comma list of industry ids or names (see Database overview). Up to 400 characters. |
framework | string | optional | Comma list of framework ids or names (see Database overview). Up to 400 characters. |
status | string | optional | Comma list among in_force, adopted, proposed, consultation, expected, repealed, withdrawn. Up to 200 characters. |
entity | string | optional | Comma list of your entity ids or names: only the regulations that apply to them. Up to 400 characters. |
sort | string | optional | title (default), updated (the most recent change of the law first) or next (the nearest coming step first). Up to 10 characters. |
after | string | optional | The next cursor of the previous page. Up to 12 characters. |
limit | integer | optional | Results per page. Default 20. From 1 to 50. |
Request
curl -G https://api.obsidianri.com/v1/database/search \
-H "X-API-Key: $OBSIDIAN_API_KEY" \
--data-urlencode "q=packaging" \
--data-urlencode "jurisdiction=EU" \
--data-urlencode "sort=next" \
--data-urlencode "limit=1"Response
200 with a JSON object:
| Field | Type | Description |
|---|---|---|
total | integer | The number of regulations in your database. |
matched | integer | The number of regulations that match the filters. |
items | array of objects | The regulations of this page. Empty fields are left out of an item. |
items[].id | string | The regulation id, JURISDICTION/record id: the id of Get a regulation. |
items[].jurisdiction | string | The jurisdiction id. |
items[].jurisdiction_label | string | The jurisdiction name. |
items[].title | string | The title. |
items[].short_title | string | The short title. |
items[].reference | string | The official reference. |
items[].status | string | The status id (see the status parameter). |
items[].status_label | string | The status name, e.g. In force. |
items[].key_date | object | The key date: label, date and precision. |
items[].next_step | object | The next coming step: date, what and precision. |
items[].law_last_changed | string | The date of the last change of the law. |
items[].industries | array of strings | Its industries. |
items[].frameworks | array of strings | Its frameworks. |
items[].entities | array of objects | Your entities it concerns: name and verdict. |
items[].authorities | array of strings | The authorities. |
items[].official_url | string | The official source link. |
items[].obsidian_url | string | The regulation page in Obsidian. |
next | string or null | The cursor of the next page, to send as after. null on the last page. |
Example response
Generic values that show the shape, not real records:
{
"total": 148,
"matched": 3,
"items": [
{
"id": "EU/example-packaging-regulation",
"jurisdiction": "EU",
"jurisdiction_label": "European Union",
"title": "Example: Regulation on packaging and packaging waste",
"short_title": "Example PPR",
"reference": "Regulation (EU) 2025/0000",
"status": "in_force",
"status_label": "In force",
"key_date": {
"label": "Applies from",
"date": "2026-08-12",
"precision": "day"
},
"next_step": {
"date": "2027-01-01",
"what": "Labelling obligations apply",
"precision": "day"
},
"law_last_changed": "2026-10-03",
"industries": [
"Packaging"
],
"frameworks": [
"Example circular economy framework"
],
"entities": [
{
"name": "Example Europe GmbH",
"verdict": "Applies"
}
],
"authorities": [
"European Commission"
],
"official_url": "https://www.example.org/official/text/2025-0000",
"obsidian_url": "https://app.obsidianri.com/database/EU/example-packaging-regulation"
}
],
"next": "1"
}Errors
| Status | When |
|---|---|
400 | after is not a cursor this endpoint returned (detail: bad_cursor). |
403 | The regulatory database is not part of the API and MCP access of the account. |
401, 402, 429, 503 | As for every endpoint: see Errors and limits. |
In the MCP server
The same read is the MCP tool database_search.