API Technical Discussions

Population by Zip

Hoping someone can point me in the right direction. I'd like to query the population for a specific zip code. I'm hoping there's a way to do this without defining the two number state code in the query.

 

Here's what my current query looks like...

 

http://api.census.gov/data/2010/sf1?key=[myKey]&get=P0010001&for=zip+code+tabulation+area:[myZipCode]&for=state:*";

 

This works perfectly when I define the Zip Code and State but not when I try to use a wildcard for the State.

 

Thanks in advance.

Robert

Tags

Voting

2 votes
2 up votes
0 down votes
Active
Idea No. 108