Prompt

How do I find an API for public datasets?

Technology / API Platforms1 observationLast seen Oct 8, 2026

Latest observation

Oct 8, 2026OpenAI APIWeb search: off

A good way to find an API for public datasets is to search in a few specific places and use the right keywords.

1. Look for official data portals

Many governments, cities, universities, and nonprofits publish datasets with APIs.

Examples:

  • data.gov — U.S. government datasets
  • data.europa.eu — EU open data portal
  • World Bank Open Data
  • UN Data
  • City or state open-data portals

Search terms:

  • site:gov open data api
  • city name open data api
  • dataset API public

2. Check common API directories

These sites list many public APIs:

  • RapidAPI
  • Public APIs
  • ProgrammableWeb (older, but still useful for discovery)
  • GitHub topic searches like public-api or open-data

Search terms:

  • public dataset api directory
  • open data api list

3. Search by dataset topic

If you need a specific type of data, search by domain:

  • weather
  • population
  • traffic
  • crime
  • elections
  • health
  • economics

Example queries:

  • crime statistics api public
  • weather historical data api
  • population api open data

4. Check if the dataset already has a downloadable endpoint

Sometimes a site doesn’t advertise an “API” but still provides:

  • JSON endpoints
  • CSV downloads
  • Socrata APIs
  • CKAN APIs
  • ArcGIS REST services

Useful searches:

  • "<dataset name>" API
  • "<site name>" JSON endpoint
  • "<portal name>" CKAN API

5. Use GitHub and package ecosystems

People often publish wrappers or documented endpoints on GitHub.

Search:

  • "<dataset name>" GitHub API
  • open data python package
  • public dataset wrapper

6. Confirm licensing and usage limits

Before using any dataset API, check:

  • license
  • attribution requirements
  • rate limits
  • authentication requirements
  • update frequency

7. If you tell me the topic, I can help

If you want, tell me:

  • the kind of data you need
  • your country/region
  • whether you want free only
  • your preferred format: JSON, CSV, REST API

and I can point you to specific public dataset APIs.

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.