Bulk Reverse Geocoding & Time Zone Lookup avatar

Bulk Reverse Geocoding & Time Zone Lookup

Pricing

from $0.50 / 1,000 coordinate lookups

Go to Apify Store
Bulk Reverse Geocoding & Time Zone Lookup

Bulk Reverse Geocoding & Time Zone Lookup

Turn latitude and longitude into country, state or region, and county or district with worldwide point-in-polygon lookup. Get IANA time zones, nearby towns and postal codes, or download GeoJSON boundaries. $0.50 per 1,000 coordinate lookups plus $0.001 per run.

Pricing

from $0.50 / 1,000 coordinate lookups

Rating

0.0

(0)

Developer

ForLab Digital

ForLab Digital

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 hours ago

Last modified

Features

Limited permissions

Share

Convert latitude and longitude into the country, state or region, and county or district that contain each point. Use point-in-polygon reverse geocoding to assign records to administrative areas. Enrich store locations, GPS data or coordinates from a places export with structured regions, IANA time zones or nearby postal codes. You can also look up nearby towns or download a place's administrative boundary as GeoJSON.

Choose one operation per run. The Actor supplies its own ForLab Geo API key. Send up to 5,000 items in a run. On the Apify free plan, the Actor processes up to 1,000 items per run.

Task examples

Paste a complete JSON input into the Input tab. Use decimal degrees for lat and lon.

Reverse geocode GPS coordinates to administrative areas

The New York point returns United States → New York → New York County. The İstanbul point also returns Osmanağa, a mahalle whose mapped boundary contains the point.

{"operation":"contains","items":[{"lat":40.7128,"lon":-74.006},{"lat":40.9903,"lon":29.0291}]}

Find the IANA time zone for a coordinate

This example returns Asia/Tokyo. The response includes the UTC offset, daylight saving flag and local time at the time of the lookup.

{"operation":"timezone","items":[{"lat":35.6762,"lon":139.6503}]}

Find the nearest postal codes to a coordinate

Get up to three postal-code matches near the Paris point, with distances in kilometers. Postal coverage varies by country.

{"operation":"postal_nearby","items":[{"lat":48.8566,"lon":2.3522,"limit":3}]}

Example output

Each item yields a dataset row. Sort by index to restore input order. The New York lookup returns:

{
"index": 0,
"input": {"lat":40.7128,"lon":-74.006},
"status": "ok",
"data": {
"match": "found",
"places": [
{"id":"US","type":"country","local_type":"country","name":"United States"},
{"id":"US-NY","type":"region","local_type":"state","name":"New York"},
{"id":"US-J03Q150B","type":"county","local_type":"county","name":"New York County"}
]
}
}
  • status is ok for an answer or not_found for a miss. invalid, failed and skipped rows have no lookup charge.
  • code identifies the reason for a non-ok row.
  • data.match and data.places describe a contains result. Group records by places[].id and read type and local_type for the kind of area.
  • A timezone result includes data.timezone, utc_offset, dst and local_time when a zone is found. Nearby lookups return a data array with distance_km for each result.
  • boundary holds key, url and bytes for the GeoJSON Feature in the run's key-value store. For this operation, data holds the Feature's properties.

The run's OUTPUT record summarizes statuses, charges, skipped items and attribution.

Pricing

LookupPrice
Coordinate lookup (contains, timezone, nearby or postal_nearby)$0.50 per 1,000
GeoJSON boundary, overview or standard$1.00 per 1,000
Full GeoJSON boundary$3.00 per 1,000
Actor start$0.001 per run

One lookup is charged per answered item, including misses. Invalid, failed and skipped items are free. The Actor charges lookup events after saving results.

Operations

OperationFields per itemResult
containslat, lonContaining administrative units from general to specific
timezonelat, lonIANA time zone, offset, daylight saving flag and local time
nearbylat, lon, limit, radius in km, langNearby populated places with distances in km
postal_nearbylat, lon, limit, radius in kmNearest postal codes with distances in km
boundaryid, detail (overview, standard or full)GeoJSON Feature for a place with a boundary

Coverage

Level 1 is the state, province or region. Level 2 is the county, district or equivalent. Level 3 can be a neighborhood, village or municipality. Available levels and boundaries vary by country.

  • Turkey has complete province and district lists and boundaries. The official TÜİK mahalle and köy list is complete, with partial boundary coverage. Reverse geocoding can return a mahalle or köy where its mapped boundary contains the point.
  • Italy has the complete ISTAT list of comuni at level 3. Comune polygons are unavailable, so this Actor cannot match a coordinate to a comune.

Use Turkey Province, District & Mahalle Lookup to browse the official lists. See coverage by country for separate list and boundary counts.

Try it before you buy

Try the country or place routes for free without a key in the Geo API docs to inspect reference data. Coordinate lookups use an API key on the direct API. See service status or email api@forlab.io for a higher-volume key.

Frequently asked questions

Does reverse geocoding return a street address?

The output identifies administrative areas such as states, counties and districts. It does not return street names or house numbers, or convert a street address into coordinates. Use postal_nearby for nearby postal codes.

Can I get the time zone and administrative region together?

Run contains and timezone with the same items, then join both datasets by index.

What happens with a point in the ocean?

contains returns match: "none" outside all loaded land boundaries.

Run it from code

curl -X POST "https://api.apify.com/v2/acts/forlab~reverse-geocoding/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"operation":"contains","items":[{"lat":40.7128,"lon":-74.006}]}'

The run summary carries the attribution for the returned data. Boundaries draw on OpenStreetMap and Overture Maps, nearby places and postal codes on GeoNames, and time zones on timezone-boundary-builder and IANA tzdata.