Geo API Suite

The Geographic & Identity Data API for Modern Apps.

Lightning fast REST API providing access to Countries, States, Cities, IP Lookups, BGP Routing, and Disposable Email Verification. Built for performance.

No Rate Limit No API Key Required Zero External Latency

Interactive Playground

Base URL https://api.gxpforge.com/api
GET /api/v1/geo/search?q=london

API Reference


GET

/v1/geo/countries

Retrieve a complete list of all supported countries in the database.

Example Response
{
  "status": true,
  "message": "Countries retrieved successfully",
  "body": [
    { "id": 1, "name": "Afghanistan", "iso2": "AF", "iso3": "AFG" }
  ]
}

GET

/v1/geo/countries/{iso2}/states

Get all states or provinces associated with a specific country's ISO2 code.

Example Response
{
  "status": true,
  "message": "States retrieved successfully",
  "body": [
    { "id": 4030, "name": "Madhya Pradesh", "iso2": "MP" }
  ]
}

GET

/ip/{ip}

Resolve an IP address to its geographical location, ASN routing info, and organization.

Example Response
{
  "status": true,
  "message": "IP location retrieved successfully",
  "body": {
    "ip": "8.8.8.8",
    "asn": "AS15169",
    "organization": "GOOGLE",
    "country_code": "US",
    "country": "United States",
    "city": "Mountain View",
    "latitude": 37.751,
    "longitude": -97.822,
    "timezone": "America/Chicago"
  }
}

GET

/ip/{ip}/hostname

Perform an on-demand reverse DNS (PTR) lookup to retrieve the infrastructure hostname associated with the IP.

Example Response
{
  "status": true,
  "message": "Hostname retrieved successfully",
  "body": {
    "ip": "8.8.8.8",
    "hostname": "dns.google"
  }
}

GET

/email/{address}

Instantly detect temporary, disposable, and toxic email addresses.

Example Response
{
  "status": true,
  "message": "Email analyzed successfully",
  "body": {
    "domain": "0-mail.com",
    "email": "rilale4443@0-mail.com",
    "is_disposable": true
  }
}