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 Geo.txt API

The Geo.txt API from World Time API — 1 operation(s) for geo.txt.

World Time API Geo.txt 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 Geo.txt. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, pricing, and a GitHub repository.

This API exposes 1 operation across 1 path, and defines 2 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/.

1 operations 1 paths 2 schemas 1 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 1

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

Geo.txt 1
GET
/geo.txt
request geolocation data based on the ip of the request. note: this is a "best guess" obtained from open-source data.
→ 200default

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. Each schema is shown below with its type and property counts.

ErrorTextResponse
string
details about the error encountered in plain text
GeoTextResponse
string
geolocation details, as per the GeoJsonResponse response, in the format key: value, one item per line

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

worldtimeapi-geo-txt-api-openapi.yml Raw ↑

Other APIs World Time API publishes across the network.

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