Showing 3 ideas for tag "state"
(@mnutsch) kudos icon +

Using Data

Problem with List of State Codes and Zip Code Search

I'm trying to retrieve the population for a certain zip code.

What I found in your online documentation is that I should use the following URL string:

http://api.census.gov/data/2010/sf1?key=(key)&get=P0010001&for=zip+code+tabulation+area:(zip)&in=state:(state)

...where (key) is my API key, (zip) is the zip code, and (state) is a two digit code that you use to identify states.

The problem that I run into is that I... more »

Voting

1 vote
1 up votes
0 down votes