# Regulatory Intelligence API > Look up UK legislation records and search US Federal Register documents, agencies, and effective dates. Each POST has a fixed USDC price on Base, paid with the x402 exact scheme. The request is validated first, and payment settles only after a successful (2xx) result. Failed calls are not charged. 1. POST JSON matching the requestBody. Invalid input returns 400 with no payment challenge. 2. A valid unpaid call returns 402 with the exact amount and payTo. 3. Pay and retry with payment-signature. Payment settles only if the operation returns 2xx. A 4xx/5xx is not charged. - Product: https://www.brainiac.software/api/regulatory-intelligence - Docs: https://www.brainiac.software/api/regulatory-intelligence/docs - OpenAPI: https://www.brainiac.software/api/regulatory-intelligence/openapi.json - Contact: support@brainiac.software (https://www.brainiac.software/contact) ## Operations ### POST /api/v1/regulatory-intelligence/uk/search $0.05 USDC. Search UK legislation by keyword, document type, year, and jurisdiction. Note: legislation.gov.uk does not provide a public JSON search API. This endpoint has limited functionality. Inputs: query, legislationType?, year?, jurisdiction?, limit? Docs: https://www.brainiac.software/api/regulatory-intelligence/docs#regulatory-intelligence-uk-search Example request: ```json { "query": "health", "year": 2023, "legislationType": "ukpga", "limit": 20 } ``` Example response: ```json undefined ``` ### POST /api/v1/regulatory-intelligence/uk/details $0.05 USDC. Retrieve UK legislation details, publication dates, commencement information, and amendment metadata from legislation.gov.uk XML data. Inputs: documentId Docs: https://www.brainiac.software/api/regulatory-intelligence/docs#regulatory-intelligence-uk-details Example request: ```json { "documentId": "ukpga/2023/17" } ``` Example response: ```json undefined ``` ### POST /api/v1/regulatory-intelligence/us/search $0.05 USDC. Search US Federal Register documents by keyword, agency, document type, and publication date using the official federalregister.gov API. Inputs: query, agencyId?, documentType?, publicationDateFrom?, publicationDateTo?, limit?, page? Docs: https://www.brainiac.software/api/regulatory-intelligence/docs#regulatory-intelligence-us-search Example request: ```json { "query": "environmental", "agencyId": 492, "publicationDateFrom": "2026-01-01", "limit": 20, "page": 1 } ``` Example response: ```json undefined ``` ### POST /api/v1/regulatory-intelligence/us/details $0.03 USDC. Retrieve US Federal Register document details and effective dates from the official federalregister.gov API. Inputs: documentNumber Docs: https://www.brainiac.software/api/regulatory-intelligence/docs#regulatory-intelligence-us-details Example request: ```json { "documentNumber": "2026-22386" } ``` Example response: ```json undefined ``` ### POST /api/v1/regulatory-intelligence/us/agencies $0.02 USDC. Retrieve list of US Federal Register agencies with their IDs and metadata from the official federalregister.gov API. Inputs: query?, limit?, page? Docs: https://www.brainiac.software/api/regulatory-intelligence/docs#regulatory-intelligence-us-agencies Example request: ```json { "query": "environmental", "limit": 50, "page": 1 } ``` Example response: ```json undefined ```