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.
To use this endpoint you will have to insert the parameters, city, region, and department and specify the maximum result in a range from 1 to 10.
get france info - Endpoint Features
Object | Description |
---|---|
query |
[Required] |
type |
[Optional] |
max |
[Optional] |
{"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'
Header | Description |
---|---|
Authorization
|
[Required] Should be Bearer access_key . See "Your API Access Key" above when you are subscribed. |
No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.
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.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the ‘X-Zyla-API-Calls-Monthly-Remaining’ field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the ‘X-Zyla-RateLimit-Limit’ response header. For instance, if your plan includes 1,000 requests per month, this header will display 1,000.
The ‘X-Zyla-RateLimit-Reset’ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
To give you the opportunity to experience our APIs without any commitment, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost. This trial can be used only once, so we recommend applying it to the API that interests you the most. While most of our APIs offer a free trial, some may not. The trial concludes after 7 days or once you've made 50 requests, whichever occurs first. If you reach the 50 request limit during the trial, you will need to "Start Your Paid Plan" to continue making requests. You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab. Alternatively, if you don't cancel your subscription before the 7th day, your free trial will end, and your plan will automatically be billed, granting you access to all the API calls specified in your plan. Please keep this in mind to avoid unwanted charges.
After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it’s important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
Service Level:
100%
Response Time:
231ms
Service Level:
100%
Response Time:
683ms
Service Level:
100%
Response Time:
121ms
Service Level:
100%
Response Time:
544ms
Service Level:
100%
Response Time:
768ms
Service Level:
100%
Response Time:
3,446ms
Service Level:
100%
Response Time:
3,149ms
Service Level:
100%
Response Time:
1,879ms
Service Level:
100%
Response Time:
3,149ms
Service Level:
100%
Response Time:
607ms