Geoapify · Schema

IpGeolocationResponse

GeocodingGeospatialLocationMapsRoutingPlacesTimezoneMCPGeoJSONOpenStreetMapStatic MapsIsolines

Properties

Name Type Description
ip string
city object
state object
country object
continent object
location object
subdivisions array
postal object
View JSON Schema on GitHub

JSON Schema

geoapify-ip-geolocation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geoapify/json-schema/geoapify-ip-geolocation-response-schema.json",
  "title": "IpGeolocationResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geoapify-ip-geolocation-api-openapi.yml#/components/schemas/IpGeolocationResponse",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "ip": {
      "type": "string",
      "anyOf": [
        {
          "format": "ipv4"
        },
        {
          "format": "ipv6"
        }
      ]
    },
    "city": {
      "$ref": "#/$defs/IpGeolocationNamedEntity"
    },
    "state": {
      "$ref": "#/$defs/IpGeolocationNamedEntity"
    },
    "country": {
      "$ref": "#/$defs/IpGeolocationCountry"
    },
    "continent": {
      "$ref": "#/$defs/IpGeolocationContinent"
    },
    "location": {
      "$ref": "#/$defs/IpGeolocationLocation"
    },
    "subdivisions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/IpGeolocationNamedEntity"
      }
    },
    "postal": {
      "$ref": "#/$defs/IpGeolocationPostal"
    }
  },
  "$defs": {
    "IpGeolocationContinent": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "names": {
          "$ref": "#/$defs/LocalizedNames"
        },
        "geoname_id": {
          "type": "integer"
        }
      }
    },
    "IpGeolocationCountry": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "name": {
          "type": "string"
        },
        "iso_code": {
          "type": "string",
          "pattern": "^[A-Z]{2}$"
        },
        "names": {
          "$ref": "#/$defs/LocalizedNames"
        },
        "geoname_id": {
          "type": "integer"
        },
        "name_native": {
          "type": "string"
        },
        "phone_code": {
          "type": "string"
        },
        "capital": {
          "type": "string"
        },
        "currency": {
          "type": "string"
        },
        "flag": {
          "type": "string"
        },
        "languages": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/IpGeolocationLanguage"
          }
        }
      }
    },
    "IpGeolocationLanguage": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "iso_code": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "name_native": {
          "type": "string"
        }
      }
    },
    "IpGeolocationLocation": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "latitude",
        "longitude"
      ],
      "properties": {
        "latitude": {
          "type": "number",
          "minimum": -90,
          "maximum": 90
        },
        "longitude": {
          "type": "number",
          "minimum": -180,
          "maximum": 180
        }
      }
    },
    "IpGeolocationNamedEntity": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "name": {
          "type": "string"
        },
        "names": {
          "$ref": "#/$defs/LocalizedNames"
        }
      }
    },
    "IpGeolocationPostal": {
      "type": "object",
      "additionalProperties": true,
      "properties": {
        "code": {
          "type": "string"
        }
      }
    },
    "LocalizedNames": {
      "type": "object",
      "description": "Names keyed by language code.",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/geoapify-ip-geolocation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.