Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaLead GenAvailable now

API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search companies

recherche-entreprises-api-gouv-fr/companies/search_companies

Find companies, people and contact details with API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search companies from Alexandria through one Spiral API key. Screening and prospect lists of French companies: e.g. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
qtext—

Free text over company names, addresses and executive or elected-official names, or a direct SIREN (9 digits) / SIRET (14 digits) lookup. At least 3 characters unless a filter is also given.

pagenumber
1 to 1000
1

Page number (1-based). Pass next_page from the previous answer. page * per_page may not exceed 10,000.

labelslist—

Only units carrying all these public labels: ess (social and solidarity economy), sole_proprietorship (entreprise individuelle), association, local_authority (collectivité territoriale), mission_company (société à mission), public_administration, rge (RGE environmental certification), qualiopi (training quality), organic (Agence Bio), training_organization, siae (work-integration structure), finess (health/social facility), living_heritage (Entreprise du Patrimoine Vivant), entertainment_contractor (licence d'entrepreneur de spectacles), responsible_purchasing (RFAR label), alim_confiance (food-safety inspection published), uai (education establishment), egapro (gender pay-equality index published), collective_agreement (collective agreement IDCC on file).

statusone of
active, ceased
—

Administrative state of the legal unit in Sirene.

regionslist—

INSEE region codes; matches units with an establishment there: 01 Guadeloupe, 02 Martinique, 03 Guyane, 04 La Réunion, 06 Mayotte, 11 Île-de-France, 24 Centre-Val de Loire, 27 Bourgogne-Franche-Comté, 28 Normandie, 32 Hauts-de-France, 44 Grand Est, 52 Pays de la Loire, 53 Bretagne, 75 Nouvelle-Aquitaine, 76 Occitanie, 84 Auvergne-Rhône-Alpes, 93 Provence-Alpes-Côte d'Azur, 94 Corse.

per_pagenumber
1 to 25
10

Results per page, 1-25 (API cap).

naf_codeslist—

Main activity of the legal unit, NAF rév. 2 / APE codes such as 62.01Z (6201Z accepted). Any of them matches.

departmentslist—

Department codes (01-95, 2A, 2B, 971-976); matches units with an establishment there.

legal_formslist—

INSEE legal categories (catégorie juridique, 4 digits): e.g. 5710 SAS, 5720 SASU, 5499 SARL, 5498 EURL, 5599/5699 SA, 5800 SE, 1000 sole proprietor, 9220 association.

person_typeone of
executive, elected_official
—

Restrict the person filters to executives (dirigeants) or local elected officials (élus).

revenue_maxnumber—

Maximum revenue of the latest published accounts, euros.

revenue_minnumber—

Minimum revenue (chiffre d'affaires) of the latest published accounts, euros. Units without published accounts never match.

naf_sectionslist—

NAF sections of the main activity: A agriculture, B mining, C manufacturing, D energy, E water/waste, F construction, G wholesale/retail trade, H transport, I accommodation/food, J information/communication, K finance/insurance, L real estate, M professional/scientific/technical (incl. head offices 70.10Z), N administrative support, O public administration, P education, Q health/social, R arts/recreation, S other services, T households, U extraterritorial.

postal_codeslist—

Postal codes; matches legal units with at least one establishment there.

sort_by_sizetrue or false—

true: order by company size (number of establishments) instead of relevance.

commune_codeslist—

INSEE commune codes (5 characters, e.g. 75056 Paris, 2A004 Ajaccio); matches units with an establishment there.

net_income_maxnumber—

Maximum net income of the latest published accounts, euros.

net_income_minnumber—

Minimum net income (résultat net) of the latest published accounts, euros (negative allowed).

headcount_bandslist—

INSEE salaried headcount bands of the legal unit: NN none, 00 zero at year end, 01 1-2, 02 3-5, 03 6-9, 11 10-19, 12 20-49, 21 50-99, 22 100-199, 31 200-249, 32 250-499, 41 500-999, 42 1,000-1,999, 51 2,000-4,999, 52 5,000-9,999, 53 10,000+. For '50+ employees' pass 21 through 53.

person_last_nametext—

Last name of an executive (dirigeant) or local elected official.

company_categorieslist—

INSEE company category: PME (SME), ETI (mid-cap), GE (large enterprise).

person_first_namestext—

First name(s) of an executive or elected official.

person_birth_date_maxtext—

Latest birth date of an executive or elected official (YYYY-MM). For 'executive aged 60+' in October 2026, pass 1966-10. Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])(-[0-9]{2})?$.

person_birth_date_mintext—

Earliest birth date of an executive or elected official (YYYY-MM; a day is accepted and ignored). For 'executive under 40' in 2026, pass 1986-11. Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])(-[0-9]{2})?$.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "recherche-entreprises-api-gouv-fr/companies/search_companies",
    "input": {
      "q": "<q>"
    }
  }'

Frequently asked questions

How much does API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search companies cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search companies through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "recherche-entreprises-api-gouv-fr/companies/search_companies"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search companies?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search companies?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.