ipify · JSON Structure

Geolocation Api Geolocation Response Structure

Geolocation, ISP, and AS lookup result for an IP, domain, or email.

Type: object Properties: 5 Required: 2
DevelopmentIP AddressGeolocationIP IntelligencePublic APIs

GeolocationResponse is a JSON Structure definition published by ipify, describing 5 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ip isp location as domains

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ipify/refs/heads/main/json-structure/geolocation-api-geolocation-response-structure.json",
  "name": "GeolocationResponse",
  "description": "Geolocation, ISP, and AS lookup result for an IP, domain, or email.",
  "type": "object",
  "required": ["ip", "location"],
  "properties": {
    "ip": {"type": "string", "description": "The resolved IPv4 or IPv6 address."},
    "isp": {"type": "string", "description": "Name of the Internet Service Provider that owns the IP."},
    "location": {
      "type": "object",
      "description": "Country + region + city + postal code + lat/lng + timezone block.",
      "properties": {
        "country": {"type": "string", "description": "ISO 3166-1 alpha-2 country code."},
        "region": {"type": "string", "description": "Region, state, or province name."},
        "city": {"type": "string", "description": "City name (Country+City plans only)."},
        "lat": {"type": "double", "description": "Latitude in decimal degrees."},
        "lng": {"type": "double", "description": "Longitude in decimal degrees."},
        "postalCode": {"type": "string", "description": "Postal code for the location."},
        "timezone": {"type": "string", "description": "UTC offset for the location."},
        "geonameId": {"type": "int64", "description": "GeoNames database identifier."}
      }
    },
    "as": {
      "type": "object",
      "description": "Autonomous System profile for the IP.",
      "properties": {
        "asn": {"type": "int64", "description": "Autonomous System Number."},
        "name": {"type": "string", "description": "AS organization name."},
        "route": {"type": "string", "description": "Announced route in CIDR notation."},
        "domain": {"type": "uri", "description": "AS organization website."},
        "type": {"type": "string", "description": "AS classification."}
      }
    },
    "domains": {
      "type": "array",
      "description": "Up to five reverse-DNS associated domains (only when reverseIp=1).",
      "items": {"type": "string"}
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/geolocation-api-geolocation-response-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.