French KYB batch (2 to 100)
get_french_company_kyb_batchBatch 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.63 (30% off the $0.90 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). Every request quotes at least $1.26, up to $63.00, 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 | |
| api_key | No | Optional Sirenic API key (srn_live_…) paying from credits. Ignored when x_payment is provided. See server instructions. | |
| x_payment | No | Optional signed x402 payment (PAYMENT-SIGNATURE value); omit it to get the quote. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | How to settle the quote. | |
| quote | No | The x402 quote {x402Version, accepts[]}. | |
| resultat | No | The endpoint's JSON response when payment_required is false; reading rules in the server instructions and GET /v1/lecture. | |
| free_tier | No | Free API key offer, with a quote. | |
| payment_required | Yes | True for an x402 payment quote instead of data. |