Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

ipify IP Address API

Operations that return the caller's public IP address.

ipify IP Address API is one of 3 APIs that ipify publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 6 JSON Schema definitions.

Tagged areas include IP Address. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, pricing, authentication docs, and 6 JSON Schemas.

This API exposes 1 operation across 1 path, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 2.0.0.

Requests are made against 2 base URLs: https://geo.ipify.org/api/v2, https://geo.ipify.org.

1 operations 1 paths 1 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.0.0
Base URL
https://api.ipify.org
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

ipify IP Address API declares 1 security scheme for authenticating requests. An API key is passed in the query as apiKey (ApiKeyQuery).

  • ApiKeyQuery — Personal API key issued by WhoisXML API for the ipify Geolocation product. Passed as the apiKey query parameter on every request.

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

IP Address 1

Operations that return the caller's public IP address.

GET
/
ipify Get Public IP Address
getPublicIp 2 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is IpResponse (1 property). Each schema is shown below with its type and property counts.

IpResponse
object
JSON-encoded public IP response from ipify.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ipify-ip-address-api-openapi.yml Raw ↑

Other APIs ipify publishes across the network.

ipify Account API
ipify Geolocation API