{"result":[{"id":13689,"city_name":"Rennes","zip_code":"35000","department_code":"35","lat":48.11734209999999,"lng":-1.7075198,"region_name":"Bretagne","department_name":"Ille-et-Vilaine","type":"city"},{"id":633,"city_name":"Courtemont-Varennes","zip_code":"02850","department_code":"02","lat":49.0685709090909,"lng":3.54172795454545,"region_name":"Hauts-de-France","department_name":"Aisne","type":"city"},{"id":1512,"city_name":"Varennes-sur-Allier","zip_code":"03150","department_code":"03","lat":46.3136419620253,"lng":3.41025411392405,"region_name":"Auvergne-Rhône-Alpes","department_name":"Allier","type":"city"},{"id":1513,"city_name":"Varennes-sur-Tèche","zip_code":"03220","department_code":"03","lat":46.31399238993713,"lng":3.63486031446541,"region_name":"Auvergne-Rhône-Alpes","department_name":"Allier","type":"city"},{"id":3933,"city_name":"Rennes-le-Château","zip_code":"11190","department_code":"11","lat":42.91489383720929,"lng":2.27778604651163,"region_name":"Occitanie","department_name":"Aude","type":"city"},{"id":3934,"city_name":"Rennes-les-Bains","zip_code":"11190","department_code":"11","lat":42.92158104046243,"lng":2.34066219653179,"region_name":"Occitanie","department_name":"Aude","type":"city"},{"id":5895,"city_name":"Marennes","zip_code":"17320","department_code":"17","lat":45.81916955414013,"lng":-1.1107293630573198,"region_name":"Nouvelle-Aquitaine","department_name":"Charente-Maritime","type":"city"},{"id":8553,"city_name":"Varennes","zip_code":"24150","department_code":"24","lat":44.83246649122807,"lng":0.6693898245614,"region_name":"Nouvelle-Aquitaine","department_name":"Dordogne","type":"city"},{"id":9018,"city_name":"Rennes-sur-Loue","zip_code":"25440","department_code":"25","lat":47.014969,"lng":5.8551649999999995,"region_name":"Bourgogne-Franche-Comté","department_name":"Doubs","type":"city"},{"id":9761,"city_name":"Garennes-sur-Eure","zip_code":"27780","department_code":"27","lat":48.91163035714284,"lng":1.4358175,"region_name":"Normandie","department_name":"Eure","type":"city"}],"error":""}
curl --location --request GET 'https://zylalabs.com/api/1308/discover+france+api/1095/get+france+info?query=Rennes&type=city&max=5' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Discover France API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
Discover France API provides comprehensive information and data on various cities, departments, and regions located in France. It offers a wide range of functions that allow users to access up-to-date information on locations. The API is designed to be very easy to use and intuitive, allowing developers to quickly and easily integrate the data into their own applications, websites, and systems.
The API provides access to data on a wide range of parameters, such as latitude, longitude, region name, zip code, and type, among others. It also provides detailed information about the different regions and cities in France. Developers can use this information to create customized applications and services that meet the specific needs of different users, whether they are individuals, companies, or organizations.
In addition, Discover France API is highly scalable and flexible, allowing it to be used by a wide range of users, from small startups to large enterprises. The API is also designed to be highly secure, ensuring that sensitive data is protected at all times. Whether you want to create a new application, website, or service, or simply need access to reliable and accurate data on the different cities and regions of France, the French Urban Regions API is the solution you need.
It will receive parameters and provide you with a JSON.
Travel and tourism industry: The API can be used by travel companies, tour operators, and tourist offices to provide visitors with detailed information about different cities and regions in France.
Local and regional planning: Urban and regional planners can use the API to access information on different, regions, departments, and cities helping them to make informed planning and development decisions.
Educational and research applications: Schools, universities and research institutions can use the API to access data on different cities and regions in France, enabling them to conduct research, create educational resources, and develop new applications and services.
Interested in countries: This API can be used to provide tourists with information about French territory.
2 requests per minute.
Basic Plan: 30,000 API Calls.
Pro Plan: 90,000 API Calls.
Pro Plus Plan: 250,000 API Calls.
The Discover France API returns detailed information about cities, departments, and regions in France, including fields such as city name, zip code, department code, latitude, longitude, region name, and department name.
Key fields in the response data include "city_name," "zip_code," "department_code," "lat" (latitude), "lng" (longitude), "region_name," "department_name," and "type," which indicates the classification of the location.
The endpoint accepts parameters such as "city," "region," and "department," along with a "max_results" parameter to specify the number of results returned, ranging from 1 to 10.
The response data is organized in a JSON format, with a "result" array containing objects for each location. Each object includes various fields that provide specific details about the city or region.
The data is sourced from reliable geographic and administrative databases that provide up-to-date information on French cities, departments, and regions, ensuring accuracy and relevance.
Typical use cases include travel and tourism applications, urban planning tools, educational resources, and services for tourists seeking information about various locations in France.
Users can customize their requests by specifying different combinations of parameters such as city, region, and department, as well as adjusting the maximum number of results to tailor the output to their needs.
Users can utilize the returned data by integrating it into applications or websites to display location-specific information, perform geographic analyses, or enhance user experiences with detailed insights about French regions and cities.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund