POST
/api/v1/company-filings/entities$0.02 USDCResolve up to 100 messy company names to ESEF filer LEIs with fuzzy token matching after stripping legal forms, optionally filtered by country.
An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
curl -i -X POST "https://www.brainiac.software/api/v1/company-filings/entities" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"names": [
"ASML Holding",
"C0722 Terni Energia"
],
"country": "NL"
}
JSON{
"status": "partial",
"summary": {
"requested": 3,
"matched": 2,
"unmatched": 1
},
"results": [
{
"name": "C0722 Terni Energia",
"matches": [
{
"lei": "815600E4E6DCD2D25E30",
"entityName": "Terni Energia S.p.A.",
"country": "IT",
"score": 1
}
]
},
{
"name": "ASML Holding NV",
"matches": [
{
"lei": "724500Y6DUVHQD6OXN27",
"entityName": "ASML Holding N.V.",
"country": "NL",
"score": 1
}
]
}
],
"sources": [
{
"source": "filings.xbrl.org",
"url": "https://filings.xbrl.org/",
"licence": "No restrictions on use (XBRL International)",
"retrievedAt": "2026-12-03",
"status": "ok"
}
],
"limitations": [
"Only ESEF/UKSEF filers collected by XBRL International are in scope; companies that file elsewhere (for example US-only issuers) do not match.",
"Matching lowercases, strips punctuation, job codes and legal forms (S.p.A., N.V., AG, SE, plc, Ltd, GmbH, ...), then scores token-set similarity; review scores"
]
}HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; status failed or empty payloads return non-2xx and are not charged.
Lookups read vendored snapshots in src/data/company-filings; filings.xbrl.org and sec.gov are not called at request time. Only ESEF/UKSEF filers collected by XBRL International are covered; report URLs are on filings.xbrl.org, not the issuer's own domain. Only four full-year facts are extracted: ifrs-full:Revenue, ProfitLoss, Assets, EquityAttributableToOwnersOfParent. Other concepts return null.