{"uid":"cap_uFP0Cea8Q4FnXSNHO-_yS","slug":"ziplore-distance-between-zip-codes-a651b2a8","name":"Ziplore Distance Between ZIP Codes","description":"US ZIP codes to county, time zone and demographics. ZIP code facts, radius search and Census demographics in one call Try it free in one click, no sign-up.","url":"https://ziplore.cybermax-tools.workers.dev/x402/api/distance?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"Second ZIP"},"from":{"type":"string","description":"First ZIP"}}}}},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9ck4wQwpUUWlt4cPW9Vnc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the distance between two US ZIP codes","exampleAgentPrompt":"What's the distance between ZIP code 90210 and ZIP code 10001?","exampleUseCases":[{"title":"Delivery radius eligibility check","prompt":"Can you check if ZIP code 30301 is within a reasonable distance from our warehouse at ZIP code 30033? I need to know how far apart they are."},{"title":"Logistics routing distance estimate","prompt":"How far apart are ZIP codes 77001 and 75201? I'm trying to figure out if a same-day delivery between Houston and Dallas is feasible."},{"title":"Real estate commute distance lookup","prompt":"A client is considering a home in ZIP code 02139 but works in ZIP code 06510 — how many miles apart are those two ZIP codes?"}],"resultDescription":"Returns the computed distance between two US ZIP codes, likely including straight-line (as-the-crow-flies) distance in miles or kilometers based on the geographic centers of each ZIP code.","failureModes":["Invalid or non-existent ZIP code returns an error","Missing 'from' or 'to' query parameter returns a 400 error","Non-US ZIP codes are not supported","Payment failure (402) if x402 micropayment is not properly handled"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.002 per call) distance calculation between two US ZIP codes without needing a full geocoding or mapping API. It is ideal for eligibility checks, delivery radius validation, or rough geographic proximity estimates using ZIP codes as inputs, without requiring lat/lng coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:42:23.744Z","isFirstParty":false,"canonicalSlug":"ziplore-distance-between-zip-codes-a651b2a8"}