Query French companies by combined criteria
query_french_companiesSearch official French company registries using combined criteria to get exact match counts or paginated company lists with financial, location, and growth signals.
Instructions
French company search with free combined criteria on a pre-joined table of the official registries (Sirene identity and head office, last filed accounts, public signals). mode is required: compter returns the exact count ($0.002 in USDC or EURC), lister one page of 100 companies ($0.02 per page, 100 pages at most) with the exact total; count first, then list. criteres: up to 20 conditions {champ, op, valeur} combined with AND (OR goes through in); valeur is typed by the field (string, number, true or false, YYYY-MM-DD, [min, max] for entre, an array of 1 to 50 values for in, or for hors, which excludes SIRENs on identite.siren only); criteres is at most 2048 characters once JSON-encoded (beyond: criteres_trop_longs, refused here before any quote); each field's operators, unit, closed values and meaning are served free by GET /v1/lecture. Active legal persons by default (identite.etat = A; any criterion on identite.etat replaces it): no officer, no person. A refusal is a 400 from the closed list (parametre_inconnu, criteres_illisibles, criteres_trop_longs, trop_de_criteres, champ_inconnu, champ_indisponible, champ_non_filtrable, operateur_refuse, valeur_invalide, personnes_physiques_exclues, tri_refuse, page_hors_bornes, champ_de_sortie_inconnu), never charged; a query beyond the 15 s budget returns requete_trop_large, never charged: narrow the criteria. To screen a customer file by growth trajectory ("Of my 300 customers, which ones have been shrinking for two years?"): identite.siren in a list of up to 50 SIRENs with tendances.trajectoire in [repli_modere, repli_marque, degradation_apres_croissance], 6 calls for 300 customers; tendances.trajectoire and the trajectory signals are computed at each monthly rebuild of the table (before the first one: 503 collecte_en_cours, never charged), get_french_company_trajectory serves one company on the day. identite.naf_nomenclature, identite.naf25, identite.naf25_statut (output only) are copied from a Sirene stock this server read in full, NAF 2025 column present and no value outside the official subclasses; until the rebuild that follows such a stock: 503 collecte_en_cours, never charged. Paid via x402. 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": {
"mode": "<mode>"
},
"name": "query_french_companies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tri | No | Sort field, - prefix for descending; missing values last (lister) | |
| mode | Yes | compter: exact count; lister: one page of companies. Required: nothing is bought by default. | |
| page | No | Page number (lister), 100 companies per page, one payment per page | |
| champs | No | Catalogue fields to serve (lister); the SIREN and the fields of the criteria and of the sort are always served | |
| criteres | No | Conditions combined with AND, at most 2048 characters once JSON-encoded (none: every active legal person) |
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`. |