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...


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.



Submitted by

Stage: Active

Feedback Score

2 votes
2 up votes
0 down votes

Idea Details

Vote Activity

  1. Upvoted
  2. Upvoted

Similar Ideas [ 4 ]


  1. The idea was posted


  1. Comment

    I'm in a similar spot. It seems that SUMLEV: 860 (zip code tabulation area) is not available, while SUMLEV: 871 (state-zip code tabulation area) is.

    To Census folks: Are there plans to allow access to other SUMLEVs? I'm working on the census_api gem and we're trying to allow access to SUMLEV:860 with a workaround. I think it would be more elegant to simply allow this SUMLEV on the API level.


    census_api gem: https://github.com/tyrauber/census_api

    Available summary levels:

    SF1: http://api.census.gov/data/2010/sf1/geo.html

    ACS5: http://api.census.gov/data/2010/acs5/geo.html

    Comments on this comment

    1. Comment

      FWIW, I see that all of the available sumlevs are constrained by state. As well as ZCTA, it would be nice to have CBSA & CSA without having to build them up from the states that those areas are in, and while I've never had cause to use them, the AIANHH geographies can also cross state boundaries...

  2. Comment

    In the same boat here just for a one-time data project. It's shockingly hard to just get a simple table of ZCTA vs. population! Thanks for posting cloydster

    Comments on this comment

Add your comment