The playground

Try any of 919 endpoints — live.

Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.

Playground demo key · api.reefapi.com
post/lei/v1/relationships2 credits

One LEI → Level-2 corporate hierarchy: direct & ultimate parent (entity OR the entity's declared reporting-exception with reason+meaning OR no_data), children list + total counts. detail=true adds the auditable relationship provenance.

Working example
Parameters

The 20-character Legal Entity Identifier (ISO 17442). Spaces/dashes are ignored; case-insensitive. Format + MOD-97-10 checksum are validated offline first — a malformed LEI returns a clean error with the reason, never an upstream call.

Max direct/ultimate children to list (0-200). The TOTAL count is always returned in children_total regardless of this cap. (0–200)

If true, include the raw relationship-record provenance for each parent link (valid_from, accounting periods, corroboration level/documents) — the auditable Level-2 trail.

request preview
curl -X POST https://api.reefapi.com/lei/v1/relationships \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"lei":"5493006MHB84DD0ZWV18"}'

Hit Send to run this endpoint live.