US Census Bureau Demographics & Population Data API
Pricing
from $0.01 / 1,000 results
US Census Bureau Demographics & Population Data API
Access comprehensive US Census Bureau data including American Community Survey (ACS) demographics, population estimates, economic indicators, business statistics, and geographic data. Get population, income, education, housing, employment, and health data for any US location.
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
The Howlers
Actor stats
0
Bookmarked
3
Total users
0
Monthly active users
12 days ago
Last modified
Categories
Share
US Census Bureau API - Demographics & Population Data
Access US Census Bureau data including ACS demographics, population estimates, economic indicators, business statistics, and geographic data. Get population by age, race, income, education, housing, and more for any US location down to ZIP code level.
BYOK (Bring Your Own Key) -- you provide your own API credentials.
Before You Start
This actor requires your own API credentials to fetch real data.
Where to get your key: Free API key from census.gov/developers (optional for limited use)
You can test with Demo Mode first (free, no key needed) to see the output format before committing.
Quick Start
Test with Demo Mode (free, no API key needed)
{"demoMode": true}
Run with real data
{"demoMode": false,"task": "get_population","apiKey": "YOUR_API_KEY_HERE","dataset": "acs5","year": 2023}
Input Parameters
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
task | string | "get_population" | Yes* | Operation to perform |
apiKey | string | - | Yes* | Free API key from census.gov/developers (optional for limited use) |
dataset | string | "acs5" | No | Census dataset to query |
year | integer | 2023 | No | Data year (e.g., 2023) |
state | string | - | No | 2-digit state FIPS code (e.g., 06 for California, 36 for New York) |
county | string | - | No | 3-digit county FIPS code within state |
place | string | - | No | Place (city/town) FIPS code |
zipCode | string | - | No | 5-digit ZIP code (ZCTA) |
tract | string | - | No | 6-digit census tract code |
stateName | string | - | No | State name (alternative to FIPS code) |
variables | string | - | No | Comma-separated Census variable codes (e.g., B01001_001E,B01002_001E) |
tableGroup | string | - | No | Census table group (e.g., B01001 for Sex by Age) |
compareStates | string | - | No | Comma-separated state FIPS codes to compare |
naicsCode | string | - | No | Industry code for business statistics |
webhookUrl | string | - | No | URL to send results to (Zapier, Make, n8n, etc.) |
demoMode | boolean | true | No | Run with sample data (no API key required) |
*Required when Demo Mode is off.
Pricing
This actor uses pay-per-event billing:
| Event | Description | Price |
|---|---|---|
| API Request | Each Census API data request processed | $0.01 |
Demo mode is free -- no charges for sample data.
Troubleshooting
"API key is required"
You have Demo Mode turned off but didn't provide an API key. Either:
- Turn Demo Mode on to test with sample data
- Add your API key in the input
"API error 403" or "Unauthorized"
Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.
"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)
- API key without proper permissions
- 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