{"ip_address":"102.129.143.0","city":"Hunenberg","city_geoname_id":2660292,"region":"Zug","region_iso_code":"ZG","region_geoname_id":2657907,"postal_code":"6333","country":"Switzerland","country_code":"CH","country_geoname_id":2658434,"country_is_eu":false,"continent":"Europe","continent_code":"EU","continent_geoname_id":6255148,"longitude":8.4204,"latitude":47.173,"security":{"is_vpn":false},"timezone":{"name":"Europe/Zurich","abbreviation":"CEST","gmt_offset":2,"current_time":"21:55:54","is_dst":true},"flag":{"emoji":"🇨🇭","unicode":"U+1F1E8 U+1F1ED","png":"https://static.abstractapi.com/country-flags/CH_flag.png","svg":"https://static.abstractapi.com/country-flags/CH_flag.svg"},"currency":{"currency_name":"Swiss Franc","currency_code":"CHF"},"connection":{"autonomous_system_number":212238,"autonomous_system_organization":"Datacamp Limited","connection_type":"Corporate","isp_name":"Delta Centric LLC","organization_name":"Digital Energy Technologies Limited"}}
curl --location --request GET 'https://pr213-testing.zylalabs.com/api/2384/geotargeting+api/2316/get+location+by+ip+data?ip_address=102.129.143.0' --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 Geotargeting 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 🎉)
Trusted by leading companies
The Geotargeting API is a powerful and sophisticated service that provides accurate and complete information about the location of any IP address. With a wealth of data, including city, region, country and latitude/longitude coordinates, this API offers world-class geolocation capabilities to suit a wide range of applications and industries.
In essence, the Geotargeting API is designed to provide an accurate and reliable solution for obtaining geolocation data. By submitting an IP address, users gain access to detailed information about the physical location associated with that IP. This data enables users, developers and individuals to tailor their services, content and user experiences based on the geographic context of their audience.
One of the highlights of this API is its exceptional accuracy. The geolocation data is sourced from trusted databases and authorized providers, ensuring that the information retrieved is up-to-date and reliable. Businesses can rely on this data for a variety of purposes, such as localized marketing campaigns, targeted advertising and personalized user experiences.
For users, the Geotargeting API offers simplicity and ease of integration. The API provides full documentation, code samples, allowing users of all levels to seamlessly integrate geolocation features into their applications and websites. The well-organized response structure and standardized format make data retrieval simple and easy to use.
The versatility of the API makes it an invaluable tool for companies operating on a global scale. With the ability to obtain location information from IP addresses around the world, companies can create region-specific content, offer multilingual experiences, and tailor their services to the preferences and needs of various user demographics.
In conclusion, the Geotargeting API is a state-of-the-art and comprehensive solution for obtaining accurate location information from IP addresses. With its high level of accuracy, ease of integration and wide range of applications, the API is an indispensable tool for users seeking to optimize their global reach, developers seeking to improve user experience, and researchers seeking to gain valuable insights into user behavior and regional trends. By harnessing the power of geolocation data, this API enables organizations to deliver personalized and targeted services, strengthen security measures and make data-driven decisions for a successful and engaging digital presence.
It will receive parameters and provide you with a JSON.
Localized content delivery: Companies can use the API to deliver localized content to users based on their geographic location. This ensures that users receive relevant information and promotions tailored to their region.
Targeted advertising: Advertisers can leverage API data to target their advertising campaigns to specific regions. This enables more precise and effective advertising, maximizing ROI.
Fraud prevention: e-commerce platforms and financial institutions can use the API to detect and prevent fraudulent activity by cross-referencing user location with transaction data and account activity.
Website localization: Companies with a global presence can use the API to automatically display their website in the language and currency of the user's region, improving user experience and engagement.
Regional access control: The API allows companies to restrict access to certain content or services based on the user's location, ensuring compliance with regional regulations or licensing agreements.
Basic Plan: 3,000 API Calls. 100 requests per day.
Pro Plan: 9,000 API Calls. 300 requests per day.
Pro Plus Plan: 30,000 API Calls. 1,000 requests per day.
There are different plans suits everyone including a free trial for small amount of requests, but it’s rate is limit to prevent abuse of the service.
To use this API, the user must enter an IP.
Zyla provides a wide range of integration methods for almost all programming languages. You can use these codes to integrate with your project as you need.
The Geotargeting API provides accurate location data for IP addresses.
The Geotargeting API returns detailed geolocation data for an IP address, including city, region, country, latitude/longitude coordinates, timezone, currency, and connection details such as ISP and organization.
Key fields in the response include "ip_address," "city," "region," "country," "latitude," "longitude," "timezone," "currency," and "connection" details like ISP name and organization.
The response data is structured in a JSON format, with key-value pairs representing various geolocation attributes. This allows for easy parsing and integration into applications.
The endpoint provides information such as geographic location (city, region, country), coordinates (latitude, longitude), timezone, currency, and connection details (ISP, organization).
Data accuracy is maintained through sourcing from trusted databases and authorized providers. Regular updates and quality checks ensure that the information remains reliable and current.
Typical use cases include delivering localized content, targeted advertising, fraud prevention, website localization, and regional access control based on user location.
Users can customize requests by specifying the IP address in the API call. The API is designed to return tailored geolocation data based on the provided IP.
Standard data patterns include consistent fields for location (city, region, country) and connection details. Users can expect structured responses that facilitate easy integration and analysis.
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