{"openapi":"3.0.2","info":{"title":"UK Business and Compliance APIs","version":"1.1.0","description":"Business check (Companies House profile, filings and overdue flags, EORI (UK VAT coming soon), Charity Commission status, risk flags), sanctions screening against the UK, OFAC and EU lists, and company monitoring with Gazette insolvency notices and Companies House changes as signed webhooks. Officers, persons with significant control, charges and filing history on request (month and year of birth only, never addresses of individuals). Sanctions results are a screening aid, not legal advice. Sandbox fixtures (https://api.tychelabs.net/docs/sandbox) work on a direct tl_test_ key; marketplace calls always return live data.","contact":{"name":"Tyche Labs","email":"info@tychelabs.net","url":"https://api.tychelabs.net"},"termsOfService":"https://api.tychelabs.net/terms","license":{"name":"Contains public sector information licensed under the Open Government Licence v3.0","url":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/"},"x-logo":{"url":"https://api.tychelabs.net/logo.png"}},"externalDocs":{"description":"Guides, error codes and sandbox values","url":"https://api.tychelabs.net/docs"},"servers":[{"url":"https://api.tychelabs.net","description":"Production (use a tl_test_ key for sandbox data)"}],"security":[],"tags":[{"name":"Companies","description":"Companies House profile, filings and risk flags"},{"name":"VAT","description":"HMRC VAT number validation and EORI checks"},{"name":"Sanctions","description":"Screening against the UK, OFAC and EU sanctions lists"},{"name":"Watches","description":"Webhooks before MOT or tax expiry, or when a company changes"},{"name":"Account","description":"Plan and usage"}],"paths":{"/v1/companies/{number}":{"get":{"summary":"Check a company","operationId":"checkCompany","tags":["Companies"],"parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"example":"16716814","description":"Companies House number (8 characters; leading zeros added for you)."},{"name":"vat","in":"query","schema":{"type":"string"},"example":"GB553557881","description":"Optional VAT number to validate with HMRC and compare with the company name."},{"name":"include","in":"query","schema":{"type":"string"},"example":"charity","description":"Comma-separated extra sources. Default: charity."}],"responses":{"200":{"description":"Company check","headers":{"x-usage-limit":{"description":"Calls included in your plan this month","schema":{"type":"integer"}},"x-usage-remaining":{"description":"Calls left this month","schema":{"type":"integer"}},"x-request-id":{"description":"Quote this if you contact support","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Check"},"meta":{"$ref":"#/components/schemas/Meta"}}},"examples":{"active":{"summary":"Active company with a VAT number check (sandbox)","value":{"data":{"company":{"number":"12345678","name":"EXAMPLE TRADING LIMITED","status":"active","statusDetail":null,"type":"ltd","jurisdiction":"england-wales","incorporatedOn":"2019-04-02","dissolvedOn":null,"ageYears":7.6,"sicCodes":["62012"],"registeredOffice":{"locality":"London","postcode":"EC1A 1AA","country":"England","inDispute":false,"undeliverable":false},"accounts":{"nextDue":"2027-01-31","overdue":false,"lastMadeUpTo":"2025-04-30","lastType":"micro-entity"},"confirmationStatement":{"nextDue":"2027-04-16","overdue":false,"lastMadeUpTo":"2026-04-02"},"hasInsolvencyHistory":false,"hasCharges":true,"officers":{"active":2,"resigned":1},"personsWithSignificantControl":{"active":1,"ceased":0},"filings":{"total":21,"registeredOfficeChanges12Months":1,"latest":[{"date":"2026-04-10","category":"confirmation-statement","type":"CS01","description":"confirmation-statement-with-no-updates"},{"date":"2026-01-20","category":"accounts","type":"AA","description":"accounts-with-accounts-type-micro-entity"},{"date":"2026-08-01","category":"address","type":"AD01","description":"change-registered-office-address-company-with-date-old-address-new-address"}]}},"vat":{"valid":true,"vatNumber":"GB553557881","name":"EXAMPLE TRADING LIMITED","address":{"line1":"1 Example Street","postcode":"EC1A 1AA","countryCode":"GB"},"checkedAt":"2026-11-22T09:00:00.000Z"},"fca":null,"charity":{"found":false},"flags":[{"code":"has_charges","severity":"info","message":"Company has registered charges (secured lending)."}],"risk":"none"},"meta":{"requestId":"req_3f9a1c2b7d","sandbox":true,"sources":{"companiesHouse":{"status":"ok"}},"attribution":"Contains public sector information licensed under the Open Government Licence v3.0. Not affiliated with or endorsed by the DVLA, DVSA, Companies House, HMRC or the Charity Commission."}}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_company_number":{"value":{"error":{"code":"invalid_company_number","message":"Send a Companies House number, for example 16716814 or SC123456."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No company found (billed). Sandbox: 00000000.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"company_not_found","message":"No company found with that number."},"meta":{"requestId":"req_3f9a1c2b7d","sandbox":true,"attribution":"Contains public sector information licensed under the Open Government Licence v3.0. Not affiliated with or endorsed by the DVLA, DVSA, Companies House, HMRC or the Charity Commission."}}}}},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"error":{"code":"upstream_unavailable","message":"Companies House is unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/companies/{number}/officers":{"get":{"summary":"Company officers (one check)","operationId":"listOfficers","tags":["Companies"],"description":"As published by Companies House: names, roles, dates, nationality, country of residence, occupation or nature of control, month and year of birth. Never the day of birth or an address of an individual.","parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"example":"16716814"},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"size","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"items[] with totals and paging (page, size, hasMore)"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_company_number":{"value":{"error":{"code":"invalid_company_number","message":"Send a Companies House number, for example 16716814 or SC123456."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No company found (billed)"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/companies/{number}/persons-with-significant-control":{"get":{"summary":"Persons with significant control (one check)","operationId":"listPsc","tags":["Companies"],"description":"As published by Companies House: names, roles, dates, nationality, country of residence, occupation or nature of control, month and year of birth. Never the day of birth or an address of an individual.","parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"example":"16716814"},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"size","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"items[] with totals and paging (page, size, hasMore)"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_company_number":{"value":{"error":{"code":"invalid_company_number","message":"Send a Companies House number, for example 16716814 or SC123456."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No company found (billed)"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/companies/{number}/charges":{"get":{"summary":"Registered charges (one check)","operationId":"listCharges","tags":["Companies"],"parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"example":"16716814"},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"size","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}}],"responses":{"200":{"description":"items[] with totals and paging (page, size, hasMore)"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_company_number":{"value":{"error":{"code":"invalid_company_number","message":"Send a Companies House number, for example 16716814 or SC123456."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No company found (billed)"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/companies/{number}/filing-history":{"get":{"summary":"Filing history (one check)","operationId":"listFilings","tags":["Companies"],"parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"example":"16716814"},{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"size","in":"query","schema":{"type":"integer","minimum":1,"maximum":100}},{"name":"category","in":"query","schema":{"type":"string"},"example":"accounts"}],"responses":{"200":{"description":"items[] with totals and paging (page, size, hasMore)"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_company_number":{"value":{"error":{"code":"invalid_company_number","message":"Send a Companies House number, for example 16716814 or SC123456."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No company found (billed)"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/companies/{number}/ownership":{"get":{"summary":"UK ownership check: owners at 50% or more with potential sanctions matches","operationId":"ownershipCheck","tags":["Companies"],"description":"Follows persons with significant control up through UK corporate owners and screens each owner. One business check per company read; sanctions screens included. A screening aid, not legal advice.","parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string"},"example":"09999997"},{"name":"depth","in":"query","schema":{"type":"integer","minimum":1,"maximum":5}},{"name":"threshold","in":"query","schema":{"type":"integer","minimum":70,"maximum":100,"default":85}}],"responses":{"200":{"description":"result (clear, review, flag), flags[], owners[], companies[], incomplete[], lists[], disclaimer"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_query":{"value":{"error":{"code":"invalid_query","message":"depth must be between 1 and 2 on your plan."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No company found (billed)"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/companies/search":{"get":{"summary":"Search companies by name","operationId":"searchCompanies","tags":["Companies"],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2},"example":"example trading"}],"responses":{"200":{"description":"Up to 10 matches","headers":{"x-usage-limit":{"description":"Calls included in your plan this month","schema":{"type":"integer"}},"x-usage-remaining":{"description":"Calls left this month","schema":{"type":"integer"}},"x-request-id":{"description":"Quote this if you contact support","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"number":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusDetail":{"type":"string","nullable":true},"type":{"type":"string"},"jurisdiction":{"type":"string","nullable":true},"dissolvedOn":{"type":"string","format":"date","nullable":true},"incorporatedOn":{"type":"string","nullable":true},"postcode":{"type":"string","nullable":true}}}}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"examples":{"one":{"summary":"One match (sandbox)","value":{"data":{"items":[{"number":"09999999","name":"EXAMPLE TRADING LIMITED","status":"active","incorporatedOn":"2019-04-02","postcode":"EC1A 1AA"}]},"meta":{"requestId":"req_3f9a1c2b7d","sandbox":true,"attribution":"Contains public sector information licensed under the Open Government Licence v3.0. Not affiliated with or endorsed by the DVLA, DVSA, Companies House, HMRC or the Charity Commission."}}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_query":{"value":{"error":{"code":"invalid_query","message":"Send q with 2 to 160 characters."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/eori/{eori}":{"get":{"summary":"Check a UK or EU EORI number","operationId":"checkEori","tags":["VAT"],"parameters":[{"name":"eori","in":"path","required":true,"schema":{"type":"string"},"example":"GB123456789000"}],"responses":{"200":{"description":"Whether the EORI is registered","headers":{"x-usage-limit":{"description":"Calls included in your plan this month","schema":{"type":"integer"}},"x-usage-remaining":{"description":"Calls left this month","schema":{"type":"integer"}},"x-request-id":{"description":"Quote this if you contact support","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"eori":{"type":"string"},"valid":{"type":"boolean"},"name":{"type":"string","nullable":true},"address":{"type":"object","nullable":true},"processingDate":{"type":"string"},"source":{"type":"string","enum":["hmrc","eu_eos"]}}},"meta":{"$ref":"#/components/schemas/Meta"}}},"examples":{"uk":{"summary":"Registered UK EORI (sandbox)","value":{"data":{"eori":"GB123456789000","valid":true,"name":null,"address":null,"processingDate":"2026-11-24T09:00:00+00:00","source":"hmrc"},"meta":{"requestId":"req_7e1a9c3b5d2f4a80","sandbox":true,"sources":{"hmrc":{"status":"ok"}},"usage":{"plan":"free","used":2,"limit":50,"period":"2026-11"}}}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_eori":{"value":{"error":{"code":"invalid_eori","message":"Send an EORI number with its country prefix, for example GB123456789000 or DE1234567."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/vat/{vatNumber}":{"get":{"summary":"Validate a UK VAT number with HMRC (coming soon)","operationId":"checkVat","tags":["VAT"],"parameters":[{"name":"vatNumber","in":"path","required":true,"schema":{"type":"string"},"example":"GB553557881"}],"responses":{"200":{"description":"Validity, registered name and address","headers":{"x-usage-limit":{"description":"Calls included in your plan this month","schema":{"type":"integer"}},"x-usage-remaining":{"description":"Calls left this month","schema":{"type":"integer"}},"x-request-id":{"description":"Quote this if you contact support","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Vat"},"meta":{"$ref":"#/components/schemas/Meta"}}},"examples":{"valid":{"summary":"Valid VAT number (sandbox)","value":{"data":{"valid":true,"vatNumber":"GB553557881","name":"EXAMPLE TRADING LIMITED","address":{"line1":"1 Example Street","postcode":"EC1A 1AA","countryCode":"GB"},"checkedAt":"2026-11-22T09:00:00.000Z"},"meta":{"requestId":"req_3f9a1c2b7d","sandbox":true,"sources":{"hmrc":{"status":"ok"}},"attribution":"Contains public sector information licensed under the Open Government Licence v3.0. Not affiliated with or endorsed by the DVLA, DVSA, Companies House, HMRC or the Charity Commission."}}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_vat_number":{"value":{"error":{"code":"invalid_vat_number","message":"Send a UK VAT number, for example GB123456789."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/sanctions/screen":{"post":{"summary":"Screen a name against the UK, OFAC and EU sanctions lists","operationId":"screenSanctions","tags":["Sanctions"],"description":"Fuzzy screening of a person or an organisation. A screening aid, not legal advice: review every potential match. Names are never logged, and are stored only when you ask for a screening record (record: true).","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScreenQuery"},"example":{"name":"Example Trading Sanctioned LLC","type":"entity","threshold":80}}}},"responses":{"200":{"description":"Potential matches, with the list versions checked","headers":{"x-usage-limit":{"description":"Calls included in your plan this month","schema":{"type":"integer"}},"x-usage-remaining":{"description":"Calls left this month","schema":{"type":"integer"}},"x-request-id":{"description":"Quote this if you contact support","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ScreenResult"},"meta":{"$ref":"#/components/schemas/Meta"}}},"examples":{"entity":{"summary":"Entity with two potential matches (sandbox)","value":{"data":{"query":{"type":"entity","dob":null,"country":null,"threshold":80,"lists":["uk","ofac_sdn","ofac_cons","eu"]},"matchCount":2,"matches":[{"score":100,"entryId":"ofac-sdn:900001","list":"ofac_sdn","type":"entity","name":"EXAMPLE TRADING SANCTIONED LLC","matchedName":"EXAMPLE TRADING SANCTIONED LLC","matchedOn":"name","aliases":["OOO EXAMPLE TRADING SANCTIONED"],"dob":[],"nationalities":[],"countries":["XX"],"programmes":["SANDBOX-EO00000"],"listedOn":null,"reasons":["exact name"]},{"score":100,"entryId":"uk:TST0001","list":"uk","type":"entity","name":"Example Trading Sanctioned LLC","matchedName":"Example Trading Sanctioned LLC","matchedOn":"name","aliases":["Example Trading Sanctioned Limited Liability Company","ETS LLC"],"dob":[],"nationalities":[],"countries":["XX"],"programmes":["Sandbox (Example) Regulations 2026"],"listedOn":"2026-01-15","reasons":["exact name"]}],"lists":[{"list":"uk","name":"UK Sanctions List (FCDO)","version":"sandbox","publishedAt":"2026-01-01","checkedAt":"2026-01-01T00:00:00.000Z","stale":false,"sandbox":true},{"list":"ofac_sdn","name":"OFAC Specially Designated Nationals","version":"sandbox","publishedAt":"2026-01-01","checkedAt":"2026-01-01T00:00:00.000Z","stale":false,"sandbox":true},{"list":"ofac_cons","name":"OFAC consolidated (non-SDN) lists","version":"sandbox","publishedAt":"2026-01-01","checkedAt":"2026-01-01T00:00:00.000Z","stale":false,"sandbox":true},{"list":"eu","name":"EU consolidated financial sanctions list","version":"sandbox","publishedAt":"2026-01-01","checkedAt":"2026-01-01T00:00:00.000Z","stale":false,"sandbox":true}],"screenedAt":"2026-11-24T09:00:00.000Z","disclaimer":"Screening aid, not legal advice or a clearance. Review every potential match before you act."},"meta":{"requestId":"req_5b2e7c1d9a3f4e60","sandbox":true,"stale":false,"partial":false,"sources":{"uk":{"status":"ok"},"ofac_sdn":{"status":"ok"},"ofac_cons":{"status":"ok"},"eu":{"status":"ok"}},"usage":{"plan":"free","used":7,"limit":50,"period":"2026-11"}}}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_name":{"value":{"error":{"code":"invalid_name","message":"Send name with 2 to 200 characters."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/sanctions/screen/bulk":{"post":{"summary":"Screen up to 25 names","operationId":"screenSanctionsBulk","tags":["Sanctions"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"queries":{"type":"array","maxItems":25,"items":{"$ref":"#/components/schemas/ScreenQuery"}}},"required":["queries"]},"example":{"queries":[{"name":"Example Trading Sanctioned LLC"},{"name":"Ivan Sandboxov","type":"individual","dob":"1965"}]}}}},"responses":{"200":{"description":"One result per query, in order. Each query counts as one screen."},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"too_many":{"value":{"error":{"code":"too_many","message":"Up to 25 queries per bulk call."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/sanctions/screen/csv":{"post":{"summary":"Screen a CSV file of names","operationId":"screenSanctionsCsv","tags":["Sanctions"],"description":"A header row with a name column (optional type, dob, country, reference), or one column of names. Each screened row counts as one screen; rows that cannot be screened are not counted. Rows per file depend on your plan. Up to 4 MB.","parameters":[{"name":"record","in":"query","schema":{"type":"boolean"}},{"name":"format","in":"query","schema":{"type":"string","enum":["json","csv"]}},{"name":"threshold","in":"query","schema":{"type":"integer","minimum":50,"maximum":100}},{"name":"lists","in":"query","schema":{"type":"string"},"example":"uk,ofac_sdn"},{"name":"type","in":"query","schema":{"type":"string","enum":["individual","entity","any"]}}],"requestBody":{"required":true,"content":{"text/csv":{"schema":{"type":"string"},"example":"name,type,dob,country,reference\nExample Trading Sanctioned LLC,entity,,RU,C-1\nIvan Sandboxov,individual,1965,,C-2\n"},"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"JSON summary with results[] (rows, screened, matchRows, notScreened, billed, checkId, resultsSha256), or a CSV file with format=csv"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_csv":{"value":{"error":{"code":"invalid_csv","message":"Add a header row with a \"name\" column (optional: type, dob, country, reference)."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"413":{"description":"Too many rows for your plan","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"too_many_rows":{"value":{"error":{"code":"too_many_rows","message":"Your Free plan screens up to 50 rows per upload."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"429":{"description":"Rate limit or monthly quota reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"quota_exceeded":{"value":{"error":{"code":"quota_exceeded","message":"You have used all 100 lookups in your Free plan this month. Request a paid plan at https://api.tychelabs.net/pricing"},"meta":{"requestId":"req_3f9a1c2b7d"}}},"rate_limited":{"value":{"error":{"code":"rate_limited","message":"Slow down: your plan allows 2 requests a second."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}},"503":{"description":"Upstream unavailable and no cached copy (not billed). Retry after the Retry-After header.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"upstream_unavailable":{"value":{"error":{"code":"upstream_unavailable","message":"Vehicle sources are unavailable right now. Please retry shortly; calls that fail like this are not counted."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}},"headers":{"retry-after":{"description":"Seconds to wait","schema":{"type":"integer"}}}}}}},"/v1/sanctions/checks":{"get":{"summary":"Your screening records, newest first (not counted)","operationId":"listSanctionsChecks","tags":["Sanctions"],"parameters":[{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":200}},{"name":"before","in":"query","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"Records: id, at, expiresAt, channel, requestId, rows, matchRows, lists with versions"},"401":{"description":"Marketplace authentication failed"}}}},"/v1/sanctions/checks/{id}":{"get":{"summary":"One screening record with its results","operationId":"getSanctionsCheck","tags":["Sanctions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The record and results[]"},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No such record on your account"}}},"delete":{"summary":"Delete a screening record","operationId":"deleteSanctionsCheck","tags":["Sanctions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted"},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No such record on your account"}}}},"/v1/sanctions/checks/{id}/certificate":{"get":{"summary":"PDF screening certificate","operationId":"sanctionsCertificate","tags":["Sanctions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"row","in":"query","schema":{"type":"integer","minimum":1}}],"responses":{"200":{"description":"The certificate: query, lists and versions, time, result, check ID and request ID","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No such record on your account"}}}},"/v1/sanctions/checks/{id}/results.csv":{"get":{"summary":"Results file of a recorded CSV batch","operationId":"sanctionsCheckCsv","tags":["Sanctions"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"CSV, same bytes as when screened (x-results-sha256)","content":{"text/csv":{"schema":{"type":"string"}}}},"401":{"description":"Marketplace authentication failed"},"404":{"description":"No such record on your account"}}}},"/v1/sanctions/lists":{"get":{"summary":"List versions and publication dates (not counted)","operationId":"sanctionsLists","tags":["Sanctions"],"responses":{"200":{"description":"Each list with version, publishedAt, checkedAt and stale"},"401":{"description":"Marketplace authentication failed"}}}},"/v1/watches":{"get":{"summary":"List your watches","operationId":"listWatches","tags":["Watches"],"responses":{"200":{"description":"Watches"},"401":{"description":"Marketplace authentication failed"}}},"post":{"summary":"Create a watch (webhook alerts)","operationId":"createWatch","tags":["Watches"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"registration":{"type":"string"},"companyNumber":{"type":"string"},"url":{"type":"string","format":"uri","description":"HTTPS endpoint that receives signed POSTs"},"daysBefore":{"type":"array","items":{"type":"integer"},"description":"Vehicle only. Default [30, 7, 1]."}},"required":["url"]},"example":{"companyNumber":"16716814","url":"https://example.com/hooks/tyche","events":["company.insolvency_notice","company.status_changed"],"emailDigest":true}}}},"responses":{"201":{"description":"Created"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_body":{"value":{"error":{"code":"invalid_body","message":"Send {\"registration\": \"AB12CDE\", \"url\": \"https://...\"} or {\"companyNumber\": \"16716814\", \"url\": \"https://...\"}."},"meta":{"requestId":"req_3f9a1c2b7d"}}},"invalid_target":{"value":{"error":{"code":"invalid_target","message":"That registration or company number is not valid."},"meta":{"requestId":"req_3f9a1c2b7d"}}},"live_key_required":{"value":{"error":{"code":"live_key_required","message":"Watches need a live key. Use POST /v1/watches/test-event with a test key to try a delivery."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"403":{"description":"Plan watch limit reached","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"watch_limit":{"value":{"error":{"code":"watch_limit","message":"Your Free plan allows 5 vehicle watches."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"409":{"description":"Already watching","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"watch_exists":{"value":{"error":{"code":"watch_exists","message":"You already watch that target with that URL."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}}}}},"/v1/watches/{id}":{"delete":{"summary":"Delete a watch","operationId":"deleteWatch","tags":["Watches"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Deleted"},"401":{"description":"Marketplace authentication failed"},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"not_found":{"value":{"error":{"code":"not_found","message":"No watch with that id."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}}}}},"/v1/watches/test-event":{"post":{"summary":"Send a sample signed event to a URL","operationId":"testEvent","tags":["Watches"],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"type":{"type":"string"}}}}}},"responses":{"200":{"description":"Sent. data.ok is true when your endpoint answered 2xx, false otherwise (with status or error)."},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"invalid_url":{"value":{"error":{"code":"invalid_url","message":"The webhook URL must be HTTPS and resolve to a public address."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"403":{"description":"The public docs key cannot send test deliveries: use your own key."},"429":{"description":"Up to 6 test deliveries a minute."}}}},"/v1/watches/bulk":{"post":{"summary":"Watch up to 500 companies (company monitoring)","operationId":"bulkWatches","tags":["Watches"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"companyNumbers":{"type":"array","maxItems":500,"items":{"type":"string"}},"url":{"type":"string","format":"uri"},"events":{"type":"array","items":{"type":"string"}},"emailDigest":{"type":"boolean"}},"required":["companyNumbers"]},"example":{"companyNumbers":["16716814","SC123456"],"url":"https://example.com/hooks/tyche","emailDigest":true}}}},"responses":{"201":{"description":"Created watches and per-number errors"},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"too_many":{"value":{"error":{"code":"too_many","message":"Up to 500 company numbers per call."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}},"401":{"description":"Marketplace authentication failed"},"503":{"description":"Not open yet","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"examples":{"coming_soon":{"value":{"error":{"code":"coming_soon","message":"Company monitoring opens when the Companies House feeds are connected."},"meta":{"requestId":"req_3f9a1c2b7d"}}}}}}}}}}},"components":{"schemas":{"Company":{"type":"object","properties":{"number":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"statusDetail":{"type":"string","nullable":true},"type":{"type":"string"},"jurisdiction":{"type":"string","nullable":true},"dissolvedOn":{"type":"string","format":"date","nullable":true},"incorporatedOn":{"type":"string","format":"date"},"ageYears":{"type":"number"},"sicCodes":{"type":"array","items":{"type":"string"}},"registeredOffice":{"type":"object","properties":{"locality":{"type":"string","nullable":true},"postcode":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"inDispute":{"type":"boolean"},"undeliverable":{"type":"boolean"}}},"accounts":{"type":"object","properties":{"nextDue":{"type":"string","nullable":true},"overdue":{"type":"boolean"},"lastMadeUpTo":{"type":"string","nullable":true},"lastType":{"type":"string","nullable":true}}},"confirmationStatement":{"type":"object","properties":{"nextDue":{"type":"string","nullable":true},"overdue":{"type":"boolean"},"lastMadeUpTo":{"type":"string","nullable":true}}},"hasInsolvencyHistory":{"type":"boolean"},"hasCharges":{"type":"boolean"},"officers":{"type":"object","description":"Counts only. We do not return officer names or personal details.","properties":{"active":{"type":"integer"},"resigned":{"type":"integer"}},"nullable":true},"personsWithSignificantControl":{"type":"object","description":"Counts only.","properties":{"active":{"type":"integer"},"ceased":{"type":"integer"}},"nullable":true},"filings":{"type":"object","properties":{"total":{"type":"integer"},"registeredOfficeChanges12Months":{"type":"integer"},"latest":{"type":"array","items":{"type":"object"}}},"nullable":true}}},"Vat":{"type":"object","properties":{"valid":{"type":"boolean"},"vatNumber":{"type":"string"},"name":{"type":"string","nullable":true},"address":{"type":"object","nullable":true},"checkedAt":{"type":"string","nullable":true}},"nullable":true},"Check":{"type":"object","properties":{"company":{"$ref":"#/components/schemas/Company"},"vat":{"$ref":"#/components/schemas/Vat"},"charity":{"type":"object","properties":{"found":{"type":"boolean"},"charityNumber":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"},"registeredOn":{"type":"string","nullable":true},"removedOn":{"type":"string","nullable":true},"insolvent":{"type":"boolean"},"inAdministration":{"type":"boolean"}},"nullable":true},"fca":{"type":"object","description":"Not available yet (always null).","nullable":true},"risk":{"type":"string","enum":["none","low","medium","high"]},"flags":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"},"severity":{"type":"string","enum":["info","low","medium","high"]},"message":{"type":"string"}}}}}},"ScreenQuery":{"type":"object","required":["name"],"properties":{"name":{"type":"string","minLength":2,"maxLength":200},"type":{"type":"string","enum":["individual","entity","vessel","aircraft","any"]},"dob":{"type":"string","description":"YYYY, YYYY-MM or YYYY-MM-DD"},"country":{"type":"string","description":"ISO 3166 alpha-2"},"lists":{"type":"array","items":{"type":"string","enum":["uk","ofac_sdn","ofac_cons","eu"]}},"threshold":{"type":"integer","minimum":50,"maximum":100,"default":80},"limit":{"type":"integer","minimum":1,"maximum":50,"default":10},"record":{"type":"boolean","description":"Keep a screening record and PDF certificate (default: your account setting)"},"reference":{"type":"string","maxLength":100,"description":"Your own reference, shown on the record"}}},"ScreenResult":{"type":"object","properties":{"query":{"type":"object"},"matchCount":{"type":"integer"},"matches":{"type":"array","items":{"type":"object","properties":{"score":{"type":"number"},"entryId":{"type":"string"},"list":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"matchedName":{"type":"string"},"matchedOn":{"type":"string"},"aliases":{"type":"array","items":{"type":"string"}},"dob":{"type":"array","items":{"type":"string"}},"nationalities":{"type":"array","items":{"type":"string"}},"countries":{"type":"array","items":{"type":"string"}},"programmes":{"type":"array","items":{"type":"string"}},"listedOn":{"type":"string","nullable":true},"reasons":{"type":"array","items":{"type":"string"}}}}},"lists":{"type":"array","items":{"type":"object","properties":{"list":{"type":"string"},"name":{"type":"string"},"version":{"type":"string","nullable":true},"publishedAt":{"type":"string","nullable":true},"checkedAt":{"type":"string","nullable":true},"stale":{"type":"boolean"}}}},"screenedAt":{"type":"string","format":"date-time"},"disclaimer":{"type":"string"}}},"Meta":{"type":"object","properties":{"requestId":{"type":"string"},"sandbox":{"type":"boolean"},"partial":{"type":"boolean","description":"True when one source failed and the response holds the others."},"stale":{"type":"boolean","description":"True when a source was down and we served our last good copy."},"billed":{"type":"integer","description":"Bulk only: lookups counted against your plan."},"attribution":{"type":"string","description":"Open Government Licence v3.0 attribution. Show it wherever you display the data to others."},"sources":{"type":"object","additionalProperties":{"type":"object","properties":{"status":{"type":"string","enum":["ok","stale","not_found","unavailable","rate_limited","skipped"]},"fetchedAt":{"type":"string","format":"date-time"},"cache":{"type":"string"},"message":{"type":"string"}}}},"usage":{"type":"object","properties":{"plan":{"type":"string"},"used":{"type":"integer"},"limit":{"type":"integer"},"period":{"type":"string"}}}}},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["coming_soon","invalid_name","invalid_eori","invalid_postcode","unsupported_region","postcode_not_found","station_not_found","missing_api_key","invalid_api_key","invalid_registration","invalid_company_number","invalid_vat_number","invalid_query","invalid_body","invalid_url","invalid_target","live_key_required","invalid_marketplace_secret","too_many","vehicle_not_found","company_not_found","not_found","watch_exists","watch_limit","quota_exceeded","rate_limited","upstream_unavailable","internal_error"],"description":"Stable machine-readable code. See https://api.tychelabs.net/docs#errors"},"message":{"type":"string"}},"required":["code","message"]},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["error"]}}}}