Measure
find_postcodes_in_radiusEvery US ZIP code, or UK postcode sector or district, within a radius of a place, nearest first.
Coverage: US (Census ZIP code areas) and the UK (postcode sectors and districts).
Basis: straight-line distance between centres
center
string · required
radius
number · required
unit
string
granularity
string
country
string
limit
number
render
boolean
title
string
Every US ZIP code, or every UK postcode sector (or district), whose centre is within a radius of a place, nearest first with the distance. The centre can be a ZIP, a UK postcode, sector or district, an address, or "lat,lng". For service areas, delivery zones, direct-mail and ad targeting lists. Straight-line distance between centres (an area counts when its centre is inside). Free: our own copy of the Census ZIP centres and the UK postcode centres. The answer has a run_id: write it into a sheet or map it (render_map from_run). For "who on MY list is within X miles", use filter_by_location instead. Set render to true only when the user wants to keep or share the map: it returns a link, GeoJSON and KML, and update_map can change it later.
Captured from the live server on 2026-10-13, trimmed to the first rows.
Request
{
"center": "10001",
"radius": 1,
"limit": 5
}The answer's first line
9 ZIP codes within 1 mi of 10001 (nearest 5 listed; raise limit for more)
The answer (trimmed)
{
"center": {
"input": "10001",
"label": "10001",
"lat": 40.7506,
"lng": -73.9973,
"country": "US",
"confidence": {
"level": "high",
"score": 0.9,
"basis": "postcode_as_given",
"why": "the centre of 10001"
}
},
"radius": 1,
"unit": "mi",
"kind": "ZIP code",
"summary": {
"found": 9,
"records": 5,
"more": 4
},
"records": [
{
"id": "10001",
"postcode": "10001",
"distance_mi": 0,
"lat": 40.7506,
"lng": -73.9973
},
{
"id": "10199",
"postcode": "10199",
"distance_mi": 0.1,
"lat": 40.7514,
"lng": -73.9972
},
{
"id": "10119",
"postcode": "10119",
"distance_mi": 0.2,
"lat": 40.7506,
"lng": -73.9927
},
"… 2 more"
],
"basis": "straight-line distance from the centre to each ZIP code's centre; an area counts when its centre is inside the circle",
"sources": [
{
"name": "US Census 2024 ZCTA gazetteer: ZIP code centres",
"as_of": "2024"
}
],
"run": {
"tool": "find_postcodes_in_radius",
"at": "2026-10-13T15:59:33.713Z",
"rows": 5,
"sources": [
{
"name": "US Census 2024 ZCTA gazetteer: ZIP code centres",
"as_of": "2024"
}
],
"basis": "straight-line distance between centres",
"run_id": "run_837d6de48cb8e6b6"
}
}Use it in Claude
Add the connector https://get-instamaps.com/mcp and ask in plain words. 5,000 tool calls a day per person, reset at midnight UTC; a call counts once however many rows it carries; a sheet by reference is one call; checking a job is free.