{"openapi":"3.0.3","info":{"title":"🏢 company-check-service","description":"Company verification: registry identity and status, VAT number validation, LEI and directors of a company.","x-guidance":"Company verification: registry identity and status, VAT number validation, LEI and directors of a company.","version":"1.0.0","contact":{"email":"contact@17711.xyz"}},"paths":{"/v1/company-check/verify_company":{"post":{"operationId":"company_check_verify_company","summary":"Company check (KYB): registry status, VAT number validation (VIES), LEI and directors of a company by name, SIREN or VAT number ($0.009, x402)","description":"Verifies that a company exists and is in good standing, from official public registers. Send a `company_name`, a `registration_number` (French SIREN or SIRET), an EU `vat_number` (with country prefix) or a `lei`; add `country` to narrow a search. The answer gives the legal name, trade name, status (active or closed), legal form, registration number, address, creation and closure dates, activity code, employee bracket and size category; the validation of its EU VAT number against the European VIES service (valid, invalid, or unavailable) with the name and address registered for it; its LEI record with registration status and direct and ultimate parent companies; for French companies the directors and officers with their role (president, managing director, board members), the statutory auditors, and the revenue and net result of the latest published years. Flags point out what matters: closed company, invalid VAT number, VAT name mismatch, lapsed LEI, ambiguous name (other candidates are listed). Outside France only the LEI register and EU VAT validation are available, and the answer says so. Only public register data is returned. No language model is involved. A company that is not found is not charged. Costs $0.009 per call. Results are stored and reused: the response says when the registers were queried (`retrieved_at`), how old the answer is (`age_seconds`) and whether it came from a stored result (`from_cache`); send `max_age_seconds` to choose the oldest answer you accept, or 0 to force a fresh check. A call usually takes 1 to 5 seconds. Free trial: 3 free calls per caller IP address, per tool, per 24 hours (and at most 50 free calls per window for this tool across all callers; MCP callers, whose address is not known, share a single anonymous free call). After that, every call is paid via x402 at $0.009 USDC per call.","x-price-usdc":"0.009","x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.009000"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company_name":{"description":"The company's name (`OVH`, `Mistral AI`). Give at least one of `company_name`, `registration_number`, `vat_number` or `lei`.","type":["string","null"]},"registration_number":{"description":"A company registration number: a French SIREN (9 digits) or SIRET (14 digits), or a number from another register (then give `country`).","type":["string","null"]},"vat_number":{"description":"An EU VAT number with its country prefix (`FR22424761419`, `DE811907980`).","type":["string","null"]},"lei":{"description":"A Legal Entity Identifier (20 characters).","type":["string","null"]},"country":{"description":"ISO 3166-1 alpha-2 country code (`FR`, `DE`) to narrow a name or number search.","type":["string","null"]},"max_age_seconds":{"description":"The oldest answer you accept, in seconds. Omit it for the default (answers up to 6 hours old); `0` forces a fresh check, including a new VAT validation.","type":["integer","null"],"minimum":0}}},"example":{"company_name":"string","registration_number":"string","vat_number":"string","lei":"string","country":"string","max_age_seconds":0}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"matched_by":{"type":"string","description":"How the company was identified: `lei`, `vat_number`, `registration_number` or `name`."},"confidence":{"type":"string","description":"`high` (identified by a number), `medium` (a clear name match) or `low` (several similar names)."},"company":{"$ref":"#/components/schemas/Company"},"vat":{"description":"VAT number validation, when a VAT number is known.","anyOf":[{"$ref":"#/components/schemas/VatCheck"},{"type":"null"}]},"lei":{"anyOf":[{"$ref":"#/components/schemas/LeiRecord"},{"type":"null"}]},"directors":{"type":"array","items":{"$ref":"#/components/schemas/Director"},"description":"Officers and statutory auditors published in the register (France only)."},"financials":{"type":"array","items":{"$ref":"#/components/schemas/Financial"},"description":"Revenue and net result of the latest published years (France only)."},"other_candidates":{"type":"array","items":{"$ref":"#/components/schemas/Candidate"},"description":"Other companies that matched a name search (to disambiguate)."},"flags":{"type":"array","items":{"$ref":"#/components/schemas/Flag"},"description":"Things to know: closed company, invalid VAT number, name mismatch, lapsed LEI."},"sources":{"type":"array","items":{"type":"string"},"description":"The registers consulted."},"coverage_note":{"type":"string","description":"What this answer does not cover for the company's country."},"retrieved_at":{"type":"string","description":"When the registers were queried (UTC)."},"age_seconds":{"type":"integer","minimum":0,"description":"How old this answer is, in seconds (0 for a fresh check)."},"from_cache":{"type":"boolean","description":"`true` when this answer was served from a stored result."}},"required":["matched_by","confidence","company","directors","financials","other_candidates","flags","sources","coverage_note","retrieved_at","age_seconds","from_cache"]},"example":{"matched_by":"string","confidence":"string","company":{"legal_name":"string","trade_name":"string","status":"string","country":"string","legal_form":"string","registration_number":"string","head_office_id":"string","vat_number":"string","lei":"string","address":"string","created_at":"string","closed_at":"string","activity_code":"string","employees":"string","size_category":"string"},"vat":{"number":"string","status":"string","registered_name":"string","registered_address":"string","checked_at":"string"},"lei":{"lei":"string","entity_status":"string","registration_status":"string","next_renewal":"string","direct_parent":{"lei":"string","legal_name":"string","country":"string"},"ultimate_parent":{"lei":"string","legal_name":"string","country":"string"}},"directors":[{"name":"string","role":"string","kind":"string","born":"string","nationality":"string","registration_number":"string"}],"financials":[{"year":0,"revenue":0,"net_result":0}],"other_candidates":[{"name":"string","registration_number":"string","city":"string","status":"string"}],"flags":[{"severity":"string","code":"string","message":"string"}],"sources":["string"],"coverage_note":"string","retrieved_at":"string","age_seconds":0,"from_cache":false}}}},"402":{"description":"Payment required -- a free-call quota exists (default 5 calls, see PLATFORM_FREEMIUM_FREE_CALLS) before this status applies; beyond it, pay via the real x402 protocol (PAYMENT-REQUIRED response header, decode and retry with a signed PAYMENT-SIGNATURE header).","content":{"application/json":{"schema":{"type":"object","description":"x402 v2 PaymentRequired challenge","properties":{"x402Version":{"type":"integer"},"error":{"type":"string"},"resource":{"type":"object","properties":{"url":{"type":"string"},"description":{"type":"string"},"mimeType":{"type":"string"}}},"accepts":{"type":"array","items":{"type":"object","properties":{"scheme":{"type":"string"},"network":{"type":"string"},"amount":{"type":"string","description":"Token atomic units, NOT decimal USD -- see x-payment-info.price.amount for the decimal form."},"asset":{"type":"string"},"payTo":{"type":"string"},"maxTimeoutSeconds":{"type":"integer"},"extra":{"type":"object"}}}}},"required":["x402Version","accepts"]}}}},"default":{"description":"Standardized error envelope, on every non-2xx response from this fleet: {\"error\": {\"code\": <dotted string, e.g. \"request.bad_request\">, \"index\": <integer>, \"status\": <HTTP status code>, \"message\": <client-safe description>, \"debug\": <object, present only for an authorized caller>}}.","content":{"application/json":{"schema":{"type":"object","description":"ErrorEnvelope"}}}}}}}},"servers":[{"url":"/registry/company-check-service"}],"components":{"schemas":{"Company":{"type":"object","properties":{"legal_name":{"type":"string"},"trade_name":{"description":"Commercial name or acronym, when different.","type":["string","null"]},"status":{"type":"string","description":"`active`, `closed` or `unknown`."},"country":{"type":"string","description":"ISO country code of the legal seat."},"legal_form":{"description":"Legal form (`SAS`, `SARL`, ...) or its register code.","type":["string","null"]},"registration_number":{"description":"Number in the company register (SIREN for France).","type":["string","null"]},"head_office_id":{"description":"SIRET of the head office (France).","type":["string","null"]},"vat_number":{"type":["string","null"]},"lei":{"type":["string","null"]},"address":{"type":["string","null"]},"created_at":{"description":"Date of creation (YYYY-MM-DD).","type":["string","null"]},"closed_at":{"description":"Date of closure (YYYY-MM-DD), when closed.","type":["string","null"]},"activity_code":{"description":"Main activity code (NAF/APE for France).","type":["string","null"]},"employees":{"description":"Employee size bracket, e.g. `50-99`.","type":["string","null"]},"size_category":{"description":"Size category: `PME`, `ETI`, `GE`.","type":["string","null"]}},"required":["legal_name","status","country"]},"VatCheck":{"type":"object","properties":{"number":{"type":"string","description":"The number as checked, with country prefix."},"status":{"type":"string","description":"`valid`, `invalid` or `unavailable` (the EU service did not answer: try again later)."},"registered_name":{"description":"Name registered for the VAT number, when the member state discloses it.","type":["string","null"]},"registered_address":{"type":["string","null"]},"checked_at":{"type":"string","description":"When the number was validated (UTC)."}},"required":["number","status","checked_at"]},"LeiRecord":{"type":"object","properties":{"lei":{"type":"string"},"entity_status":{"type":"string","description":"Entity status in the LEI register (`ACTIVE`, `INACTIVE`)."},"registration_status":{"type":"string","description":"Registration status of the LEI (`ISSUED`, `LAPSED`, ...)."},"next_renewal":{"type":["string","null"]},"direct_parent":{"anyOf":[{"$ref":"#/components/schemas/LeiParent"},{"type":"null"}]},"ultimate_parent":{"anyOf":[{"$ref":"#/components/schemas/LeiParent"},{"type":"null"}]}},"required":["lei","entity_status","registration_status"]},"LeiParent":{"type":"object","properties":{"lei":{"type":"string"},"legal_name":{"type":"string"},"country":{"type":["string","null"]}},"required":["lei","legal_name"]},"Director":{"type":"object","properties":{"name":{"type":"string","description":"Full name of the person or the legal entity."},"role":{"type":"string","description":"Role as published (`Président de SAS`, `Directeur Général`, `Commissaire aux comptes titulaire`...)."},"kind":{"type":"string","description":"`person` or `company`."},"born":{"description":"Month and year of birth (`1975-01`) for a person, as published in the register.","type":["string","null"]},"nationality":{"type":["string","null"]},"registration_number":{"description":"Registration number of a legal-entity director.","type":["string","null"]}},"required":["name","role","kind"]},"Financial":{"type":"object","properties":{"year":{"type":"integer","minimum":0},"revenue":{"description":"Revenue, in euros.","type":["integer","null"]},"net_result":{"description":"Net result, in euros.","type":["integer","null"]}},"required":["year"]},"Candidate":{"type":"object","properties":{"name":{"type":"string"},"registration_number":{"type":"string"},"city":{"type":["string","null"]},"status":{"type":"string"}},"required":["name","registration_number","status"]},"Flag":{"type":"object","properties":{"severity":{"type":"string","description":"`high`, `medium`, `low` or `info`."},"code":{"type":"string","description":"Stable code, e.g. `company.closed`, `vat.invalid`, `vat.name_mismatch`, `lei.lapsed`."},"message":{"type":"string"}},"required":["severity","code","message"]}}}}