Search¶
Search official government registries for a company, or look up a fund on GLEIF. Searches are asynchronous: you submit a request, receive a searchId (and caseId), then poll until the work finishes.
A successful corporate search creates a new case and sets case.target to the found company. A successful fund search creates a new case and sets case.target to the fund; the fund manager is a counterparty. To dig into a counterparty already on a case (ownership tree), use Expand search. Fund search may start that expand on the manager automatically.
Submit a company search¶
Request¶
Headers
| Header | Value |
|---|---|
Content-Type |
application/json |
X-API-Key or Authorization |
rev_… or Bearer <idToken> |
Body
{
"identifier": "HRB 246975",
"jurisdiction": "DE",
"include": {
"financials": true,
"lei": true,
"participations": true
},
"expand_layers": {}
}
| Field | Type | Required | Description |
|---|---|---|---|
target_type |
string | No | Omit or "corporate" for a registry search. "fund" selects Submit a fund search. |
identifier |
string | Conditional | Registry registration number / search id. Required for most jurisdictions. |
legal_name |
string | Conditional | Legal name. Required (instead of or in addition to identifier) for name-based jurisdictions (e.g. ID, MX, IQ, and other jurisdictions that accept name-only lookup). |
jurisdiction |
string | Yes (corporate) | Jurisdiction code (e.g. GB, DE, US-DE, CH-ZH). Not required for fund search. |
include |
object | No | Optional add-ons for the root search (financials, lei, participations). Not forwarded automatically to the expand-layers walk. |
include.financials |
boolean | No | Request financial metrics when the jurisdiction supports them. Extra credits only if numeric financials data is returned (0 additional credits under billingMode: "case"). Does not apply to expand-layers hops — use expand_layers.financials for those. |
include.lei |
boolean | No | Automatically run a GLEIF LEI Lookup after the root company search completes, attaching case.target.lei and recording a child searchType: "lei" search on the case. Child LEI searches do not emit webhooks. |
include.participations |
boolean | No | Extract outbound equity holdings, subsidiaries, and associates held by the target company from annual financial statements/filings into target.participations[] (see Participation). Supported in jurisdictions whose annual accounts disclose participation schedules (AT, BE, BG, CZ, DE, FR, GR, HR, HU, IE, IR, LU, PL). Carries no extra credit surcharge beyond the search (or include.financials if also requested). |
expand_layers |
object | No | After the root search is COMPLETED and case.target exists, start Expand layers on this case. Send {} for defaults (maxDepth 5, maxNodes 25, financials false). Optional maxDepth (1–10) and maxNodes (1–50) use the same bounds as POST /search/expandlayers. A non-object is 400. The initial 200 is still the root search. Poll that id until COMPLETED, then look for searchType: "expand-layers" on the case. Corporate only. Ignored on fund search. Does not fail the root search if the job cannot start. |
expand_layers.financials |
boolean | No | Default false. When true, each hop calls expand with include.financials: true. Missing or any value other than true is false. Not a 400. |
webhook_url |
string | No | Public https:// URL on port 443 (max 2048 chars, public FQDN) to receive an asynchronous POST when the search transitions to COMPLETED or FAILED. Invalid URLs return 400. See Webhooks. |
Info
At least one of identifier or legal_name is required, depending on the jurisdiction’s search schema. If both are missing, or only a name is sent for an identifier-only jurisdiction, the API returns 400.
Immediate response (200)¶
A search record with status: "PENDING":
{
"_id": "abc123searchId",
"caseId": "xyz789caseId",
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-15T10:30:00.000Z",
"userId": "user-uid",
"searchInputs": {
"identifier": "HRB 246975",
"jurisdiction": "DE",
"include": { "financials": true }
},
"status": "PENDING"
}
| Field | Type | Description |
|---|---|---|
_id |
string | Search ID. Use this to poll status. |
caseId |
string | New case grouping this search (and later expands / LEI lookups) |
status |
string | PENDING, COMPLETED, or FAILED |
searchInputs |
object | Echo of accepted search parameters |
userId |
string | Owner uid |
createdAt / updatedAt |
string | ISO 8601 timestamps |
Work continues in the background. Poll Get search status.
Error responses¶
Or for name-only jurisdictions:
Unsupported code:
expand_layers present but not an object, or maxDepth / maxNodes out of range:
Credits¶
- The jurisdiction search cost is debited up front when the search is accepted (from the user's wallet, or from the shared organisation credit pool when the account belongs to an organisation).
- On processing failure, that base cost is refunded.
include.financials: charged after success only if numeric financials came back. A charge failure does not roll back the search.include.lei: charged per coverage LEI cost (often0) before GLEIF resolution and refunded if no LEI match is found or GLEIF fails.include.participations: no separate credit surcharge beyond the base search.expand_layers: the layers job itself is not billed. Each started hop bills like Expand. Whenexpand_layers.financialsistrue, a hop that returns numeric financials is charged after success the same way as Expand, with no duplicate charge.- Case billing (
billingMode: "case"): organisations configured for case-level billing pay 1 credit per new case whenPOST /searchcreates the case (0additional per-search, expand, financials, or LEI charges inside that case). See Error Handling — Credits & billing modes.
You must be subscribed to the jurisdiction and have enough volume_remaining.
Submit a fund search¶
Look up a fund by exact legal name on GLEIF. The case target is the fund. The fund manager is a counterparty with natureOfRelationship: "Fund Manager".
jurisdiction is not required. GLEIF supplies the fund and manager jurisdictions. Extra corporate fields (identifier, jurisdiction, include) are ignored.
The fund search is not billed. Processing runs asynchronously in the background after the PENDING response is returned, so GLEIF resolution and the manager follow-on are not tied to the HTTP request lifetime.
After GLEIF names a fund manager:
- Path A — the manager's jurisdiction is supported by corporate registry search (and is not the US): an expand search may start as a second search on the manager. That expand uses the standard expand flow and bills the manager jurisdiction cost. Auto-expand is registry-only (no
include.financials). - Path B — the manager is registered in the US (including
US-DEand other state codes), or the jurisdiction has no registry coverage (for exampleKY): a US state registry expand is not started. An expand search still starts on the manager (searchType: "expand",entityId= manager). That expand looks up the manager's legal name on Investment Adviser Public Disclosure and grafts Form ADV owners under the manager. It does not overwritecase.target. IAPD expand is not billed. A no-match still leaves the fund searchCOMPLETEDwith the GLEIF manager on the graph.
Request¶
Body
| Field | Type | Required | Description |
|---|---|---|---|
target_type |
string | Yes | Must be "fund". |
legal_name |
string | Yes | Exact fund legal name (GLEIF entity.legalName). |
webhook_url |
string | No | Public https:// URL (default port 443) to receive an asynchronous POST when the fund search transitions to COMPLETED or FAILED. See Webhooks. |
Immediate response (200)¶
A search record with status: "PENDING" and searchType: "fund":
{
"_id": "fundSearchId",
"caseId": "caseId",
"createdAt": "2026-08-25T12:00:00.000Z",
"updatedAt": "2026-08-25T12:00:00.000Z",
"userId": "user-uid",
"searchType": "fund",
"status": "PENDING",
"searchInputs": {
"target_type": "fund",
"legal_name": "Fundsmith Reserve Fund"
}
}
Work continues in the background. Poll Get search status on this fund search id. That status never includes the expand or IAPD result. Those have their own search ids. The case snapshot is the join.
What the case becomes¶
After GLEIF (Fundsmith example):
case.targetis the fund (legalNameFundsmith Reserve Fund,jurisdictionKY, LEI9845005FH3C0B3C9F726, identifier1632831).case.target.counterparties[0]is the manager (legalNameFUNDSMITH INVESTMENT SERVICES LIMITED,jurisdictionMU, LEI213800YINPPN97G4IU14, identifierC123910).- That counterparty's relationship is
{ _parentId: <fund._id>, natureOfRelationship: "Fund Manager" }. GET /search/{fundSearchId}/statusisCOMPLETEDwithresultequal tocase.target.- Fund
searchInputsstill have no jurisdiction. Fund KY and manager MU live on the entities.
Then, if the manager jurisdiction is supported by corporate registry search and is not the US and you are subscribed to it, a second search appears on the case:
{
"searchType": "expand",
"entityId": "<manager._id>",
"status": "PENDING",
"searchInputs": {
"identifier": "C123910",
"jurisdiction": "MU",
"legalName": "FUNDSMITH INVESTMENT SERVICES LIMITED"
}
}
That record uses the standard expand flow. It grafts under the manager and does not overwrite case.target.
If the manager is US, or there is no registry coverage for that jurisdiction, Path B writes a second expand against SEC IAPD instead of a registry search:
{
"searchType": "expand",
"entityId": "<manager._id>",
"status": "PENDING",
"searchInputs": {
"identifier": "ACME ADVISERS LLC",
"regulator": "IAPD",
"legalName": "ACME ADVISERS LLC"
}
}
That record uses the standard expand flow against SEC IAPD rather than a state corporate registry. A match grafts Form ADV owners under the manager. It does not overwrite case.target.
If Path A is blocked by subscription, credits, rate limit, or lock, the fund search still stays COMPLETED with the GLEIF manager on the graph. You can POST /search/expand later for a covered non-US manager. Path B IAPD no-match or lookup failure also leaves the fund search COMPLETED.
If GLEIF reports the fund but no manager, the fund search still COMPLETED with the fund as case.target and no expand or IAPD.
Fund search errors at POST¶
| Status | When |
|---|---|
400 |
target_type is "fund" and legal_name is missing or blank |
400 |
target_type is present and is not "fund" or "corporate", or webhook_url is invalid |
401 |
Missing or invalid auth |
402 |
Organisation uses billingMode: "case" and the organisation credit pool has 0 credits remaining |
403 |
Fund search not enabled ("Fund search is not enabled for this account") or account suspended / locked |
429 |
Rate limit |
No 400 for missing jurisdiction. No 403 for jurisdiction coverage at this POST. Coverage is checked when a Path A registry expand starts.
Fund search completion errors¶
Poll GET /search/{fundSearchId}/status. These mark the fund search FAILED. There is no refund (the fund search was not billed). Expand does not start.
result.error |
When |
|---|---|
No matching LEI found for "<name>" |
No exact GLEIF legal-name match |
"<name>" is not registered as a fund on GLEIF |
Exact match exists but is not a fund |
A GLEIF HTTP failure also marks the fund search FAILED.
Get search status / results¶
Request¶
Headers
| Header | Value |
|---|---|
X-API-Key or Authorization |
API key or Bearer token |
Path parameters
| Parameter | Type | Description |
|---|---|---|
searchId |
string | _id from the POST response |
Response¶
{
"_id": "abc123searchId",
"caseId": "xyz789caseId",
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-15T10:30:05.000Z",
"userId": "user-uid",
"searchInputs": {
"identifier": "HRB 246975",
"jurisdiction": "DE"
},
"status": "COMPLETED",
"result": {
"_id": "entity-uuid",
"legalName": "EXAMPLE GMBH",
"legalForm": "Gesellschaft mit beschränkter Haftung",
"companyStatus": "Active",
"countryOfRegistration": "DE",
"jurisdiction": "DE",
"registrationDate": "15-03-2020",
"addresses": [],
"identifiers": [],
"relationships": [],
"activities": [],
"capital": {},
"otherNames": [],
"counterparties": [],
"sourceDocuments": []
}
}
result is a full Entity.
{
"_id": "abc123searchId",
"caseId": "xyz789caseId",
"status": "FAILED",
"result": {
"error": "Timeout while fetching registry data"
},
"searchInputs": {
"identifier": "HRB 246975",
"jurisdiction": "DE"
},
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-15T10:30:30.000Z",
"userId": "user-uid"
}
Polling strategy¶
- Wait ~2 seconds after submit.
GET /search/{searchId}/status.- If
PENDING, wait 3 seconds and poll again. - Increase the interval up to ~10 seconds.
- Stop on
COMPLETEDorFAILED.
Average registry times vary widely (seconds to a few minutes). See Data Coverage.
Webhooks¶
Instead of polling GET /search/{searchId}/status, pass an optional webhook_url in POST /search (corporate or fund) or POST /search/expand. When the search transitions to COMPLETED or FAILED, Revolutio sends an asynchronous POST request with the search payload:
POST https://your-api.com/webhooks/revolutio
Content-Type: application/json
User-Agent: Revolutio-Webhooks/1.0
X-Revolutio-Event: search.completed
Idempotency-Key: evt_8f14e45fceea167a5a36dedd
{
"id": "evt_8f14e45fceea167a5a36dedd",
"event": "search.completed",
"createdAt": "2026-01-15T10:30:22.000Z",
"data": {
"_id": "abc123searchId",
"caseId": "xyz789caseId",
"status": "COMPLETED",
"result": { "...": "same payload as GET /search/{searchId}/status" },
"searchInputs": {
"identifier": "HRB 246975",
"jurisdiction": "DE"
},
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-15T10:30:22.000Z",
"userId": "user-uid"
}
}
- Events:
search.completedorsearch.failed. - Event ID &
Idempotency-Keyformat: deterministicevt_<24-hex>string —"evt_"followed by the first 24 lowercase hex characters ofSHA-256("${searchId}:${status}")(wherestatusisCOMPLETEDorFAILED). Retries of the same terminal transition carry the exact sameIdempotency-Keyandbody.id. - URL & SSRF validation:
webhook_urlmust behttps://on port443(default/omitted or:443), at most2048characters, with no embeddeduser:password@credentials, and must target a public multi-label FQDN (or public IP).localhost,.localhost,.local,.localdomain,.internal,.home.arpa, single-label hostnames, and DNS records resolving to loopback, RFC 1918 private, link-local (169.254.0.0/16), CGNAT (100.64.0.0/10), multicast, or reserved IPv4/IPv6 ranges are rejected (400 Bad Requeston invalid URL syntax/host atPOST, and re-verified on DNS resolution before delivery). - Retries: Your endpoint should return a
2xxstatus within 10 seconds. Redirects (3xx) are not followed. Timeouts, network errors,408,429, and5xxresponses are retried automatically with exponential backoff (up to 8 attempts). Other4xxresponses are treated as permanent failures. - Exclusions: Child
searchType: "lei"searches (frominclude.leiorPOST /searchgleif/lei) do not emit webhooks. Thedataobject matches the publicGET /search/{searchId}/statussearch document (webhook configuration and delivery metadata are not included indata).
Example (cURL)¶
RESPONSE=$(curl -sS -X POST https://api.revolutio.systems/search \
-H "Content-Type: application/json" \
-H "X-API-Key: $REV_API_KEY" \
-d '{"identifier": "09215191", "jurisdiction": "GB"}')
SEARCH_ID=$(echo "$RESPONSE" | jq -r '._id')
CASE_ID=$(echo "$RESPONSE" | jq -r '.caseId')
sleep 3
curl -sS "https://api.revolutio.systems/search/$SEARCH_ID/status" \
-H "X-API-Key: $REV_API_KEY" | jq .
Expand search¶
Follow-on registry search on a counterparty already on a case.
Unlike POST /search (new case, overwrites case.target), expand grafts the new ownership layer under the chosen company node.
The request is async: HTTP returns as soon as a PENDING search is saved.
Endpoint¶
Related paths:
| Method | Path | Purpose |
|---|---|---|
POST |
/search/expand |
Start expand |
GET |
/search/{searchId}/status |
Full search doc (incl. result when done) |
GET |
/casefile/?legal_name= |
Your cases with that target legal name |
GET |
/casefile/{caseId} |
Case + search summaries (no nested result) |
Request body¶
Registry expand:
{
"caseId": "abc123",
"entityId": "entity-uuid-on-case",
"jurisdiction": "DE",
"identifier": "HRB 12345",
"legalName": "Example GmbH",
"include": {
"financials": true
}
}
Non-registry regulator or stock-exchange expand (omit jurisdiction and set source to one of the 28 free 0-credit sources below):
{
"caseId": "abc123",
"entityId": "entity-uuid-on-case",
"source": "finra",
"legalName": "Citadel Securities LLC"
}
{
"caseId": "abc123",
"entityId": "entity-uuid-on-case",
"source": "nsdq",
"legalName": "BROADCOM INC."
}
| Field | Required | Notes |
|---|---|---|
caseId |
Yes | Existing case ID |
entityId |
Yes | _id of case.target or a counterparty already on that case |
jurisdiction |
No | Country registry to search. Defaults from the entity (jurisdiction / countryOfRegistration) when source is omitted. Mutually exclusive with source (400 if both are sent). |
source |
No | Case-insensitive wire code for one of 28 non-registry sources (13 financial regulators + 15 stock exchanges; see Non-registry expand sources (0 credits)). Omit jurisdiction when source is set. Stored on searchInputs.regulator as the uppercase label (e.g. "IAPD", "BAFIN", "NSDQ"). |
identifier |
No* | Registry registration number (defaults from the entity's identifiers on registry expands). On source: "ussec", identifier is preferred when it is a ticker (falling back to a Ticker identifier on the entity, then legalName). On the other 27 non-registry source values, legalName (from request body or entity) takes precedence and identifier is used only when legalName is empty. |
legalName |
No | Defaults from entity.legalName. Primary lookup query for non-registry source expands (and name-search registries), and accepts source-specific tickers, ISINs, or regulator IDs when overriding the query directly. |
include.financials |
No | Same opt-in as POST /search for registry expands. Ignored on all 28 non-registry source expands. |
webhook_url |
No | Public https:// URL on port 443 (max 2048 chars, public FQDN) to receive an asynchronous POST when the expand search transitions to COMPLETED or FAILED. Invalid URLs return 400. See Webhooks. |
* A registry expand requires a registration number (or a legalName on name-search registries such as JE); if neither the request body nor the entity has one (or only a stock ticker is present), the API returns 400. Non-registry source expands require legalName (or identifier when legalName is absent; ussec prefers a ticker).
Non-registry expand sources (0 credits)¶
All 28 non-registry source values cost 0 credits, do not require a jurisdiction subscription, ignore include.financials, preserve entity.legalName without overwriting it, and graft verified identifiers, addresses, officers/owners, and PDF proof documents onto entityId.
Financial regulators (13)¶
source |
Label | Authority & Jurisdiction | Accepted inputs (via legalName, or identifier when legalName is empty) |
Grafted data & proof |
|---|---|---|---|---|
iapd |
IAPD |
SEC Investment Adviser Public Disclosure (US) |
Legal name or CRD number | Form ADV Schedule A/B direct & indirect owners, CRD/SEC numbers, PDF report (brokerage-only firms automatically fall back to FINRA BrokerCheck with regulator: "FINRA") |
finra |
FINRA |
FINRA BrokerCheck (US) |
Legal name, CRD number, or SEC number | Broker-dealer ownership/control persons, CRD/SEC identifiers, BrokerCheck Detailed Report PDF |
ussec |
USSEC |
U.S. SEC EDGAR (US) |
Ticker preferred (identifier ticker → stored Ticker on entity → legalName / CIK) |
Latest Form 10-K PDF, CIK/ticker identifiers, executive officers & directors |
sedar |
SEDAR |
SEDAR+ (CA) |
Legal name or SEDAR+ profile number | Issuer profile PDF, SEDAR Profile Number identifier, head-office address, NAICS activity |
cima |
CIMA |
Cayman Islands Monetary Authority (KY) |
Legal name | CIMA Reference Number (KY) on exact match + search results PDF (or No Match Proof PDF) |
bafin |
BAFIN |
BaFin Unternehmensdatenbank (DE) |
Legal name or BaFin-ID | BaFin institution ID, licence categories, address, register proof PDF |
hkma |
HKMA |
Hong Kong Monetary Authority VPR (HK) |
Legal name or 6-digit HKMA registration code | Authorized Institution / LRO registration code, licence status, address, VPR proof PDF |
acpr |
ACPR |
ACPR REGAFI / établissement register (FR) |
Legal name, 9-digit SIREN, or CIB code | CIB / SIREN / BIC identifiers, authorisation status, address, REGAFI proof PDF |
amf |
AMF |
Autorité des marchés financiers GECO (FR) |
Legal name, 9-digit SIREN, AMF GECO registration code, or ISIN | AMF GECO / SIREN identifiers, management company authorisation details, proof PDF |
mas |
MAS |
Monetary Authority of Singapore FID (SG) |
Legal name, MAS FID ID/slug, or Singapore UEN | MAS licence class/status, contact/address details, FID directory proof PDF |
fca |
FCA |
Financial Conduct Authority Register (GB) |
Legal name, FCA Firm Reference Number (FRN), or UK Companies House number | FCA FRN, regulatory status/permissions, individuals/appointed status, FCA Register PDF |
apra |
APRA |
Australian Prudential Regulation Authority (AU) |
Legal name, 11-digit ABN, or RSE licence/registration number (L... / R...) |
ABN / APRA registration identifiers, regulated institution classification, register PDF |
fma |
FMA |
Financial Markets Authority / NZ FSPR (NZ) |
Legal name, FSP number (FSP...), or NZBN |
FSP number, licensed financial services, address, FSPR extract PDF |
Stock exchanges (15)¶
Stock-exchange expands resolve listed issuers, attach ticker/ISIN identifiers, graft major/institutional shareholders and board/executive officers (where disclosed by the venue), and store an exchange quote/holdings proof PDF. Unlike regulator expands, if a prior stock-exchange expand completed without finding disclosed owners, a subsequent retry on that exchange is allowed.
source |
Label | Exchange & Venue | Accepted inputs (via legalName, or identifier when legalName is empty) |
Grafted data & proof |
|---|---|---|---|---|
nsdq |
NSDQ |
NASDAQ (US) |
Legal name or NASDAQ ticker | Ticker (US), quote URL, top 10 institutional shareholders with overall ownership %, 2-page PDF proof |
nyse |
NYSE |
New York Stock Exchange (US) |
Legal name, NYSE ticker, or US ISIN | NYSE ticker/ISIN, institutional/major shareholders, officers/directors, quote/holdings PDF |
tsx |
TSX |
Toronto Stock Exchange & TSX Venture (CA) |
Legal name or TSX/TSXV ticker | Ticker (CA), principal holders (10%+) & director nominees from latest management information circular, PDF proof |
lse |
LSE |
London Stock Exchange (GB) |
Legal name, TIDM ticker, or ISIN | LSE ticker/ISIN, major shareholders (TR-1 / RNS) & directors, LSE proof PDF |
enx |
ENX |
Euronext — Paris, Amsterdam, Brussels, Lisbon, Dublin, Oslo, Milan (EU) |
Legal name, ticker (optional MIC hint), or ISIN | Euronext ticker/ISIN, major shareholders & governance, Euronext proof PDF |
dbx |
DBX |
Deutsche Börse / Frankfurter Wertpapierbörse (DE) |
Legal name, Xetra/FWB symbol, WKN, or ISIN | Ticker/ISIN, voting-rights / major shareholders & management/supervisory board, Deutsche Börse PDF |
six |
SIX |
SIX Swiss Exchange (CH) |
Legal name, SIX Valor symbol/ticker (e.g. NESN, .SW), or ISIN |
SIX ticker/ISIN, significant shareholders & management/board, SIX proof PDF |
nnx |
NNX |
Nasdaq Nordic — Stockholm, Copenhagen, Helsinki, Iceland (SE/DK/FI/IS) |
Legal name, Nordic ticker, or ISIN | Venue ticker/ISIN, major shareholders & board/executives, Nasdaq Nordic proof PDF |
wbx |
WBX |
Wiener Börse / Vienna Stock Exchange (AT) |
Legal name, Vienna ticker, or ISIN | Ticker/ISIN, core/major shareholder structure, Wiener Börse proof PDF |
hkex |
HKEX |
Hong Kong Exchanges and Clearing (HK) |
Legal name, HKEX numeric stock code (e.g. 00700), or ISIN |
HKEX stock code/ISIN, substantial shareholders (DI) & directors, HKEX proof PDF |
sgx |
SGX |
Singapore Exchange (SG) |
Legal name, SGX stock code, or ISIN | SGX stock code/ISIN, substantial shareholders & board/officers, SGX proof PDF |
tse |
TSE |
Tokyo Stock Exchange / JPX (JP) |
Legal name, 4-char JPX securities code, or JP... ISIN |
TSE code/ISIN, major shareholders (大株主) & officers from statutory filings, TSE proof PDF |
sse |
SSE |
Shanghai Stock Exchange (CN) |
Legal name, 6-digit SSE stock code (60xxxx / 688xxx), or ISIN |
SSE stock code/ISIN, top 10 shareholders & directors/officers, SSE/CNINFO proof PDF |
szse |
SZSE |
Shenzhen Stock Exchange (CN) |
Legal name, 6-digit SZSE stock code (00xxxx / 30xxxx), or ISIN |
SZSE stock code/ISIN, top 10 shareholders & directors/officers, SZSE/CNINFO proof PDF |
asx |
ASX |
Australian Securities Exchange (AU) |
Legal name, 3-letter ASX code, or AU... ISIN |
ASX ticker/ISIN, substantial/top 20 shareholders & directors/secretaries, ASX proof PDF |
Minimal example¶
curl -sS -X POST "https://api.revolutio.systems/search/expand" \
-H "Content-Type: application/json" \
-H "X-API-Key: $REV_API_KEY" \
-d '{
"caseId": "CASE_ID",
"entityId": "ENTITY_ID"
}'
Immediate response (200)¶
{
"_id": "SEARCH_ID",
"caseId": "CASE_ID",
"createdAt": "2026-…",
"updatedAt": "2026-…",
"userId": "UID",
"searchType": "expand",
"entityId": "ENTITY_ID",
"searchInputs": {
"identifier": "…",
"jurisdiction": "DE",
"legalName": "…"
},
"status": "PENDING"
}
Poll GET /search/{searchId}/status until COMPLETED or FAILED. On success, new counterparties are merged onto the case under entityId.
Expand credits¶
- Base jurisdiction cost is debited up front on registry expands (same as
POST /search, or0additional credits when the case usesbillingMode: "case"). All 28 non-registrysourceexpands (13 regulators + 15 stock exchanges) cost0credits. - On failure, any per-search base cost is refunded.
include.financialsis charged after success on registry expands only if numeric financials data returns (0underbillingMode: "case"). Non-registrysourceexpands ignoreinclude.financialsand never charge financials.
Expand errors¶
| Status | When |
|---|---|
400 |
Missing caseId / entityId; unsupported jurisdiction; missing registration number / legal name; source is not one of the 28 supported codes; both jurisdiction and source are set; invalid webhook_url |
401 |
Missing or invalid auth |
402 |
Insufficient credits (or missing organisation credit pool) |
403 |
Caller is not the case owner ("Only the case owner can expand a counterparty"); registry expand blocked by organisation policy ("Registry expand is not allowed for this company"); account locked; not subscribed to jurisdiction |
404 |
Case not found; entity not on case; user profile missing |
409 |
This source already expanded the counterparty, or the same source is already PENDING. A stock-exchange expand does not block a regulator or registry expand, and one regulator does not block another |
429 |
Rate limit |
500 |
Internal error (credits refunded if already charged) |
Example 400 when the entity has no registry number or legal name:
Example 403 responses on POST /search/expand:
Expand behaviour notes¶
- Idempotent per entity: once something in the case already points at
entityIdas a parent, further expands return409. - One in-flight expand per
entityId(PENDINGblocks a second start). - Expand does not create a new case; it mutates the existing case graph under the expanded node.
- Only the case owner may expand (collaborator access is not enough).
- Prefer re-fetching the case for UI structure; use search status for the full expand
resultand failure details.
Typical end-to-end flow¶
1. POST /search → caseId + root company
(optional expand_layers: {})
2. GET /search/{rootId}/status → wait until COMPLETED
3. POST /search/expandlayers → caseId (optional maxDepth, maxNodes)
Skip this POST when expand_layers was on the root search: the job is already on the case.
4. GET /search/{jobId}/status → wait until COMPLETED | FAILED
5. GET /casefile/{caseId} → ownership tree
One-node expand is still available when you want a single counterparty:
Fund path:
1. POST /search → { "target_type": "fund", "legal_name": "…" }
2. GET /search/{fundSearchId}/status → fund search COMPLETED | FAILED
3. GET /casefile/{caseId} → fund as target; manager as Fund Manager counterparty
4. (optional) GET /search/{expandSearchId}/status → auto-expand, when it started
Expand layers¶
Walks company shareholders of a completed case target, layer by layer. Each hop executes the same expand operation as POST /search/expand and grafts results under the expanded node without overwriting case.target.
The request is asynchronous: the endpoint records a PENDING job and processes the ownership layers in the background. Passing expand_layers on a root POST /search triggers the same background job automatically once the root search completes.
Endpoint¶
The hyphenated path POST https://api.revolutio.systems/search/expand-layers is accepted as an alias for the same endpoint. Poll the job id with GET /search/{searchId}/status.
Request body¶
| Field | Required | Notes |
|---|---|---|
caseId |
Yes | Existing case id |
maxDepth |
No | Default 5. Integer from 1 to 10. Count of ownership layers started, not skips. |
maxNodes |
No | Default 25. Integer from 1 to 50. Count of started expands, not skips. |
financials |
No | Default false. When true, each hop requests include: { financials: true }, with the same billing as Expand financials. Missing or any value other than true is false. |
parentEntityId is ignored.
Immediate response (200)¶
{
"_id": "JOB_ID",
"caseId": "CASE_ID",
"createdAt": "2026-…",
"updatedAt": "2026-…",
"userId": "UID",
"searchType": "expand-layers",
"searchInputs": {
"maxDepth": 5,
"maxNodes": 25,
"frontier": ["TARGET_ENTITY_ID"],
"depth": 0
},
"status": "PENDING"
}
The job has no entityId. Poll until COMPLETED or FAILED. A COMPLETED result looks like:
{
"maxDepth": 5,
"maxNodes": 25,
"layers": [
{
"depth": 0,
"expanded": [{ "entityId": "…", "searchId": "…" }],
"skipped": [{ "entityId": "…", "reason": "is_person", "legalName": "…" }]
}
],
"stoppedReason": "complete"
}
stoppedReason is complete, max_depth, max_nodes, root_not_ready, enqueue_failed, or requeued (requeued stays PENDING until background continuation finishes). enqueue_failed means background scheduling failed, and GET /search/{jobId}/status includes result.error.
What the walker expands¶
Children are counterparties with relationships[]._parentId equal to the current parent. Owner natures are Shareholder, Partner, and Member.
The walker does not:
- expand
case.target._id - walk
participations[] - expand officers, auditors, or fund managers
- guess missing jurisdictions when neither
jurisdictionnorcountryOfRegistrationis known (missing registration numbers within a known jurisdiction are resolved viaPOST /idfinder)
Each hop expands the shareholder using its jurisdiction or countryOfRegistration (normalising full country names such as Estonia → EE).
When financials is true on the job, each hop runs with include: { financials: true }. Otherwise include is omitted.
Same-layer company shareholders are expanded in parallel. The next layer starts after every hop on the current layer has completed and merged into the case.
If a company shareholder has a jurisdiction but no registration number, the walker resolves it via POST /idfinder using that legal name and jurisdiction, then expands using the returned registrationNumber when a unique identifier is found. Empty or ambiguous IDFinder results are skipped with no_identifier. Name-only registries expand directly by legalName. IDFinder credits are billed per lookup as usual, not by the layers job itself.
If per-account rate limiting temporarily defers a hop, that hop is queued and retried automatically once capacity opens in the sliding rate-limit window (default 30 requests per 60 seconds). rate_limited is not recorded in result.layers[].skipped, and deferred hops are not billed until they actually start.
Skip reasons on the job result¶
| Reason | When |
|---|---|
is_person |
Natural person |
not_owner |
No Shareholder / Partner / Member edge to this parent |
is_root |
Counterparty _id is the case target |
identity_is_root |
Legal entity that can merge with the case target |
already_expanded |
A COMPLETED expand search exists for that id |
already_running |
A PENDING expand search exists for that id |
no_handler |
Missing jurisdiction and countryOfRegistration, or the jurisdiction is not supported for registry search |
no_identifier |
No usable registration identifier (or unique IDFinder match) available for registry expand |
not_subscribed |
Hop skipped by expand (job continues) |
insufficient_credits |
Hop skipped by expand (job continues) |
expand_failed |
Hop started and later FAILED |
access_locked |
Account locked (layers job FAILED) |
forbidden |
Not the case owner on the hop (layers job FAILED) |
not_found |
Entity missing on the hop |
Credits¶
The layers job itself does not debit credits. Each started hop bills like Expand (jurisdiction cost up front, refunded if that hop fails). Skips are not billed, and rate-limited hops are not billed until they start. When financials is true, a hop that returns numeric financials is charged after success the same way as Expand, with no duplicate charge.
Expand-layers errors¶
| Status | When |
|---|---|
400 |
Missing caseId; maxDepth outside 1–10; maxNodes outside 1–50 |
401 |
Missing or invalid auth |
403 |
Caller is not the case owner ("Only the case owner can start an expand-layers job") |
404 |
Case not found |
409 |
root_not_ready (no case.target, or root search not COMPLETED); or a PENDING expand-layers job already on the case (already_running) |
500 |
Internal error |
A COMPLETED prior layers job is not a 409. A new POST continues remaining nodes and does not re-expand ids that already have a COMPLETED expand search.