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/postal_radius1 credit
All postal codes within a radius of a postal code (centroid-based).
Working example
Parameters
ISO-3166 alpha-2 country code (e.g. DE, FR, TR, IN, US). Greece accepts GR or EL.
Postal code to resolve. Spaces/dashes are ignored, case-insensitive (e.g. '10115', '75001', 'SW1A1AA').
Search radius in kilometres (0.1-100). (0.1–100)
Max codes to return, nearest first (1-100). (1–100)
request preview
curl -X POST https://api.reefapi.com/geo-postal/v1/postal_radius \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"country":"DE","postal_code":"10115","radius_km":"3"}'Hit Send to run this endpoint live.