South Star

Timezone Geocoding Sun Coordinates DST Sun API

Free tier included · Location
Fast coordinate timezone lookup, DST handling, timezone conversion, meeting planner, haversine distance, and solar calculations.

ZIP & Geo Radius API delivers postal-code lookup, radius search and postal-to-postal distance over a local GeoNames dump covering 1.8M codes across 121 countries.

Use it for checkout address validation and auto-complete (lookup/smart-lookup), store-locator / service-area queries (radius), and shipping-cost and ETA estimation (distance). The data is served from an embedded SQLite store, so there are no external network calls and no request logging — responses are small JSON payloads and a 1000-item radius scan completes in milliseconds.

Honest limits: radius is capped at 500 km and `limit` at 500 results per call; the internal scan is hard-capped at 5000 rows, so very large radii may be truncated (`truncated=true`) — pass `country` to keep scans fast and complete. Distance is great-circle (Haversine), not driving distance. Data is a GeoNames snapshot (CC BY 4.0); postal boundaries change over time. No Mega tier is offered.

Endpoints

MethodPathWhat it does
GET/Service info: API name, version, and paths to the interactive docs and healthcheck.
GET/healthLiveness probe; returns status "ok" while the process is up.
GET/statsDataset statistics: total postal codes and countries in the local dataset.
GET/countriesList every country in the dataset with its postal-code count, sorted by count descending.
GET/lookupLook up a postal code in a country (country required, ISO 3166-1 alpha-2). Unknown codes are normal results (found=false), not errors.
GET/smart-lookupLook up a postal code with automatic normalization (strips spaces, handles ZIP+4, Canadian formats, etc.).
GET/radiusFind postal codes within a radius (km) of a centre given by postal-code centroid or lat/lon. Results sorted by distance ascending.
GET/distanceGreat-circle distance between two postal codes or coordinate pairs.
POST/bulk-lookupLook up up to 100 postal codes in a single batch request.

Quick start

curl -X GET "https://geo.p.rapidapi.com/stats" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: geo.p.rapidapi.com"

FAQ

Is the data live / updated in real time?

No. The dataset is a GeoNames snapshot (CC BY 4.0) loaded into an embedded SQLite store. Postal boundaries change over time; for mission-critical accuracy verify with an official source.

Does the API make any external network calls?

No. All lookups, radius scans and distance math run against the local database — no third-party calls and no request logging.

What happens when a radius search hits the internal row cap?

The response includes `truncated=true` and `scanned` shows how many rows were read. Pass `country` and keep radii under ~100 km for complete results; very large radii may be capped at 5000 scanned rows.

How many codes can I look up at once?

Up to 100 items per `POST /bulk-lookup` call. Single lookups accept codes up to 12 characters; smart-lookup accepts up to 22 characters to handle formats like ZIP+4.

Try Timezone Geocoding Sun Coordinates DST Sun free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs