OpenAPI Spec (preview)
openapi: 3.0.3
info:
title: ZipCodeAPI
version: "1.0.0"
description: |
REST API for ZIP and postal code lookups, distance calculations, radius queries,
city-state matching, and more. API key is required in the URL path.
servers:
- url: https://www.zipcodeapi.com/
paths:
/rest/{apiKey}/distance.json/{zip1}/{zip2}/{unit}:
get:
summary: Distance between two ZIP codes
parameters:
- $ref: '#/components/parameters/apiKey'
- $ref: '#/components/param