{"question":"How do I get the LEI record of a company, with its parent companies?","answer":"Call GET https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/company/lei?lei=HWUPKR0MPOU8FGXBT394 for $0.005. By lei= it returns the entity's legal name, status, legal form, addresses, registration and renewal dates, its direct and ultimate parent as reported to GLEIF, and SWIFT BICs mapped to the LEI; by name= (and country=) it returns the best ten matches to pick from. A parent is only what the entity reported: the field says either a parent (its LEI and name), none reported, or an exception with its reason. A bad LEI or an unknown one is refused before any charge.","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/answers/lei-parent-companies","data_as_of":"2026-10-25","facts":[{"label":"Example answer: entity","value":"Apple Inc. (HWUPKR0MPOU8FGXBT394); ACTIVE; US-CA","text":"Apple Inc. (HWUPKR0MPOU8FGXBT394); ACTIVE; US-CA"},{"label":"Example answer: registration","value":"ISSUED; next renewal 2027-03-08","text":"ISSUED; next renewal 2027-03-08"},{"label":"Example answer: direct parent","value":"reporting_exception (NATURAL_PERSONS)","text":"reporting_exception (NATURAL_PERSONS)"},{"label":"Example answer: ultimate parent","value":"reporting_exception (NATURAL_PERSONS)","text":"reporting_exception (NATURAL_PERSONS)"}],"tables":[{"title":"Query parameters","columns":["Parameter","Needed","Meaning"],"rows":[{"name":"lei","needed":"lei or name","meaning":"20-character Legal Entity Identifier"},{"name":"name","needed":"lei or name","meaning":"company name, 2-100 characters; returns up to 10 ranked matches"},{"name":"country","needed":"optional","meaning":"ISO country of the legal address to narrow a name search, e.g. DE"}]}],"sources":[{"name":"GLEIF Global LEI Index","url":"https://www.gleif.org/en/about/open-data","as_of":null,"age_days":null,"stale":false,"note":"LEI reference data: GLEIF (Global Legal Entity Identifier Foundation), api.gleif.org, CC0 1.0. This service is not provided, supported or endorsed by GLEIF or any LOU."},{"name":"SWIFT BIC-to-LEI mapping (via GLEIF)","url":"https://www.gleif.org/en/lei-data/lei-mapping/download-bic-to-lei-relationship-files","as_of":null,"age_days":null,"stale":false,"note":"SWIFT (c) and database rights; its licence notice is returned with every answer that holds a BIC."}],"not_loaded":[],"notes":["Parents are the relationships reported to GLEIF; an entity can report an exception (for example that it has no consolidating parent, or that the parent is a natural person) instead of naming one, and the field then shows that reason, as the recorded example does.","The record is shown exactly as GLEIF publishes it; legal_form_code is the ISO 20275 code. GLEIF's data are published under CC0 1.0; this service is not provided, supported or endorsed by GLEIF or any LOU.","The BIC mapping is SWIFT's own table with its own licence notice, which is returned with every answer that holds a BIC.","Not legal, financial or security advice; P0 is not affiliated with or endorsed by any of the publishers named here."],"request":{"method":"GET","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/company/lei?lei=HWUPKR0MPOU8FGXBT394","query":{"lei":"HWUPKR0MPOU8FGXBT394"},"price_usd":0.005,"curl":"curl -i \"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/company/lei?lei=HWUPKR0MPOU8FGXBT394\"","note":"The first call without payment answers HTTP 402 with the exact price and the payment requirements; pay and retry with an x402 or MPP client (see /integrations)."},"example_answer":{"path":"/company/lei","query":null,"body":{"mode":"lei","as_of":"2026-10-25T09:20:00.000Z","source":"GLEIF Global LEI Index","source_url":"https://search.gleif.org/","attribution":"LEI reference data: GLEIF (Global Legal Entity Identifier Foundation), api.gleif.org, CC0 1.0. This service is not provided, supported or endorsed by GLEIF or any LOU.","golden_copy_date":"2026-10-25","lei":"HWUPKR0MPOU8FGXBT394","legal_name":"Apple Inc.","other_names":[{"name":"Apple Computer, Inc.","type":"PREVIOUS_LEGAL_NAME"}],"entity_status":"ACTIVE","category":"GENERAL","legal_form_code":"H1UM","legal_form_other":null,"jurisdiction":"US-CA","registration_authority_id":"RA000598","registered_as":"806592","creation_date":"1977-01-03","legal_address":{"lines":["C/O C T Corporation System","330 N. Brand Blvd","Suite 700"],"city":"Glendale","region":"US-CA","country":"US","postal_code":"91203"},"headquarters_address":{"lines":["One Apple Park Way"],"city":"Cupertino","region":"US-CA","country":"US","postal_code":"95014"},"registration":{"status":"ISSUED","initial_registration_date":"2012-06-06","last_update_date":"2026-03-03","next_renewal_date":"2027-03-08","managing_lou":"5493001KJTIIGC8Y1R12","corroboration_level":"FULLY_CORROBORATED"},"successor_entities":[],"bic":["APLEUS66XXX"],"bic_notice":"SWIFT (c) and database rights. All rights reserved. This Mapping Table has been developed by SWIFT. Any use of the Mapping Table, in whole or in part, is subject to the BIC/LEI Mapping Table License Agreement as published with the Mapping Table available on GLEIF's website. The Mapping Table is updated monthly. For the latest BIC information and updates, always refer to www.swift.com/bic.","direct_parent":{"relationship":"reporting_exception","reason":"NATURAL_PERSONS","lei":null,"legal_name":null,"country":null},"ultimate_parent":{"relationship":"reporting_exception","reason":"NATURAL_PERSONS","lei":null,"legal_name":null,"country":null},"note":"Registry data exactly as GLEIF publishes it; legal_form_code is the ISO 20275 ELF code. Parents are the relationships reported to GLEIF (reporting_exception = the entity reported why none is given). Not legal advice or a credit check.","cached":false},"label":"Recorded example answer of /company/lei: the example published in the route's own definition, not a live call. Its dates are the dates of that recording."},"full_answer":[{"path":"/company/lei","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/company/lei","price_usd":0.005,"what":"LEI record with parent companies: the exact route this page describes"},{"path":"/check/counterparty","url":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/check/counterparty","price_usd":0.015,"what":"sanctions screening, the LEI record and US bank status in one call"}],"related":["https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/answers/check-counterparty","https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/answers/sec-filings-since-date","https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/answers/pay-api-with-x402"],"license":"https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/terms","operator":"dev Mike","version":"2026-10-25.2"}