The playground

Try any of 919 endpoints — live.

Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.

Playground demo key · api.reefapi.com
post/geo-postal/v1/admin_boundary2 credits

GLOBAL coordinates → administrative boundary hierarchy ADM0/ADM1/ADM2 (geoBoundaries CGAZ composite, CC-BY 4.0).

Working example
Parameters

WGS84 latitude of the point to resolve (decimal degrees). (-90–90)

WGS84 longitude of the point to resolve (decimal degrees). (-180–180)

Comma-separated geoBoundaries levels to resolve: 0 (country), 1 (state/region), 2 (county/municipality). Default all three.

If true, include the (simplified) boundary polygon as GeoJSON. Default false — geometries are large; lookups never depend on this.

request preview
curl -X POST https://api.reefapi.com/geo-postal/v1/admin_boundary \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"lat":"35.6762","lon":"139.6503"}'

Hit Send to run this endpoint live.