French KYB batch (2 to 100)
get_french_company_kyb_batchRetrieves batch KYB files for 2–100 French companies by SIREN, including commercial-court decisions, enabling compliance checks on supplier or customer lists.
Instructions
Batch KYB: full KYB files for 2 to 100 French companies in one call, commercial-court decisions (Judilibre) included since 2026-09-24. Billed per company at $0.105 (30% off the $0.15 unit price) via x402: the amount is the unit price times the number of SIREN. A SIREN with no diffusible company is returned with trouve=false and billed as one lookup. A SIREN whose identity is incomplete (administrative status or legal category missing) comes back trouve=false with motif identite_incomplete, billed as one lookup. A batch holding such a SIREN (sole proprietorship, restricted diffusion, group without legal personality) is refused whole: 400, never charged, sirens_refuses gives each refused SIREN and its code; replay without them. Each file carries its own per-block provenance (official register, as_of date). Ideal for prospecting and compliance agents processing lists. For a customer or supplier list, pass vue=synthese: the full files of a large batch do not fit in a tool result. One compact line per SIREN (status and cessation date, insolvency proceedings and deregistrations, sanctions screening status and match count, never a name, court-decision count, last filed accounts, completeness, reserves), same checks, same price, batch-level provenance; the text result is compact JSON on a single line. procedure_le is the BODACC publication date of the latest proceedings notice, never the judgment date; radiation_le, the BODACC publication date of the latest deregistration notice, never the date of a judgment or of the deregistration. By default, Claude Code (2.1.293, measured on 2026-10-14) passes the model a tool result of up to 25,000 tokens counted by the API (a result of up to 50,001 characters passes uncounted); beyond that, the model only receives an error message and the path of a file. At the bounded worst case (each field of the lines and of the batch head at its bounded longest), 56 lines are guaranteed to fit, on a strict bound of the exact count: 1,848 tokens for the batch head and 395 per line as counted, each character changed since taken as one more token, at most 1,862 and 409. With real companies, measured on 2026-10-08: 100 SIREN took 16,698 tokens and 80 took 13,754 (2.1 characters per token). A full-size request quotes up to $10.50, above the $1.00 single-payment cap that x402 clients apply BY DEFAULT since @x402/core 2.23 (spendControls): raise spendControls.maxAmountPerPayment, or set spendControls: false, before signing; otherwise your own client rejects the quote without ever calling us. Partial diffusion (rule diffusion_partielle_nom_retenu_et_compte): the file of a unit not proven to be a legal person has identite.denomination null, counted in identite.ecartes.diffusion_partielle. When you report a result, cite its citation verbatim.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sirens": "<sirens>"
},
"name": "get_french_company_kyb_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vue | No | complet (default): the full KYB file of each SIREN; synthese: one compact line per SIREN, same checks and price. | |
| sirens | Yes | List of 2 to 100 nine-digit SIRENs |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to settle the quote, present when payment_required is true. | |
| quote | No | The signable x402 payment requirements when payment_required is true: {x402Version, accepts[]} where each entry carries scheme, network, amount, asset and payTo (USDC and EURC options at the same numeric amount). Sign one entry and call again with `x_payment`. | |
| resultat | No | The endpoint's JSON response when payment_required is false. Paid responses carry `source`, `disclaimer` and an Ed25519 signature, and every paid JSON response carries a `provenance` array (all tools since 2026-09-06): one entry per block served, with the official register, licence, version, `empreinte_sha256` (full snapshots), `as_of` date and `precision_as_of` (what that date means), plus the common per-block envelope: `etat` in a closed list (servi, absence_mesuree, absence_non_conclusive, partiel, perime, indisponible, sans_objet), `motif` when unavailable, `age_jours` (only for publication or ingestion dates), `couverture` (complete / partielle / non_mesurable with its measure) and `confiance` in bands (faible / moyenne / forte, only where a measure grounds it, never averaged across blocks). Read the states before the numbers: an absence_non_conclusive, indisponible or partiel block is never « nothing to report »; only absence_mesuree asserts an absence. Register codes: GET /v1/provenance/registres ; states, closed lists and reading rules: GET /v1/lecture (both free). The PDF tools carry no JSON envelope (the PDF report prints it). | |
| free_tier | No | Free API key offer for this tool, present with a quote. | |
| payment_required | Yes | True when this response is an x402 payment quote instead of data: settle one of the quote's `accepts` options and call the tool again with `x_payment`. |