Skip to main content
POST
Returns registered legal entities by legal name or 20-character Legal Entity Identifier, from the Global Legal Entity Identifier Foundation: identifier, names, status, jurisdiction, legal form, registration number and dates, how well the record is corroborated, and addresses. Parent and child relationships are not included.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
The Legal Entity Identifier, for example DPRBOZP0K5RM2YE8UU08. An exact match; preferred over a name. A Legal Entity Identifier is 20 letters and digits.
string
Legal name, for example Lockheed Martin Corporation. A text match: similarly named entities are returned too. 2 to 200 characters.
integer
Most entities to return. From 1 to 10. Defaults to 5.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always company_legal_identifier
object
The answer, described under Result below
object
Where the answer came from and when
boolean
true when the answer was served from OneShot’s store of earlier lookups (or its own copy of a public dataset), false when the source was asked for this call
string
When the record was obtained from its source, as an ISO 8601 UTC time; equals evidence.retrieved_at
string
The public body the data comes from. Always Global Legal Entity Identifier Foundation.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
integer
How many entities matched in all; may be more than were returned.
object[]
Matching entities; empty when none match.
string
The 20-character Legal Entity Identifier; use it to tell similarly named entities apart.
The legal name as registered. null when the source gives no value.
string[]
Other registered names of the entity.
string | null
Status of the legal entity, for example ACTIVE. null when the source gives no value.
string | null
Jurisdiction of formation, for example US-MD. null when the source gives no value.
Code of the legal form, from the source’s legal form list. null when the source gives no value.
string | null
The entity’s registration number at its business register. null when the source gives no value.
string | null
Date the entity was created, YYYY-MM-DD. null when the source gives no value.
string | null
Status of the identifier’s registration, for example ISSUED or LAPSED. null when the source gives no value.
string | null
Date the identifier was first registered, YYYY-MM-DD. null when the source gives no value.
string | null
Date the registration record was last updated, YYYY-MM-DD. null when the source gives no value.
string | null
Date the registration is next due for renewal, YYYY-MM-DD. null when the source gives no value.
string | null
How well the record is corroborated by the business register, for example FULLY_CORROBORATED. null when the source gives no value.
Legal address. null when the source gives no value.
Street lines, as registered.
City. null when the source gives no value.
Region code, for example US-MD. null when the source gives no value.
Two-letter country code. null when the source gives no value.
Postal code. null when the source gives no value.
object | null
Headquarters address. null when the source gives no value.
string[]
Street lines, as registered.
string | null
City. null when the source gives no value.
string | null
Region code, for example US-MD. null when the source gives no value.
string | null
Two-letter country code. null when the source gives no value.
string | null
Postal code. null when the source gives no value.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Give exactly one of name and lei.
  • Each entity has its identifier, legal name and other names, entity status, jurisdiction, legal form code, registration number, creation date, the identifier’s registration status, registration, last update and next renewal dates, how well the record is corroborated, and its legal and headquarters addresses.
  • A name is a text match, so similarly named entities come back too: tell them apart by the identifier on each row, and prefer the identifier when you have it, since it is an exact match.
  • total is the number of entities that matched, which may be more than limit. No match is a completed result with total 0 and an empty list.
  • Covers legal entities that hold an identifier.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}