Prompt

Need a dataset API that can query by ZIP code and state

Technology / API Platforms1 observationLast seen Oct 8, 2026

Latest observation

Oct 8, 2026OpenAI APIWeb search: off

Here are a few good ways to get a dataset API that can query by ZIP code and state, depending on what data you need:

If you want US demographic / geographic data

  1. US Census API

  2. OpenDataSoft / Socrata datasets

    • Many public datasets support filtering by ZIP and state through a REST API.
    • Good if you’re looking for city/state-specific open data.
    • Often uses ?select=...&where=...
  3. Data.gov / state open data portals

    • Many have APIs or downloadable datasets with ZIP/state fields.
    • Best if you need a specific government dataset.

If you want business/location data

  1. Google Places API
    • Query by ZIP/state indirectly via geocoding or location bias.
  2. Yelp Fusion API
    • Can search businesses by location, including ZIP and state.
  3. Foursquare Places API
    • Location search with ZIP/state support via geocoding or neighborhood.

If you want postal/geographic lookup

  1. Zipcodebase API
    • Simple ZIP/state lookup.
  2. Zippopotam.us
    • Free API for ZIP code lookup by country/ZIP.
    • Example:
      • https://api.zippopotam.us/us/90210
  3. US ZIP Code API providers
    • Many commercial APIs support ZIP → city/state, plus nearby ZIPs.

If you want your own dataset API

A simple design would be:

  • GET /records?zip=90210&state=CA
  • GET /records?state=CA
  • GET /records?zip=90210

If you want, I can also help you with one of these:

  • recommend the best API for your exact use case
  • give you sample code
  • show how to build your own API with ZIP/state filtering

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.