{"openapi":"3.0.3","info":{"title":"SIA Verify API","version":"1.0.0","description":"OfficialLookup.com API (previously SIA Verify). This document lists the public checks (the SIA licence routes and the UK and US lookups marked public) and the customer key and account routes. The SIA licence routes need an API key (the home page checker allows 1 free check per visitor per UK day). Without one, most other lookup endpoints allow 3 requests a day per slug per IP. That allowance is not an API key. A paid key starts at Essential, £4 a month for 200 requests. Pass `X-API-Key: …` for that monthly cap. Results come from public sources we don't control. Speed and availability depend on those sources. Each response shows when the data was checked. https://officiallookup.com is the primary host. https://siaverify.co.uk is a legacy hostname: pages may redirect at cutover, but /api on siaverify.co.uk stays in place so existing clients keep working.","contact":{"name":"OfficialLookup","url":"https://officiallookup.com"}},"servers":[{"url":"https://officiallookup.com","description":"Primary"},{"url":"https://siaverify.co.uk","description":"Legacy hostname. /api is still served here and is not redirected."}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"},"SessionCookie":{"type":"apiKey","in":"cookie","name":"ol_session"}}},"paths":{"/api/licence/check":{"post":{"summary":"Check a SIA licence by 16-digit licence number","tags":["SIA Licence"],"security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["licenceNumber"],"properties":{"licenceNumber":{"type":"string","pattern":"^\\d{16}$","example":"1010108975317168"}}}}}},"responses":{"200":{"description":"Licence record (or `found:false` if not on the SIA register).","content":{"application/json":{"schema":{"type":"object","properties":{"found":{"type":"boolean"},"name":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true},"surname":{"type":"string","nullable":true},"role":{"type":"string","nullable":true},"licenceType":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"statusDate":{"type":"string","nullable":true},"statusExplanation":{"type":"string","nullable":true,"description":"Always null. Check the official SIA register for details."},"additionalConditions":{"type":"string","nullable":true,"description":"Always null. Check the official SIA register for details."},"expiryDate":{"type":"string","nullable":true},"source":{"type":"string","example":"SIA Register of Licence Holders","description":"The source of the result."},"attribution":{"type":"object","description":"Open Government Licence statement. Keep it with the result if you display or pass it on.","properties":{"text":{"type":"string","example":"Contains public sector information licensed under the Open Government Licence v3.0"},"url":{"type":"string","example":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"}}},"checkedAt":{"type":"string","format":"date-time","description":"When the data was fetched from the register (ISO 8601, UTC)."},"checkStatus":{"type":"string","enum":["OK"],"description":"OK for a completed check."},"cached":{"type":"boolean","description":"Always false. Every check is made live against the register; kept for compatibility."}}}}}},"202":{"description":"checkStatus PENDING. Home page checker only (no API key): the same number is already being fetched. Retry after Retry-After seconds. Keyed calls wait instead. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}},"401":{"description":"No API key, or the key is not valid. A request with no key is refused with a link to pricing."},"429":{"description":"Monthly allowance or per-minute limit reached for this key."},"502":{"description":"checkStatus SERVICE_UNAVAILABLE (the register failed) or PARSE_ERROR (its reply was in a format we could not read). No result is given. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}},"503":{"description":"checkStatus SERVICE_UNAVAILABLE: the register is busy or down (the home page checker uses 503 for every SERVICE_UNAVAILABLE). Retry later. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}},"504":{"description":"checkStatus SERVICE_UNAVAILABLE: the register did not respond in time. Retry later. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}}}}},"/api/lookup/postcode":{"get":{"summary":"UK Postcode Lookup","description":"Get full ONS data for any UK postcode: latitude and longitude, region, council, parliamentary constituency, ward, LSOA and more.\n\nReverse mode: supply lat + lng instead of a postcode and you get the nearest postcodes. Powered by the open postcodes.io project.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"postcode","in":"query","description":"Either supply a postcode for forward lookup, or lat+lng for reverse geocoding.","required":false,"schema":{"type":"string","example":"SW1A 1AA"}},{"name":"lat","in":"query","description":"Latitude (reverse geocode)","required":false,"schema":{"type":"string","example":"51.5010"}},{"name":"lng","in":"query","description":"Longitude (reverse geocode)","required":false,"schema":{"type":"string","example":"-0.1416"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/police-neighbourhoods":{"get":{"summary":"Police Neighbourhoods","description":"Get the neighbourhood policing teams, with their team IDs, for the police force you name. Find force IDs with the police-forces lookup, for example 'metropolitan', 'west-midlands' or 'avon-and-somerset'.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"force","in":"query","description":"Force slug as returned by the police-forces lookup.","required":true,"schema":{"type":"string","example":"metropolitan"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/police-stop-search":{"get":{"summary":"Stop & Search by Postcode","description":"Get recorded stop-and-search incidents within roughly a 1-mile radius of your postcode, for the latest month published by data.police.uk. Each record includes self-defined ethnicity, gender, age range, legislation and outcome.\n\nCoverage is England, Wales and Northern Ireland. Police Scotland is not included.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"postcode","in":"query","description":"Postcode","required":true,"schema":{"type":"string","example":"M1 1AE"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/police-crimes":{"get":{"summary":"Street-level Crime","description":"Get recorded crimes (anti-social behaviour, burglary, violence and others) within roughly a 1-mile radius of your postcode, for the latest month published by data.police.uk.\n\nSupply a postcode, which is geocoded automatically, or raw lat + lng coordinates if you already have them. Coverage is England, Wales and Northern Ireland. Police Scotland is not included.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"postcode","in":"query","description":"Postcode (auto-geocoded)","required":false,"schema":{"type":"string","example":"M1 1AE"}},{"name":"lat","in":"query","description":"Latitude (alternative to postcode)","required":false,"schema":{"type":"string","example":"53.4794"}},{"name":"lng","in":"query","description":"Longitude (alternative to postcode)","required":false,"schema":{"type":"string","example":"-2.2453"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/police-forces":{"get":{"summary":"UK Police Forces","description":"Get the complete list of UK police forces published by data.police.uk, with each force's id and name. Use it as a directory or join it with other crime data.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/food-hygiene":{"get":{"summary":"Food Hygiene Ratings","description":"Get Food Standards Agency hygiene ratings by UK postcode, business name or both. Each result includes business name, address, scheme rating (0 to 5, or Pass/Improvement Required) and inspection date.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"postcode","in":"query","description":"Postcode (optional)","required":false,"schema":{"type":"string","example":"EC1A 1BB"}},{"name":"name","in":"query","description":"Either a postcode or a business name (or both) is required.","required":false,"schema":{"type":"string","example":"The Ivy"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/govuk-search":{"get":{"summary":"gov.uk Content Search","description":"Search the entire gov.uk website (departments, guidance, news, statistics, manuals) and get matching pages with title, description and link. Powered by the public gov.uk Search API.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string","example":"right to work"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/trade-tariff":{"get":{"summary":"UK Trade Tariff Search","description":"Search the official UK Integrated Online Tariff by keyword for commodity codes (HS codes), duty rates and import/export classifications. Powered by the HMRC Trade Tariff service.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string","example":"olive oil"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/get-information-schools":{"get":{"summary":"Ofsted Reports & School Data","description":"Search Ofsted's published school inspection reports, the official record of every state-school inspection in England. The lookup queries the gov.uk content API filtered to organisation=ofsted and format=ofsted_report.\n\nYou get per-school records: school name, inspection report URL, publish date and report description. The handler also returns a `gias` link for each result, so you can click through to the full Get Information about Schools record (URN, headteacher, age range, performance tables) on the DfE service.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","description":"Searches Ofsted's school-inspection report corpus — match by school name, location, MAT/trust or postcode.","required":true,"schema":{"type":"string","example":"Eton College"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/data-gov-uk-datasets":{"get":{"summary":"data.gov.uk Dataset Search","description":"Search the official data.gov.uk CKAN catalogue, which indexes datasets published by every UK government department. That includes the Department for Education's establishment and schools data, Ministry of Justice court statistics, NHS England, ONS and the devolved administrations. You get dataset titles, publishing organisation, links and descriptions.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","description":"e.g. 'schools', 'crime', 'NHS waiting times', 'rough sleeping'.","required":true,"schema":{"type":"string","example":"schools"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/bank-holidays":{"get":{"summary":"UK Bank Holidays","description":"Get the full upcoming and historical list of UK bank holidays for each division (england-and-wales, scotland, northern-ireland), sourced directly from gov.uk's bank holidays JSON feed.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"division","in":"query","description":"Leave blank to return all three divisions.","required":false,"schema":{"type":"string","example":"england-and-wales"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/flood-warnings":{"get":{"summary":"Flood Warnings","description":"Get the flood warnings and alerts the Environment Agency currently has active. Supply a postcode and you get only the warnings within about 10 km.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"postcode","in":"query","description":"Postcode (optional)","required":false,"schema":{"type":"string","example":"TQ4 7HE"}},{"name":"area","in":"query","description":"Filters warnings whose flood-area label or county matches the supplied text.","required":false,"schema":{"type":"string","example":"Devon"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/property-prices":{"get":{"summary":"Property Sale Prices","description":"Get the most recent Price Paid records for properties in your postcode, sourced directly from HM Land Registry's open Price Paid Data linked-data API.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"postcode","in":"query","description":"Postcode","required":true,"schema":{"type":"string","example":"SW1A 1AA"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/companies-house-search":{"get":{"summary":"Companies House Search","description":"Search the official Companies House register by company name or partial match. You get name, registration number, status, address and incorporation date for each matching company.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","description":"Company name or number","required":true,"schema":{"type":"string","example":"British Telecommunications"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/companies-house-officers":{"get":{"summary":"Companies House Officers","description":"Enter a company registration number and get the first page of officers for that Companies House registered company. Officers can include current and resigned directors, secretaries, members and LLP designated members. Each record includes name, role, appointment and resignation dates, nationality and country of residence.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"companyNumber","in":"query","description":"8-character Companies House registration number (use companies-house-search to find one).","required":true,"schema":{"type":"string","example":"00006400"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/companies-house-filings":{"get":{"summary":"Companies House Filing History","description":"Enter a registration number and get the chronological filing history for a Companies House registered company: accounts, confirmation statements, officer changes, charges, mortgages and more. Each item includes filed date, document description and links to the filed PDFs.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"companyNumber","in":"query","description":"Company number","required":true,"schema":{"type":"string","example":"00006400"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/uk-sanctions":{"get":{"summary":"UK Sanctions List","description":"Search the UK Sanctions List, maintained by the Foreign, Commonwealth & Development Office, for individuals and entities subject to UK financial, travel or other sanctions. You get the total number of matches and full designation details: regime, entity type, sanctions imposed, OFSI ID, document key and date designated. A zero-result response means no match was found on today's published list.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"name","in":"query","description":"Full or partial name of the person or organisation to search for.","required":true,"schema":{"type":"string","example":"Roman Abramovich"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/tfl-line-status":{"get":{"summary":"TfL Line Status","description":"Get the current real-time service status (Good Service / Minor Delays / Severe Delays / Suspended) for every Transport for London tube, overground, Elizabeth, DLR and tram line, sourced from the official unified TfL API.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/bathing-waters":{"get":{"summary":"Bathing Water Quality","description":"Get the Environment Agency's annual bathing-water classification (Excellent / Good / Sufficient / Poor) for designated coastal and inland bathing waters in England. Filter by free-text name (beach, town, river). No auth required.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"name","in":"query","description":"Bathing water or town name","required":true,"schema":{"type":"string","example":"Brighton"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/carbon-intensity":{"get":{"summary":"GB Carbon Intensity","description":"Get the live half-hourly carbon intensity of the Great Britain electricity grid (gCO₂/kWh), plus the 48-hour forecast and current generation mix (gas, wind, solar, nuclear and others). Powered by NESO's free, no-auth API.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/flood-stations":{"get":{"summary":"River & Tide Monitoring Stations","description":"Get the Environment Agency's real-time hydrology monitoring stations (river-level gauges, tide gauges, rainfall recorders) within about 10 km of your UK postcode. Each station includes its latest measurement and units.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"postcode","in":"query","description":"Postcode","required":true,"schema":{"type":"string","example":"YO1 7HU"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/air-quality":{"get":{"summary":"UK Air Quality Forecast","description":"Get DEFRA's official daily air-quality forecast for a UK region or city, the same data published on uk-air.defra.gov.uk. You see the headline pollution band (Low / Moderate / High / Very High) plus per-pollutant detail.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"region","in":"query","description":"UK region or city","required":true,"schema":{"type":"string","example":"Greater London"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/legislation-search":{"get":{"summary":"UK Legislation Search","description":"Search UK legislation by keyword through the gov.uk content search API and get 20 results, with titles, types, years, dates and links.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","description":"Search query","required":true,"schema":{"type":"string","example":"data protection"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/parliament-mps":{"get":{"summary":"Members of Parliament","description":"Search the official UK Parliament Members API for current sitting Members of the House of Commons and House of Lords. You get name, party, constituency (for MPs), membership start date and member ID. No auth required.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"name","in":"query","description":"Member name (surname or full)","required":true,"schema":{"type":"string","example":"Starmer"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/parliament-bills":{"get":{"summary":"Bills Before Parliament","description":"Get the Bills currently before the UK Parliament from the official Bills API, with title, current house, sponsoring member, last update and stage. Add an optional free-text query to narrow by Bill title.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"q","in":"query","description":"Bill title (optional)","required":false,"schema":{"type":"string","example":"Online Safety"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/uk-terrorism-threat":{"get":{"summary":"UK Terrorism Threat Level","description":"Get the current UK national terrorism threat level (LOW, MODERATE, SUBSTANTIAL, SEVERE or CRITICAL) as the government publishes it on GOV.UK. Each call fetches the level live from the official GOV.UK Content API. No inputs are required.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/lookup/hmrc-exchange-rates":{"get":{"summary":"HMRC Monthly Exchange Rates","description":"Get the official HM Revenue & Customs monthly exchange rates between Pound Sterling and every currency HMRC publishes. UK importers and exporters use them for VAT and customs declarations. Supply a YYYY-MM month, or leave it out to get the current month.","tags":["UK lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"month","in":"query","description":"Defaults to the current calendar month if omitted.","required":false,"schema":{"type":"string","example":"2026-05"}},{"name":"currency","in":"query","description":"Currency code (optional, e.g. USD)","required":false,"schema":{"type":"string","example":"USD"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-debt-to-penny":{"get":{"summary":"US National Debt (Debt to the Penny)","description":"Get the most recent Debt to the Penny record from the US Treasury Fiscal Data API: the official daily snapshot of total US federal public debt, including intragovernmental holdings and debt held by the public. Updated every Treasury business day.","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-treasury-exchange-rates":{"get":{"summary":"US Treasury Reporting Rates of Exchange","description":"Get the US Treasury Reporting Rates of Exchange, the official rates US federal agencies must use when converting foreign-currency receipts and payments to USD for reporting. Optionally filter by country/currency description (e.g. 'United Kingdom-Pound', 'Japan-Yen').","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"country_currency","in":"query","description":"Optional. Use the Treasury format like 'Japan-Yen', 'Canada-Dollar' or 'Euro Zone-Euro'. Leave blank for the latest period across all currencies.","required":false,"schema":{"type":"string","example":"United Kingdom-Pound"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-treasury-avg-interest":{"get":{"summary":"US Avg Interest Rates on Treasury Securities","description":"Get the US Treasury's monthly average interest rates on outstanding marketable and non-marketable securities (bills, notes, bonds, TIPS, FRNs and others). These are the cost-of-borrowing figures used in federal budget reporting.","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-treasury-mts":{"get":{"summary":"US Monthly Treasury Statement","description":"Get the most recent Monthly Treasury Statement summary records: total federal receipts, outlays and the resulting surplus or deficit for the current month and fiscal year to date.","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-fbi-wanted":{"get":{"summary":"FBI Wanted Persons","description":"Get the persons listed on the FBI's public Wanted register: fugitives, missing persons, kidnappings, ViCAP and seeking-information cases. Optionally filter by free-text title (a name, keyword or city).","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"title","in":"query","description":"Optional free-text filter against the case title. Leave blank to list the most recently updated cases.","required":false,"schema":{"type":"string","example":"cyber"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-sec-edgar":{"get":{"summary":"SEC EDGAR Company Filings","description":"Get the most recent filings for a US-listed public company from the SEC EDGAR system: annual reports (10-K), quarterly reports (10-Q), 8-Ks, insider transactions and more. Enter a stock ticker (e.g. AAPL, MSFT) or a SEC Central Index Key (CIK).","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"ticker","in":"query","description":"Stock ticker symbol (e.g. AAPL, MSFT, TSLA) or a 10-digit SEC CIK.","required":true,"schema":{"type":"string","example":"AAPL"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-usaspending-awards":{"get":{"summary":"USAspending Federal Awards","description":"Get the largest recent US federal awards (contracts, grants, loans, direct payments) matching a keyword. Powered by USAspending.gov, the official source of US federal spending data, mandated by the DATA Act.","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"keyword","in":"query","description":"Keyword to search award descriptions, recipient names and award IDs.","required":true,"schema":{"type":"string","example":"solar"}},{"name":"awardType","in":"query","description":"Federal awards are grouped — pick contracts, grants or loans (defaults to contracts).","required":false,"schema":{"type":"string","example":"contracts"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-fda-drug-recalls":{"get":{"summary":"FDA Drug Recalls & Enforcement","description":"Get the most recent drug recall and enforcement records from the US Food and Drug Administration, optionally filtered by recall classification (Class I = most serious, II, or III).","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"classification","in":"query","description":"Optional. Class I = most serious (reasonable probability of serious health consequences).","required":false,"schema":{"type":"string","example":"Class I"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-fda-food-recalls":{"get":{"summary":"FDA Food Recalls & Enforcement","description":"Get the most recent food recall and enforcement records from the US Food and Drug Administration, optionally filtered by recall classification.","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"classification","in":"query","description":"Optional. Class I = most serious (reasonable probability of serious health consequences).","required":false,"schema":{"type":"string","example":"Class I"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-usgs-earthquakes":{"get":{"summary":"USGS Recent Earthquakes","description":"Get recent earthquakes recorded by the US Geological Survey above a minimum magnitude you choose, newest first. Each event includes magnitude, place, time, depth and coordinates.","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"minMagnitude","in":"query","description":"Defaults to 4.5. Lower values can return very large lists.","required":false,"schema":{"type":"string","example":"4.5"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-nws-alerts":{"get":{"summary":"US Weather Alerts (NWS)","description":"Get the weather alerts and warnings the US National Weather Service currently has active for a US state or territory (two-letter postal code, e.g. CA, FL, NY).","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[{"name":"state","in":"query","description":"Two-letter US state or territory postal code.","required":true,"schema":{"type":"string","example":"CA"}}],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/us/lookup/us-fbi-press":{"get":{"summary":"FBI National Press Releases","description":"Get the most recent national press releases published by the FBI, the principal investigative agency of the US Department of Justice. Parsed from the official FBI RSS feed into structured JSON items (title, link, pubDate, description).","tags":["US lookups"],"security":[{"ApiKeyAuth":[]}],"parameters":[],"responses":{"200":{"description":"Lookup result envelope","content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"type":"object","description":"The public source this result came from.","properties":{"name":{"type":"string"},"url":{"type":"string"}}},"fetchedAt":{"type":"string","format":"date-time"},"snapshotId":{"type":"string","description":"Kept for compatibility. Results are not stored, so this id cannot be fetched later."},"data":{"type":"object","additionalProperties":true,"description":"Lookup payload — shape depends on the upstream gov source."}}}}}},"400":{"description":"Bad input — missing or malformed parameter"},"429":{"description":"Rate limit exceeded (3/day per slug, anonymous)"},"502":{"description":"Upstream gov API returned an error"},"503":{"description":"Provider key not configured on this server"}}}},"/api/sia-licence-check":{"post":{"summary":"SIA licence check, one number at a time","description":"Checks one licence number against the SIA Register of Licence Holders. Spaces and dashes are removed. An API key is required. A request without one is refused with 401 and a link to pricing. The only exception is the checker on the officiallookup.com home page, which allows 1 free check per visitor per UK day. The licence number and result are not stored. checkedAt shows when the data was fetched. statusExplanation and additionalConditions are always null. Check the official SIA register for details. Failed checks carry checkStatus SERVICE_UNAVAILABLE, PENDING (home page checker only) or PARSE_ERROR and are not counted.","tags":["SIA Licence"],"security":[{"ApiKeyAuth":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["licenceNumber"],"properties":{"licenceNumber":{"type":"string","example":"1010108975317168"},"company_website":{"type":"string","description":"Leave this empty. A value here is rejected and does not count."}}}}}},"responses":{"200":{"description":"Register result. found is false when the number is not on the register. This call counts.","content":{"application/json":{"schema":{"type":"object","properties":{"found":{"type":"boolean"},"source":{"type":"string","example":"SIA Register of Licence Holders","description":"The source of the result."},"attribution":{"type":"object","description":"Open Government Licence statement. Keep it with the result if you display or pass it on.","properties":{"text":{"type":"string","example":"Contains public sector information licensed under the Open Government Licence v3.0"},"url":{"type":"string","example":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"}}},"checkedAt":{"type":"string","format":"date-time","description":"When the data was fetched from the register (ISO 8601, UTC)."},"checkStatus":{"type":"string","enum":["OK"],"description":"OK for a completed check."},"cached":{"type":"boolean","description":"Always false. Every check is made live against the register; kept for compatibility."}},"additionalProperties":true}}}},"202":{"description":"checkStatus PENDING. Home page checker only (no API key): the same number is already being fetched. Retry after Retry-After seconds. Keyed calls wait instead. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}},"400":{"description":"The number is not 16 digits, or the honeypot was filled."},"401":{"description":"No API key, or the key is not valid. A request with no key is refused with a link to pricing."},"429":{"description":"Monthly allowance or per-minute limit reached for this key."},"502":{"description":"checkStatus SERVICE_UNAVAILABLE (the register failed) or PARSE_ERROR (its reply was in a format we could not read). No result is given. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}},"503":{"description":"checkStatus SERVICE_UNAVAILABLE: the register is busy or down (the home page checker uses 503 for every SERVICE_UNAVAILABLE). Retry later. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}},"504":{"description":"checkStatus SERVICE_UNAVAILABLE: the register did not respond in time. Retry later. Not counted.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"Plain message, with a link to the official SIA register."},"checkStatus":{"type":"string","enum":["SERVICE_UNAVAILABLE","PENDING","PARSE_ERROR"]},"retryAfterSeconds":{"type":"integer"},"registerUrl":{"type":"string","example":"https://rolh.services.sia.homeoffice.gov.uk/"},"detail":{"type":"string"}}}}}}}}},"/api/key-requests":{"post":{"summary":"Ask for an API key","description":"Saves a request for a person to review. This route does not create an API key.","tags":["Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","email","plan"],"properties":{"name":{"type":"string"},"email":{"type":"string","format":"email"},"company":{"type":"string"},"plan":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"201":{"description":"Request saved. The body is { ok: true, id }."},"400":{"description":"Name, email, or plan is missing or invalid."}}}},"/api/account/status":{"get":{"summary":"Whether account sign-in is available on this host","tags":["Account"],"responses":{"200":{"description":"{ enabled, testMode }."}}}},"/api/account/link":{"post":{"summary":"Email a one-time sign-in link","tags":["Account"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"}}}}}},"responses":{"200":{"description":"{ sent: true }. The link is not included when mail is sent."},"400":{"description":"Email is invalid."},"429":{"description":"Too many link requests."}}}},"/api/account/enter":{"get":{"summary":"Open a sign-in link","tags":["Account"],"parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"303":{"description":"Redirects to /account and sets the session cookie."}}}},"/api/account/sign-out":{"post":{"summary":"End the account session","tags":["Account"],"responses":{"200":{"description":"Session cookie cleared."}}}},"/api/account/keys":{"get":{"summary":"List the signed-in customer's API keys","description":"Returns prefixes, plan, and usage. The key secret is not included.","tags":["Account"],"security":[{"SessionCookie":[]}],"responses":{"200":{"description":"{ email, keys }."},"401":{"description":"Sign in required."}}}},"/api/account/keys/{id}/rotate":{"post":{"summary":"Replace one API key","description":"The new key secret is returned once. The previous key stops working.","tags":["Account"],"security":[{"SessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"{ key, prefix, name, id }."},"401":{"description":"Sign in required."},"404":{"description":"That key is not on this account."}}}},"/api/account/billing":{"post":{"summary":"Open billing for one key","tags":["Account"],"security":[{"SessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}}}},"responses":{"200":{"description":"{ url } for the billing portal."},"401":{"description":"Sign in required."}}}},"/api/account/portal":{"post":{"summary":"Test-mode billing actions","description":"Live mode returns 404. Test mode accepts action change or cancel.","tags":["Account"],"security":[{"SessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","action"],"properties":{"id":{"type":"string"},"action":{"type":"string","enum":["change","cancel"]}}}}}},"responses":{"200":{"description":"Test billing action applied."},"404":{"description":"Not available on this host."}}}},"/api/account/plan":{"post":{"summary":"Preview or change the plan on one key","tags":["Account"],"security":[{"SessionCookie":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["id","action"],"properties":{"id":{"type":"string"},"action":{"type":"string","enum":["preview","upgrade","downgrade"]}}}}}},"responses":{"200":{"description":"Preview amount, or the plan change."},"401":{"description":"Sign in required."}}}}}}