Look up a Legal Entity Identifier (GLEIF)
curl --request POST \
--url https://app.sahlfinancial.com/api/v1/partner/registry/lei \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lei": "00000000000000000000"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({lei: '00000000000000000000'})
};
fetch('https://app.sahlfinancial.com/api/v1/partner/registry/lei', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/partner/registry/lei"
payload = { "lei": "00000000000000000000" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"available": true,
"environment": "sandbox",
"source": "<string>",
"message": "<string>",
"found": true,
"lei": "<string>",
"name": "<string>",
"jurisdiction": "<string>",
"entity_status": "<string>",
"registration_status": "<string>",
"next_renewal": "<string>",
"country": "<string>",
"city": "<string>"
}{
"detail": {
"code": "partner_identity_rejected",
"message": "The key is bound to a service account and X-Partner-Identity was missing or did not verify for it."
}
}{
"detail": "API key lacks the required scope"
}{
"detail": {
"code": "invalid_environment",
"message": "environment / X-Sahl-Environment must be 'sandbox' or 'production'."
}
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "commit_failed",
"message": "The change could not be saved; nothing changed. Retry."
}
}Look up a Legal Entity Identifier (GLEIF)
Required scope: registry:read.
The LEI’s record in the global register: legal name, jurisdiction, statuses, renewal.
Choose the environment with the X-Sahl-Environment header or the environment parameter or field; the Sandbox is the default. Two values that disagree are refused (422 environment_conflict).
POST
/
v1
/
partner
/
registry
/
lei
Look up a Legal Entity Identifier (GLEIF)
curl --request POST \
--url https://app.sahlfinancial.com/api/v1/partner/registry/lei \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lei": "00000000000000000000"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({lei: '00000000000000000000'})
};
fetch('https://app.sahlfinancial.com/api/v1/partner/registry/lei', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/partner/registry/lei"
payload = { "lei": "00000000000000000000" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"available": true,
"environment": "sandbox",
"source": "<string>",
"message": "<string>",
"found": true,
"lei": "<string>",
"name": "<string>",
"jurisdiction": "<string>",
"entity_status": "<string>",
"registration_status": "<string>",
"next_renewal": "<string>",
"country": "<string>",
"city": "<string>"
}{
"detail": {
"code": "partner_identity_rejected",
"message": "The key is bound to a service account and X-Partner-Identity was missing or did not verify for it."
}
}{
"detail": "API key lacks the required scope"
}{
"detail": {
"code": "invalid_environment",
"message": "environment / X-Sahl-Environment must be 'sandbox' or 'production'."
}
}{
"detail": {
"code": "rate_limit_exceeded",
"message": "Too many calls a minute: per API key on the partner routes, or per key / per address at the edge. Wait for Retry-After."
}
}{
"detail": {
"code": "commit_failed",
"message": "The change could not be saved; nothing changed. Retry."
}
}Authorizations
API key created in the console. Scopes: kyc:extract, kyc:verify, kyc:eid; kyb:onboard, kyb:ice; statements:read; webhooks:manage; requests:read, requests:write; bank:read, bank:write (Growth plan, enabled per workspace by Sahl); registry:read; cases:read; scoring:read, scoring:write; policy:read, policy:write; usage:read. The Sandbox specimen routes, GET /v1/partner/me and GET /v1/partner/errors need any valid key.
Headers
Body
application/json
Response
OK