Skip to main content
POST
Get US Zipcode Location Info

Request contract

  • Method and path: POST /apis/v1/api-ninjas/get-zipcode
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/get-zipcode
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
city
string

Full name of the city to search (case-sensitive). Premium tier required. At least one of zip, city, or state must be provided.

Examples:

"Los Angeles"

"New York"

"San Francisco"

state
string

2-letter abbreviation of the state (case-insensitive). Premium tier required. At least one of zip, city, or state must be provided.

Examples:

"CA"

"NY"

"TX"

"FL"

zip
string

The ZIP Code to look up (at least one of zip, city, or state must be provided).

Examples:

"90210"

"10001"

"94102"

Response

Tool result data

details
object[]
required