Census Block Scraper: US Block FIPS & Population avatar

Census Block Scraper: US Block FIPS & Population

Pricing

Pay per usage

Go to Apify Store
Census Block Scraper: US Block FIPS & Population

Census Block Scraper: US Block FIPS & Population

Resolve any US coordinate to its Census block FIPS code, county, state and 2020 block population via the FCC Area API. No login, no proxy, no browser.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Naimur Hasan

Naimur Hasan

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Categories

Share

Census Block Scraper

Resolves US coordinates to their Census block FIPS code, county, state and 2020 block population via the FCC Area API. No login, no proxy, no browser.

Input

FieldTypeNotes
locationsarrayRequired. "latitude,longitude" strings. Default: US Capitol, Empire State Building, Golden Gate Bridge.
censusYearstring2020 | 2010 | 2000. Default 2020.

Output

One row per coordinate: latitude, longitude, censusYear, blockFips, stateFips, countyFipsPart, tractCode, blockCode, countyFips, countyName, stateCode, stateName, blockPopulation, boundingBox.

Notes

  • FIPS codes are strings, not numbers. California's state FIPS is 06; the moment it becomes a number it turns into 6 and stops joining against any other Census dataset. Everything here stays a string.
  • The 15-digit block code is also split into its parts — state, county, tract, block — because most Census joins key on the tract or county prefix rather than the whole block.
  • A coordinate on a boundary can return more than one result, so every result is emitted rather than only the first.
  • block_pop_2020 is only populated for the 2020 geography; earlier Census years return the block without a population and the field stays null.
  • Coordinates outside US coverage come back with an empty results array and HTTP 200, so they are logged and skipped, not treated as errors.