IP Geolocation

Get geolocation data for any IP address including country, city, ISP, and VPN detection. Use this endpoint to enrich user data with location information for personalization, fraud detection, or content localization.

Get API Key

Overview

Use Cases

  • User location personalization
  • Fraud detection and risk scoring
  • Content localization and geo-targeting
  • Analytics and user insights
  • Compliance and regulatory requirements

Features

Country and city lookup
ISP identification
VPN detection
Support for both IPv4 and IPv6 addresses

API Endpoints

Get IP Info (Caller IP)

Get geolocation and network information for the requesting client's IP address. Useful when you want information about the user making the request without specifying an IP explicitly.

GET
https://api.requiems.xyz/v1/tech/ip

Try it out

Live Demo
Request

Response Fields

Field Type Description
ip string The IP address that was looked up (the requesting client's IP)
country string Country name where the IP is located
country_code string Two-letter ISO country code (e.g., "US", "GB", "DE")
city string City name where the IP is located
isp string Internet Service Provider providing the IP
is_vpn boolean True when the IP belongs to a known VPN

Code Examples

curl "https://api.requiems.xyz/v1/tech/ip" \
  -H "requiems-api-key: YOUR_API_KEY"

Error Responses

internal_error

Unexpected server error

Get IP Info for IP

Get geolocation and network information for a specific IP address.

GET
https://api.requiems.xyz/v1/tech/ip/{ip}

Parameters

Name Type Required Description
ip string Required The IP address to look up (supports IPv4 and IPv6)

Try it out

Live Demo
Request

The IP address to look up (supports IPv4 and IPv6)

Response Fields

Field Type Description
ip string The IP address that was looked up
country string Country name where the IP is located
country_code string Two-letter ISO country code (e.g., "US", "GB", "DE")
city string City name where the IP is located
isp string Internet Service Provider providing the IP
is_vpn boolean True when the IP belongs to a known VPN

Code Examples

curl "https://api.requiems.xyz/v1/tech/ip/8.8.8.8" \
  -H "requiems-api-key: YOUR_API_KEY"

Error Responses

bad_request

The IP address is invalid

internal_error

Unexpected server error

Frequently Asked Questions