Connect AI to millions of laws and court cases with the Lawstronaut MCP.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
"Show me the source." For a specific document, return the full citation chain in one call: metadata (with all dates and identifiers), permanent legal_link, signed URL to the original source file (if available), and the full document body in markdown or plain text. Designed for auditability.
Document's jurisdiction ISO code, e.g. 'IE', 'NL', 'US', etc.
Numeric document_id from any listing/search tool
'markdown' (preserves structure) or 'plain'.
Fetch the full body (default True)
Fetch a temporary signed URL to the original file (PDF etc.) where available (default True).
"Show me the source." For a specific document, return the full citation chain in one call: metadata (with all dates and identifiers), permanent legal_link, signed URL to the original source file (if available), and the full document body in markdown or plain text. Designed for auditability.
| Argument | Type | Description |
|---|---|---|
| iso* | string | Document's jurisdiction ISO code, e.g. 'IE', 'NL', 'US', etc. |
| document_id* | integer | Numeric document_id from any listing/search tool |
| text_format | string | 'markdown' (preserves structure) or 'plain'. |
| include_text | boolean | Fetch the full body (default True) |
| include_source_url | boolean | Fetch a temporary signed URL to the original file (PDF etc.) where available (default True). |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso",
"document_id"
],
"properties": {
"iso": {
"type": "string",
"description": "Document's jurisdiction ISO code, e.g. 'IE', 'NL', 'US', etc."
},
"document_id": {
"type": "integer",
"description": "Numeric document_id from any listing/search tool",
"exclusiveMinimum": 0
},
"text_format": {
"enum": [
"markdown",
"plain"
],
"type": "string",
"default": "markdown",
"description": "'markdown' (preserves structure) or 'plain'."
},
"include_text": {
"type": "boolean",
"default": true,
"description": "Fetch the full body (default True)"
},
"include_source_url": {
"type": "boolean",
"default": true,
"description": "Fetch a temporary signed URL to the original file (PDF etc.) where available (default True)."
}
},
"additionalProperties": false
}Retrieves full text for a specific jurisdiction and optional filters. Use this tool when: - The user asks about available full text for a portal name, title, section_title, url, status, repealed, publication_date and crawling_date - The user wants to filter full text for type of authority, issuing authority, source identifier, source secondary identifier, tag Parameters: - iso (required): Jurisdiction ISO code (e.g. "US"). - portal (optional): Portal name. - limit (optional): Number of results to return. - offset (optional): Number of results to skip. - document_id (optional): Document ID. - title (optional): Title. - section_title (optional): Section title. - url (optional): URL. - last_updated (optional): Last updated date. Returns: - Content full text list with document_id, full_text
| Argument | Type | Description |
|---|---|---|
| iso* | string | Filter by Jurisdiction ISO code (e.g. 'US') |
| tag | string | Filter by tag |
| url | string | Filter by URL |
| lang | string | Filter by language |
| limit | number | Number of results to return |
| title | string | Filter by title |
| offset | number |
Retrieves a specific document with a specific version. Use this tool when: - The user wants to find a specific document with a specific version - The user asks about available a specific document with a specific version Parameters: - document_id (required): Document ID. - version (required): Version. Returns: - Content with version with title, section_title, publication_date, effective_date, expiration_date, date_of_enactment, date_of_last_amendment, date_of_repealed, date_of_decision, status, version, source_identifier, source_secondary_identifier, issuing_authority, type_of_authority, language, legal_link, repealed, metadata, summary, tags, source_keywords, crawling_date, portal, portal_name, last_updated - Only returns content that has crawled data with the specific version
| Argument | Type | Description |
|---|---|---|
| version* | integer | Version |
| document_id* | integer | Document ID |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"document_id",
"version"
],
"properties": {
"version": {
"type": "integer",
"description": "Version",
"exclusiveMinimum": 0
},
"document_id": {
"type": "integer",
"description": "Document ID",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}Retrieves markdown for a specific jurisdiction and optional filters. Use this tool when: - The user asks about available markdown for a portal name, title, section_title, url, status, repealed, publication_date and crawling_date - The user wants to filter markdown for type of authority, issuing authority, source identifier, source secondary identifier, tag Parameters: - iso (required): Jurisdiction ISO code (e.g. "US"). - portal (optional): Portal name. - limit (optional): Number of results to return. - offset (optional): Number of results to skip. - document_id (optional): Document ID. - title (optional): Title. - section_title (optional): Section title. - url (optional): URL. - last_updated (optional): Last updated date. Returns: - Content markdown list with document_id, content_markdown
| Argument | Type | Description |
|---|---|---|
| iso* | string | Filter by Jurisdiction ISO code (e.g. 'US') |
| tag | string | Filter by tag |
| url | string | Filter by URL |
| lang | string | Filter by language |
| limit | number | Number of results to return |
| title | string | Filter by title |
| offset | number |
Get a time-limited signed URL to the original source file (PDF etc.). Use this tool when: - The user wants to find a pdf URL for a specific document - The user asks about presigned URL for a pdf Parameters: - document_id (required): Document ID. Returns: - PDF URL for a specific document with document_id and pdf_url
| Argument | Type | Description |
|---|---|---|
| document_id* | integer | Document ID |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"document_id"
],
"properties": {
"document_id": {
"type": "integer",
"description": "Document ID",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}Scans recent legal documents across jurisdictions. Use this when the user asks: - "What laws changed recently in Netherland?" - "Show me new regulations from last week" - "Any updates in NL law?"
| Argument | Type | Description |
|---|---|---|
| iso* | string | One ISO code e.g. "IE", "NL", "US", etc. |
| since | string | Freshness window. "yesterday", "today", "Nd"/"Nh"/"Nw" (e.g. "7d"), or ISO date "YYYY-MM-DD" |
| topic | string | null | Optional filter (matches title) e.g. "employee monitoring" or "workplace surveillance" |
| status | string | null | Optional filter on status field e.g. "new", "updated" String. |
| date_field | string | Which date to window on. "crawling_date" (default) = when Lawstronaut crawled it. "publication_date" = when officially published. "last_updated" = when corpus record last changed. |
| include_repealed | boolean | If false, drop documents where repealed=true |
| issuing_authority | string | null | Optional filter on issuing authority |
| type_of_authority |
Retrieves a list of authority types. Use this tool when: - The user wants to find legal authority types for a specific jurisdiction and optional filters - The user asks about available authority types for a portal name, authority type - The user wants to filter with pagination Parameters: - iso (required): Filter by Jurisdiction ISO code (e.g. "US"). - limit (optional): Number of results to return. - offset (optional): Number of results to skip. - portal_name (optional): Filter by portal name. - authority_type (optional): Filter by authority type. Returns: - List of authority types with iso, authority_type, portal_name, pagination: total_count, limit, offset - Only returns authority types that have data
| Argument | Type | Description |
|---|---|---|
| iso* | string | Filter by Jurisdiction ISO code (e.g. 'US') |
| limit | number | Number of results to return |
| offset | number | Number of results to skip |
| portal_name | string | Filter by portal name |
| authority_type | string | Filter by authority type |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso"
],
"properties": {
"iso": {
"type": "string",
"description": "Filter by Jurisdiction ISO code (e.g. 'US')"
},
"limit": {
"type": "number",
"description": "Number of results to return"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"portal_name": {
"type": "string",
"description": "Filter by portal name"
},
"authority_type": {
"type": "string",
"description": "Filter by authority type"
}
},
"additionalProperties": false
}Retrieves a list of categories for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal categories for a specific jurisdiction and optional filters - The user asks about available categories for a subdomain id - The user wants to filter categories by name with pagination Parameters: - subdomain_id (optional): Filter by Subdomain ID. - category_name (optional): Filter categories by name - limit: z.number().optional().describe("Number of results to return"), - offset: z.number().optional().describe("Number of results to skip") Returns: - List of categories with category_id, category_name, subdomain_id, domain_id, pagination: total_count, limit, offset - Only returns categories that have data
| Argument | Type | Description |
|---|---|---|
| limit | number | Number of results to return |
| offset | number | Number of results to skip |
| subdomain_id | string | Filter by Subdomain ID |
| category_name | string | Filter by category name |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "Number of results to return"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"subdomain_id": {
"type": "string",
"description": "Filter by Subdomain ID"
},
"category_name": {
"type": "string",
"description": "Filter by category name"
}
},
"additionalProperties": false
}List documents in a jurisdiction with structured filters and pagination. Use this tool when: - The user wants to find legal content for a specific jurisdiction and optional filters - The user asks about available content for a portal name, title, section_title, url, status, repealed, publication_date and crawling_date - The user wants to filter content for type of authority, issuing authority, source identifier, source secondary identifier, tag Parameters: - iso (required): Jurisdiction ISO code (e.g. "US"). - portal (optional): Portal name. - limit (optional): Number of results to return. - offset (optional): Number of results to skip. - document_id (optional): Document ID. - title (optional): Title. - section_title (optional): Section title. - url (optional): URL. - last_updated (optional): Last updated date. Returns: - Contents list with title, section_title, publication_date, effective_date, expiration_date, date_of_enactment, date_of_last_amendment, date_of_repealed, date_of_decision, status, version, source_identifier, source_secondary_identifier, issuing_authority, type_of_authority, language, legal_link, repealed, metadata, summary, tags, source_keywords, crawling_date, portal, portal_name, last_updated - Only returns content that has crawled data
| Argument | Type | Description |
|---|---|---|
| iso* | string | Filter by Jurisdiction ISO code (e.g. 'US') |
| tag | string | Filter by tag |
| url | string | Filter by URL |
| lang | string | Filter by language |
Retrieves a list of domains for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal domains for a specific jurisdiction and optional filters - The user asks about available domains for a domain name - The user wants to filter with pagination Parameters: - domain (optional): Filter domains by name - limit: z.number().optional().describe("Number of results to return"), - offset: z.number().optional().describe("Number of results to skip") Returns: - List of domains with domain_id, domain, pagination: total_count, limit, offset - Only returns domains that have data
| Argument | Type | Description |
|---|---|---|
| limit | number | Number of results to return |
| domain | string | Filter by domain name |
| offset | number | Number of results to skip |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"limit": {
"type": "number",
"description": "Number of results to return"
},
"domain": {
"type": "string",
"description": "Filter by domain name"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
}
},
"additionalProperties": false
}Retrieves a list of issuing authorities for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal issuing authorities for a specific jurisdiction and optional filters - The user asks about available issuing authorities for a portal name, issuing authority - The user wants to filter with pagination Parameters: - iso (required): Filter by Jurisdiction ISO code (e.g. "US"). - limit (optional): Number of results to return. - offset (optional): Number of results to skip. - portal_name (optional): Filter by portal name. - issuing_authority (optional): Filter by issuing authority. Returns: - List of issuing authorities with iso, issuing_authority, portal_name, pagination: total_count, limit, offset - Only returns issuing authorities that have data
| Argument | Type | Description |
|---|---|---|
| iso* | string | Filter by Jurisdiction ISO code (e.g. 'US') |
| limit | number | Number of results to return |
| offset | number | Number of results to skip |
| portal_name | string | Filter by portal name |
| issuing_authority | string | Filter by issuing authority |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso"
],
"properties": {
"iso": {
"type": "string",
"description": "Filter by Jurisdiction ISO code (e.g. 'US')"
},
"limit": {
"type": "number",
"description": "Number of results to return"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"portal_name": {
"type": "string",
"description": "Filter by portal name"
},
"issuing_authority": {
"type": "string",
"description": "Filter by issuing authority"
}
},
"additionalProperties": false
}List all jurisdictions (countries/states) available in the Lawstronaut legal corpus. Call this FIRST when answering legal questions so you know which "iso" codes are valid for the other tools. Result is cached for the MCP process lifetime Returns: {data: [{"name": "Belgium", "iso": "BE", "type": "country"}, ...]} - Full list of jurisdiction objects including names, iso, and type
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"additionalProperties": false
}Retrieves a list of law types for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal law types for a specific jurisdiction and optional filters - The user asks about available law types for a subcategory id - The user wants to filter law types by name with pagination Parameters: - subcategory_id (required): Filter by Subcategory ID. - law_type (optional): Filter law types by name - limit: z.number().optional().describe("Number of results to return"), - offset: z.number().optional().describe("Number of results to skip") Returns: - List of law types with law_type_id, law_type, subcategory_id, category_id, pagination: total_count, limit, offset - Only returns law types that have data
| Argument | Type | Description |
|---|---|---|
| limit | number | Number of results to return |
| offset | number | Number of results to skip |
| law_type | string | Filter by law type name |
| subcategory_id* | string | Filter by Subcategory ID |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"subcategory_id"
],
"properties": {
"limit": {
"type": "number",
"description": "Number of results to return"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"law_type": {
"type": "string",
"description": "Filter by law type name"
},
"subcategory_id": {
"type": "string",
"description": "Filter by Subcategory ID"
}
},
"additionalProperties": false
}Retrieves a list of legal portals filtered by jurisdiction and optional criteria. Use this tool when: - The user wants to find legal portals, websites, or resources for a specific jurisdiction - The user asks about available portals in a country or state - The user wants to filter portals by name, language, or tag with total crawled links Parameters: - iso (required): Filter by Jurisdiction ISO code (e.g. "US"). - name (optional): Filter portals by name or URL keyword - tag (optional): Filter portals by tag - lang (optional): Filter portals by language name Returns: - List of portals with name, URL, language, jurisdiction, tags, and total crawled links - Only returns portals that have crawled data
| Argument | Type | Description |
|---|---|---|
| iso* | string | Filter by Jurisdiction ISO code (e.g. 'US') |
| tag | string | Filter by portal tags |
| lang | string | Filter by language |
| name | string | Filter by portal name |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso"
],
"properties": {
"iso": {
"type": "string",
"description": "Filter by Jurisdiction ISO code (e.g. 'US')"
},
"tag": {
"type": "string",
"description": "Filter by portal tags"
},
"lang": {
"type": "string",
"description": "Filter by language"
},
"name": {
"type": "string",
"description": "Filter by portal name"
}
},
"additionalProperties": false
}Retrieves a list of subcategories for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal subcategories for a specific jurisdiction and optional filters - The user asks about available subcategories for a category id - The user wants to filter subcategories by name with pagination Parameters: - category_id (required): Filter by Category ID. - subcategory_name (optional): Filter subcategories by name - limit: z.number().optional().describe("Number of results to return"), - offset: z.number().optional().describe("Number of results to skip") Returns: - List of subcategories with subcategory_id, subcategory_name, category_id, pagination: total_count, limit, offset - Only returns subcategories that have data
| Argument | Type | Description |
|---|---|---|
| limit | number | Number of results to return |
| offset | number | Number of results to skip |
| category_id* | string | Filter by Category ID |
| subcategory_name | string | Filter by subcategory name |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"category_id"
],
"properties": {
"limit": {
"type": "number",
"description": "Number of results to return"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"category_id": {
"type": "string",
"description": "Filter by Category ID"
},
"subcategory_name": {
"type": "string",
"description": "Filter by subcategory name"
}
},
"additionalProperties": false
}Retrieves a list of subdomains for a specific jurisdiction and optional filters. Use this tool when: - The user wants to find legal subdomains for a specific jurisdiction and optional filters - The user asks about available subdomains for a domain id - The user wants to filter subdomains by name with pagination Parameters: - domain_id (required): Filter by Domain ID. - subdomain (optional): Filter subdomains by name - limit: z.number().optional().describe("Number of results to return"), - offset: z.number().optional().describe("Number of results to skip") Returns: - List of subdomains with subdomain_id, subdomain, domain_id, pagination: total_count, limit, offset - Only returns subdomains that have data
| Argument | Type | Description |
|---|---|---|
| limit | number | Number of results to return |
| offset | number | Number of results to skip |
| domain_id* | string | Filter by Domain ID |
| subdomain | string | Filter by subdomain name |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"domain_id"
],
"properties": {
"limit": {
"type": "number",
"description": "Number of results to return"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"domain_id": {
"type": "string",
"description": "Filter by Domain ID"
},
"subdomain": {
"type": "string",
"description": "Filter by subdomain name"
}
},
"additionalProperties": false
}| Number of results to skip |
| portal | string | Filter by portal name |
| status | string | Filter by status |
| version | string | Filter by version |
| repealed | boolean | Filter by repealed status |
| document_id | string | Filter by document ID |
| last_updated | string | Filter by last updated date |
| crawling_date | string | Filter by crawling date |
| section_title | string | Filter by section title |
| effective_date | string | Filter by effective date |
| file_data_only | boolean | Return file data only |
| last_amendment | string | Filter by last amendment date |
| expiration_date | string | Filter by expiration date |
| date_of_decision | string | Filter by date of decision |
| publication_date | string | Filter by publication date |
| date_of_enactment | string | Filter by date of enactment |
| issuing_authority | string | Filter by issuing authority |
| source_identifier | string | Filter by source identifier |
| type_of_authority | string | Filter by type of authority |
| source_secondary_identifier | string | Filter by secondary source identifier |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso"
],
"properties": {
"iso": {
"type": "string",
"description": "Filter by Jurisdiction ISO code (e.g. 'US')"
},
"tag": {
"type": "string",
"description": "Filter by tag"
},
"url": {
"type": "string",
"description": "Filter by URL"
},
"lang": {
"type": "string",
"description": "Filter by language"
},
"limit": {
"type": "number",
"description": "Number of results to return"
},
"title": {
"type": "string",
"description": "Filter by title"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"portal": {
"type": "string",
"description": "Filter by portal name"
},
"status": {
"type": "string",
"description": "Filter by status"
},
"version": {
"type": "string",
"description": "Filter by version"
},
"repealed": {
"type": "boolean",
"description": "Filter by repealed status"
},
"document_id": {
"type": "string",
"description": "Filter by document ID"
},
"last_updated": {
"type": "string",
"description": "Filter by last updated date"
},
"crawling_date": {
"type": "string",
"description": "Filter by crawling date"
},
"section_title": {
"type": "string",
"description": "Filter by section title"
},
"effective_date": {
"type": "string",
"description": "Filter by effective date"
},
"file_data_only": {
"type": "boolean",
"description": "Return file data only"
},
"last_amendment": {
"type": "string",
"description": "Filter by last amendment date"
},
"expiration_date": {
"type": "string",
"description": "Filter by expiration date"
},
"date_of_decision": {
"type": "string",
"description": "Filter by date of decision"
},
"publication_date": {
"type": "string",
"description": "Filter by publication date"
},
"date_of_enactment": {
"type": "string",
"description": "Filter by date of enactment"
},
"issuing_authority": {
"type": "string",
"description": "Filter by issuing authority"
},
"source_identifier": {
"type": "string",
"description": "Filter by source identifier"
},
"type_of_authority": {
"type": "string",
"description": "Filter by type of authority"
},
"source_secondary_identifier": {
"type": "string",
"description": "Filter by secondary source identifier"
}
},
"additionalProperties": false
}| Number of results to skip |
| portal | string | Filter by portal name |
| status | string | Filter by status |
| version | string | Filter by version |
| repealed | boolean | Filter by repealed status |
| document_id | string | Filter by document ID |
| last_updated | string | Filter by last updated date |
| crawling_date | string | Filter by crawling date |
| section_title | string | Filter by section title |
| effective_date | string | Filter by effective date |
| file_data_only | boolean | Return file data only |
| last_amendment | string | Filter by last amendment date |
| expiration_date | string | Filter by expiration date |
| date_of_decision | string | Filter by date of decision |
| publication_date | string | Filter by publication date |
| date_of_enactment | string | Filter by date of enactment |
| issuing_authority | string | Filter by issuing authority |
| source_identifier | string | Filter by source identifier |
| type_of_authority | string | Filter by type of authority |
| source_secondary_identifier | string | Filter by secondary source identifier |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso"
],
"properties": {
"iso": {
"type": "string",
"description": "Filter by Jurisdiction ISO code (e.g. 'US')"
},
"tag": {
"type": "string",
"description": "Filter by tag"
},
"url": {
"type": "string",
"description": "Filter by URL"
},
"lang": {
"type": "string",
"description": "Filter by language"
},
"limit": {
"type": "number",
"description": "Number of results to return"
},
"title": {
"type": "string",
"description": "Filter by title"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"portal": {
"type": "string",
"description": "Filter by portal name"
},
"status": {
"type": "string",
"description": "Filter by status"
},
"version": {
"type": "string",
"description": "Filter by version"
},
"repealed": {
"type": "boolean",
"description": "Filter by repealed status"
},
"document_id": {
"type": "string",
"description": "Filter by document ID"
},
"last_updated": {
"type": "string",
"description": "Filter by last updated date"
},
"crawling_date": {
"type": "string",
"description": "Filter by crawling date"
},
"section_title": {
"type": "string",
"description": "Filter by section title"
},
"effective_date": {
"type": "string",
"description": "Filter by effective date"
},
"file_data_only": {
"type": "boolean",
"description": "Return file data only"
},
"last_amendment": {
"type": "string",
"description": "Filter by last amendment date"
},
"expiration_date": {
"type": "string",
"description": "Filter by expiration date"
},
"date_of_decision": {
"type": "string",
"description": "Filter by date of decision"
},
"publication_date": {
"type": "string",
"description": "Filter by publication date"
},
"date_of_enactment": {
"type": "string",
"description": "Filter by date of enactment"
},
"issuing_authority": {
"type": "string",
"description": "Filter by issuing authority"
},
"source_identifier": {
"type": "string",
"description": "Filter by source identifier"
},
"type_of_authority": {
"type": "string",
"description": "Filter by type of authority"
},
"source_secondary_identifier": {
"type": "string",
"description": "Filter by secondary source identifier"
}
},
"additionalProperties": false
}| string | null |
| Optional filter on type of authority |
| max_per_jurisdiction | integer | Max docs to return per jurisdiction (1-100) |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso"
],
"properties": {
"iso": {
"type": "string",
"description": "One ISO code e.g. \"IE\", \"NL\", \"US\", etc."
},
"since": {
"type": "string",
"default": "yesterday",
"description": "Freshness window. \"yesterday\", \"today\", \"Nd\"/\"Nh\"/\"Nw\" (e.g. \"7d\"), or ISO date \"YYYY-MM-DD\""
},
"topic": {
"type": [
"string",
"null"
],
"description": "Optional filter (matches title) e.g. \"employee monitoring\" or \"workplace surveillance\""
},
"status": {
"type": [
"string",
"null"
],
"description": "Optional filter on status field e.g. \"new\", \"updated\" String."
},
"date_field": {
"enum": [
"crawling_date",
"publication_date",
"last_updated"
],
"type": "string",
"default": "crawling_date",
"description": "Which date to window on. \"crawling_date\" (default) = when Lawstronaut crawled it. \"publication_date\" = when officially published. \"last_updated\" = when corpus record last changed."
},
"include_repealed": {
"type": "boolean",
"default": false,
"description": "If false, drop documents where repealed=true"
},
"issuing_authority": {
"type": [
"string",
"null"
],
"description": "Optional filter on issuing authority"
},
"type_of_authority": {
"type": [
"string",
"null"
],
"description": "Optional filter on type of authority"
},
"max_per_jurisdiction": {
"type": "integer",
"default": 50,
"maximum": 100,
"minimum": 1,
"description": "Max docs to return per jurisdiction (1-100)"
}
},
"additionalProperties": false
}| limit |
| number |
| Number of results to return |
| title | string | Filter by title |
| offset | number | Number of results to skip |
| portal | string | Filter by portal name |
| status | string | Filter by status |
| version | string | Filter by version |
| repealed | boolean | Filter by repealed status |
| document_id | string | Filter by document ID |
| last_updated | string | Filter by last updated date |
| crawling_date | string | Filter by crawling date |
| section_title | string | Filter by section title |
| effective_date | string | Filter by effective date |
| file_data_only | boolean | Return file data only |
| last_amendment | string | Filter by last amendment date |
| expiration_date | string | Filter by expiration date |
| date_of_decision | string | Filter by date of decision |
| publication_date | string | Filter by publication date |
| date_of_enactment | string | Filter by date of enactment |
| issuing_authority | string | Filter by issuing authority |
| source_identifier | string | Filter by source identifier |
| type_of_authority | string | Filter by type of authority |
| source_secondary_identifier | string | Filter by secondary source identifier |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"iso"
],
"properties": {
"iso": {
"type": "string",
"description": "Filter by Jurisdiction ISO code (e.g. 'US')"
},
"tag": {
"type": "string",
"description": "Filter by tag"
},
"url": {
"type": "string",
"description": "Filter by URL"
},
"lang": {
"type": "string",
"description": "Filter by language"
},
"limit": {
"type": "number",
"description": "Number of results to return"
},
"title": {
"type": "string",
"description": "Filter by title"
},
"offset": {
"type": "number",
"description": "Number of results to skip"
},
"portal": {
"type": "string",
"description": "Filter by portal name"
},
"status": {
"type": "string",
"description": "Filter by status"
},
"version": {
"type": "string",
"description": "Filter by version"
},
"repealed": {
"type": "boolean",
"description": "Filter by repealed status"
},
"document_id": {
"type": "string",
"description": "Filter by document ID"
},
"last_updated": {
"type": "string",
"description": "Filter by last updated date"
},
"crawling_date": {
"type": "string",
"description": "Filter by crawling date"
},
"section_title": {
"type": "string",
"description": "Filter by section title"
},
"effective_date": {
"type": "string",
"description": "Filter by effective date"
},
"file_data_only": {
"type": "boolean",
"description": "Return file data only"
},
"last_amendment": {
"type": "string",
"description": "Filter by last amendment date"
},
"expiration_date": {
"type": "string",
"description": "Filter by expiration date"
},
"date_of_decision": {
"type": "string",
"description": "Filter by date of decision"
},
"publication_date": {
"type": "string",
"description": "Filter by publication date"
},
"date_of_enactment": {
"type": "string",
"description": "Filter by date of enactment"
},
"issuing_authority": {
"type": "string",
"description": "Filter by issuing authority"
},
"source_identifier": {
"type": "string",
"description": "Filter by source identifier"
},
"type_of_authority": {
"type": "string",
"description": "Filter by type of authority"
},
"source_secondary_identifier": {
"type": "string",
"description": "Filter by secondary source identifier"
}
},
"additionalProperties": false
}