Data.gov API - US Open Government Datasets
Pricing
from $0.01 / 1,000 results
Data.gov API - US Open Government Datasets
Access the Data.gov catalog of 300,000+ US government datasets. Search datasets by topic, agency, format, and keywords. Discover open data from federal, state, and local governments
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer

John Rippy
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Data.gov API - US Open Government Data Catalog
API Integration
This actor connects to an external API service. You'll need valid API credentials from the service provider.
API Integration
This actor connects to an external API service. You'll need valid API credentials from the service provider.
Access the Data.gov catalog of 300,000+ US government datasets. Search datasets by topic, agency, format, and keywords. Discover open data from federal, state, and local governments.
Features
- Search Datasets: Full-text search across catalog
- Get Dataset: Detailed dataset metadata by ID
- Search by Agency: Datasets from specific agencies
- Search by Topic: Filter by data category
- Get Popular: Most downloaded datasets
- Get Recent: Recently added/updated datasets
- Get Agencies: List of data-publishing agencies
- Get Topics: Available data categories
- Demo Mode: Test with sample data
Quick Start
{"query": "example search"}
Demo Mode (Enabled by Default)
This actor uses a free public API and defaults to demoMode: true.
Since this actor wraps a free, publicly available API, demo mode is enabled by default. This allows you to:
- Test the actor without any configuration
- See real sample data from the actual API
- Verify the output format before integrating
To get customized results, simply provide your own input parameters.
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| See input schema |
Output Format
{"data": [...]}
Pricing
This actor uses pay-per-event billing:
- Search Datasets: $0.01
- Get Dataset: $0.01
- Agency Search: $0.01
- Topic Search: $0.01
- Popular Datasets: $0.01
- Recent Datasets: $0.01
- Get Agencies: $0.01
- Get Topics: $0.01
Use Cases
- Data discovery and research
- Building data products
- Academic research
- Journalism investigations
- Civic tech applications
- Government transparency
- Machine learning datasets
- API integration discovery
API Reference
See official API documentation for details.
Common Problems & Solutions
"Invalid API key" error
Cause: Your API key is wrong, expired, or doesn't have the right permissions. Fix: Double-check your API key. Make sure you copied it exactly without extra spaces.
"Rate limit exceeded" error
Cause: You've hit the API's rate limits. Fix: Wait a few minutes, then try again. Consider reducing the number of concurrent requests.
Empty or incomplete results
Cause: The target may have anti-scraping protection or the data doesn't exist. Fix:
- Check if the URL/search query is correct
- Try with different parameters
- Some sites may block automated access
Demo data showing instead of real results
Cause: demoMode is still set to true.
Fix: Set demoMode: false and provide your API key(s).
Built by John Rippy | Actor Arsenal