Data downloads and API access

Every table on Rankodex can be downloaded. Single tables are free to use with a credit; bulk files with every year, and commercial use of the API, are paid.

Free CSV downloads

Each topic’s table, one row per place and one column per statistic at its default year, is a CSV file at the topic’s address under /data:

https://rankodex.com/data/state/topics/median-household-income-by-state.csv

The compare tool also exports any combination of statistics, and any combined ranking you build, as CSV. Free downloads are for personal, educational and editorial use with a visible credit to Rankodex and the source each topic names.

The JSON API

The site reads its data from static JSON files, and so can you. Every place uses a stable id: ISO 3166 alpha-3 for countries, USPS codes for states, 5-digit FIPS for counties and slugs for cities.

  • /data/manifest.json: place types, counts and categories
  • /data/<type>/entities.json: places, with ids and groups
  • /data/<type>/metrics.json: every statistic, its unit, better direction and coverage
  • /data/<type>/topics/<slug>.json: one topic with every year of every column

Light non-commercial use with a credit is free. Apps, products and anything that calls the files at volume need the commercial plan below, which comes with a stable versioned endpoint and change notices.

Bulk data and commercial access

Bulk dataset

  • Every primary-source statistic, every year, every place type
  • CSV and JSON, with the stable place ids above
  • Rankodex’s combined rankings and percentiles
  • A commercial licence for the files

Commercial API access

  • Versioned JSON endpoints you can build a product on
  • Notice before any breaking change
  • Monthly data refreshes
  • Commercial use in apps and services

Questions, invoices or a custom extract: write to [email protected].

What the paid data covers

The paid files and plans cover what Rankodex can license: data from public primary sources (the Census Bureau, BEA, BLS, CDC, EPA, FBI, NOAA and the World Bank, listed on the sources page) as Rankodex cleans and normalizes it, plus Rankodex’s own rankings, percentiles and combined scores. Figures compiled by World Population Review are not included: they remain under their owner’s terms.

Ask what a topic includes