IPGeolocation API Portfolio


Overview

IPGeolocation provides the following APIs:

  • IP Geolocation API

    IP Geolocation API provides location information for any IPv4/IPv6 address or domain name.

  • IP Security API

    The IP Security API helps you detect and block suspicious IP addresses by providing real-time threat intelligence. It identifies if an IP is a proxy, VPN, Tor node, bot, spam source, or from a cloud provider, along with a threat score to assess risk levels.

  • Real-Time Proxy & VPN Detection

    Real-Time Proxy & VPN Detection is a client-side JavaScript snippet that flags VPNs, proxies, and residential proxies at the moment a user signs up, logs in, or checks out. It needs no API key, is authorized by origin, and groups results into action bands by confidence level.

  • ASN API

    The ASN API provides detailed information about the Autonomous System Number (ASN) associated with an IP address. It includes the number of IP ranges under the ASN, network relationships such as peers and upstream/downstream connections, and the organization that owns the network.

  • Abuse Contact API

    The Abuse Contact API provides the abuse contact information for any IPv4/IPv6 address. It helps you report abuse or security incidents related to IP addresses, ensuring that issues are addressed promptly by the responsible parties.

  • Time Zone API

    Time Zone API provides date, time and timezone information from timezone name, IP address or location coordinates (latitude and longitude).

  • User-Agent API

    User-Agent API provides the accurate browser, device, and operating system details from device user agent string.

  • Astronomy API

    The Astronomy API provides sun rise time, sun set time, moon rise time and moon set time including current position, angle, and distance of the Sun and the Moon for a given date.


Authentication, Response Formats, and Credits

Most IPGeolocation.io API endpoints require authentication. You can authenticate requests using an API key or Request Origin (CORS). The Get IP endpoint ( /v3/getip ) is an exception and does not require authentication.

  • API Authentication: Learn how to authenticate requests using an API key or Request Origin (CORS), plus plan limits for extra keys/origins. Read API Authentication.
  • API Response Formats (JSON & XML): Control output format (JSON default, XML via output=xml or Accept header). Includes Get IP output options (JSON/XML/plain text). Read API Response Formats.
  • Credits Usage Guide: Understand how credits are charged per request, including billable vs non-billable modules and examples. Read Credits Usage Guide.

Security / SSL

We take security seriously and all of our API endpoints are served over a secure HTTPS connection for all users, even if you are on the free plan.


Rate Limits

We have a hard limit of 1000 requests per day on our Free plan. However, we don't have any hourly, daily or monthly rate limit on any of our paid plans. We also do not enforce any requests-per-minute limit on any plan, including the Free/Developer plan. Our globally distributed infrastructure routes requests to the nearest available server to support consistent performance and low latency.

If you exceed your monthly quota, we'll keep serving your requests and add a surcharge amount on top of your monthly price. Surcharge rate varies from plan to plan. Please consult our Pricing page for the surcharge rate of each plan.


API SDKs

To facilitate the developers, we have added some SDKs for various programming languages. The detailed documentation on how to use these SDKs is available in the respective SDK's documentation page linked below.

Our SDKs are also available on GitHub. Feel free to help us improve them. Following are the available SDKs: