French Public Services Directory (Service-Public)
Pricing
Pay per usage
French Public Services Directory (Service-Public)
Town halls, prefectures, CAF, CPAM and 35,000+ French public services with address, phone, email, website and opening hours. Free — official Service-Public.fr open data.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
DEV DEV
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
French Public Services Directory (Service-Public.fr) — Free
Find any French public service with full contact details (annuaire de l'administration): town halls (mairies), prefectures, CAF, CPAM, tax offices, police stations, gendarmeries and 35,000+ other services. This free actor queries the official Service-Public.fr directory API (DILA, Prime Minister's services) and returns name, address, geo-coordinates, phone, email, website and opening hours.
This actor is free — you only pay your own Apify platform usage.
Input
| Field | Type | Description |
|---|---|---|
communeCodes | array | INSEE commune codes (5 chars, e.g. 69123 = Lyon). Required. |
serviceTypes | array | Service types (pivot codes): mairie, prefecture, sous_pref, caf, cpam, pole_emploi, commissariat_police, gendarmerie, centre_impots_service… Default ["mairie"]. |
maxResultsPerQuery | integer | Max services per commune × type (default 20). |
Output
{"status": "found","communeCode": "69123","serviceType": "mairie","name": "Mairie - Lyon - Mairie centrale","address": "Place de la Comédie","postalCode": "69001","city": "Lyon","latitude": 45.7675,"longitude": 4.8353,"phone": "04 72 10 30 30","email": "...","website": "https://www.lyon.fr","openingHours": [{ "nom_jour_debut": "Lundi", "valeur_heure_debut_1": "08:45:00" }]}
status is found, not_found or error. Invalid inputs never crash the run.
Use cases
- Build local-service pages (mairie contact + opening hours) for real-estate or relocation sites.
- Enrich B2G lead lists with verified official contacts.
- Chatbots answering "where is my nearest CAF / prefecture?".
- Civic-tech projects and administrative-coverage studies.
Limitations & fair use
- Data source: Annuaire de l'administration — API (DILA), Licence Ouverte / Open Licence Etalab.
serviceTypesmust use official pivot codes (see input description for common ones).- Polite delays are applied between calls.
More actors by this developer: see profile — French open-data toolkit (companies, geocoding, water quality, and more).