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 near point

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

Find companies, people and contact details with API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search near point from Alexandria through one Spiral API key. Local market mapping: which companies operate establishments around an address or coordinates, e.g. restaurant companies (56.10A) within 1 km of a site, or groups whose head-office activity (70.10Z) has offices in a business district. 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
lat requirednumber
-90 to 90
—

Latitude (WGS84) of the centre point.

long requirednumber
-180 to 180
—

Longitude (WGS84) of the centre point.

pagenumber
1 to 1000
1

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

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 70.10Z (7010Z accepted); any of them matches. The API applies it to the unit, not to the establishment in the radius (each matching establishment reports its own naf_code).

radius_kmnumber
0.001 to 50
5

Search radius in km, up to 50.

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.

sort_by_sizetrue or false—

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

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_near_point",
    "input": {
      "lat": -90,
      "long": -180
    }
  }'

Frequently asked questions

How much does API Recherche d'entreprises (annuaire-entreprises.data.gouv.fr) · Search near point 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 near point through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "recherche-entreprises-api-gouv-fr/companies/search_near_point"` 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 near point?

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 near point?

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