Government — entry 021 of 90

Data.gov

Verified Jul 2026

api.data.gov is the shared API gateway the US federal government uses to front dozens of individual agency APIs — including NASA, the FEC, and USAspending — behind one signup and a single API key. It doesn't host data itself; it handles authentication, rate limiting, and monitoring for the underlying agency services, most of which respond in JSON. One free key, issued through a short signup form (or the shared `DEMO_KEY` for light testing), works across every participating API.

open-datagovernment-dataus-federalapi-gateway
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score78out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs14/20Documentation URL provided
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 78 on greatapis.com
<a href="https://greatapis.com/api/data-gov/"><img src="https://greatapis.com/badge/data-gov.svg" alt="Scored 78 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.