USA.gov API

Government / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

USA.gov provides programmatic access to authoritative information on u.s. programs, events, services and more via REST API. This Government API enables developers to integrate authoritative information on u.s. programs, events, services and more into applications, dashboards, and automated workflows. Check the official documentation for endpoint details, authentication requirements, and rate limits.

Available Data

book title and author
ISBN and publisher
cover image URL
page count
publication date
event dates and names

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from USA.gov",
    "description": "Authoritative information on U.S. programs, events, services and more",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Implementation Example

Request
const url = "https://www.usa.gov/developer";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Government
Difficulty Intermediate
Verified: 2026-04-07

Related Tags

Similar APIs

View All →