This site is a prototype. We are developing the Fab City Index 3.0 with the cities of the network.

The collection

It started as a list of open datasets that could tell us something about how a city produces and consumes. Today it also holds the readings we ask cities for, and the figures they send back.

  • readings.yaml

    The fourteen readings. What each one asks for, in which unit and for which years, why it matters, and who in a city usually holds the figure.

  • data/

    One file per source, with where it is, how to reach it, its licence as its publisher states it, and the places and readings it covers. A source stays a candidate until a person has read it for a real place.

  • observations/

    The figures cities have sent, each with its year, its source and whether someone has checked it. When a city holds a figure it cannot release, we only write down that it holds it.

  • places.yaml

    The places of the network the Index follows, with their names and countries.

  • index.json

    All of it in one file, built again on every change. Every page of this site reads it when it opens.

Each source keeps its own licence, and the collection names it next to the source. A figure from a source that is not open can still be shown, cited with its terms.

Computation

There is no score on this site for now. This is what we compute today, and how we plan to compute the Index 3.0.

  1. Today

    Each page counts, for every place, how many of the fourteen readings it has answered and how many have a source in the collection waiting to be read. Your browser does the counting from index.json every time a page opens, so a figure shows as soon as it is in the collection.

    The maps on the place pages are drawn ahead of time from Natural Earth, the HydroBASINS river basins and the RESOLVE ecoregions, with the labs listed on fablabs.io.

  2. Next

    When enough cities have answered the readings, we test the method on their figures, with them, and show the results here once they rest on real data.

  3. Index 3.0

    How we want to compute it, as we see it today. The cities will shape it when we test it with them.

    • Only from data anyone can open, so that every result can be checked.
    • Each sector in its own unit before anything is added up. The sectors are food, energy, goods, and tools, machines and parts.
    • Each place against its own pledge, with the change per year beside the level once a place has three years of figures.
    • Every edition publishes its weights, how they were set, and how far the results move when they are set another reasonable way.

The API

Everything here is JSON or CSV, free to use for maps, dashboards, analysis and reports, from any site (CORS is open). Each source keeps its own licence, named where it is used.

URLWhat it holds
collection index.jsonThe whole collection: every reading, source, figure and place.
/api/v0/places/<slug>.jsonOne place, with its sources and the figures measured for it.
/api/v0/index.jsonAll 61 places, one entry each.
/api/v0/index.csvThe same, one row per place, for a spreadsheet.
/api/v0/measured.jsonWhat our scripts have measured, by place.
/api/v0/countries.jsonNational figures for the countries the places sit in: goods trade (Atlas of Economic Complexity), food grown at home (FAO) and value added at home (OECD). Context for a place, never an index.
/api/v0/bioregions.jsonThe river basin (HydroBASINS level 4) and the ecoregion (RESOLVE Ecoregions 2017) around each place's centre. The shapes are in data/basins.geojson and data/ecoregions.geojson, both CC-BY 4.0.

The /api/v0/ files are written each time the site is published. They still carry the scores of the earlier method, v0.1, which this site no longer shows, so the scripts and nodes that read them keep working while the Index 3.0 is built.

For AI agents there is index.fab.city/mcp. Your agent says how to connect one.

curl -s https://raw.githubusercontent.com/fabcity/awesome-fabcity-data/main/index.json | jq '.readings[] | {id, name, unit}'