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

World Time API Ip API

The Ip API from World Time API — 3 operation(s) for ip.

World Time API Ip API is one of 6 APIs that World Time API publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Ip. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, and a GitHub repository.

This API exposes 3 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.0.1, at version 2025-10-01.

Requests are made against a single base URL, https://public.timeapi.world/api/.

3 operations 3 paths 4 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
2025-10-01
Base URL
https://timeapi.world/api
Resource Areas
1

Paths & Operations 3

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

Ip 3
GET
/ip
request the current time based on the ip of the request. note: this is a "best guess" obtained from open-source data.
→ 200default
GET
/ip/{ip}
request the current time based on a specific IPv4 or IPv6 address. note: this is a "best guess" obtained from open-source data.
1 param → 200default
GET
/ip/{ip}.txt
request the current time based on a specific IPv4 or IPv6 address. note: this is a "best guess" obtained from open-source data.
1 param → 200default

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are DateTimeJsonResponse (15 properties), ErrorJsonResponse (1 property). Each schema is shown below with its type and property counts.

ErrorTextResponse
string
details about the error encountered in plain text
DateTimeJsonResponse
object
15 properties 12 required
ErrorJsonResponse
object
1 property 1 required
DateTimeTextResponse
string
time zone details, as per the DateTimeJsonResponse response, in the format key: value, one item per line

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

worldtimeapi-ip-api-openapi.yml Raw ↑

Other APIs World Time API publishes across the network.

World Time API Geo API
World Time API Geo.txt API
World Time API Ip.txt API
World Time API Timezone API
World Time API Timezone.txt API