Local Economy

Migration (Moves In and Out)

Yearly household moves in and out of every US state and county, from official US government statistics based on where people filed their federal tax returns in two years in a row: movers in and out as returns (about one per household), people and income, net moves, net per 1,000 residents, moves from and to other countries, and the 10 largest origins and destinations.

The answer is {total, limit, offset, sort, order, as_of, rows, about}; as_of is the newest pair of years, e.g. 2022-2023.

get/migration

Request

  • Base URL: https://api.dataporium.io
  • URL: https://api.dataporium.io/migration
  • Auth: API key in query parameter apikey

Query parameters

area_typestring

state or county

statestring

2-letter code or name

countystring

County name

county_fipsstring

5-digit county FIPS code

area_codestring

State or county FIPS code(s)

yearinteger

Second year of the pair

latestboolean

true = only the newest pair of years

include_topboolean

true = add the 10 largest origins and destinations

sortstring

year (default), net_people, net_returns, net_income, net_per_1000, inflow_people, outflow_people or area_name

orderstring

asc or desc

limitinteger

Rows per page, 1 to 1000 (default 100)

offsetinteger

Rows to skip, for paging

Response

Successful response (JSON).

object required

Changes

No recorded changes to this operation across all 1 revision of this API.