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
The Howlers
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
12 days ago
Last modified
Categories
Share
Data.gov API - US Open Government Data Catalog
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.
Quick Start
Test with Demo Mode (free, no API key needed)
{"demoMode": true}
Run with real data
{"demoMode": false,"task": "search_datasets","limit": 100}
Input Parameters
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
task | string | "search_datasets" | Yes* | The operation to perform |
searchQuery | string | - | No | Keywords to search in dataset titles and descriptions |
datasetId | string | - | No | Unique dataset identifier |
agency | string | - | No | Federal agency name or abbreviation |
topic | string | - | No | Dataset topic/category |
format | string | - | No | Dataset file format |
license | string | - | No | Data license type |
limit | integer | 100 | No | Maximum number of results to return |
webhookUrl | string | - | No | URL to receive results via webhook |
demoMode | boolean | true | No | Run with sample data (no API required) |
Pricing
This actor uses pay-per-event billing:
| Event | Description | Price |
|---|---|---|
| API Request | Each Data.gov API request processed | $0.01 |
Demo mode is free -- no charges for sample data.
Troubleshooting
"API error 429" or "Rate limit"
Too many requests. Wait a minute and try again, or reduce the number of items per run.
No results or empty dataset
Check the run log for error messages. Common causes:
- Invalid input format (check the examples above)
- The target data doesn't exist or is too small to track
How do I test without an API key?
Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.
Built by John Rippy | Actor Arsenal