Skip to content

Georgia data, for your code

A read-only REST API over every cleaned, standardized Georgia dataset. Pull rows as JSON, CSV, or Parquet, filtered by year, place, and demographics. No API key, no sign-up.

Working in R or Python? Our Python/R packages call this API for you and return data frames.

Base URL

https://georgiacivicdata.org/api/v1
  • Public & read-only. Every endpoint is a GET, with two exceptions that also take a POST: /locate, so an address stays out of the URL, and /datasets/{name}/query, for parameters in a JSON body. There is nothing to authenticate.
  • One name per dataset. Every dataset has a unique name, such as act_scores, and every path takes that name alone.
  • Contract-driven. Each dataset is generated from a versioned ODCS data contract, so its columns, units, ranges, and allowed values are stable and documented.
  • Same data everywhere. The Data Explorer and MCP server read this same API.

Your first request

A dataset’s rows are at /api/v1/datasets/{name}/rows. Ask for 2024 composite ACT scores at the district level:

curl "https://georgiacivicdata.org/api/v1/datasets/act_scores/rows?year=2024&test_component=composite&detail=districts"

JSON responses are an envelope: a data array of rows, a pagination block, links to the next page, and a meta block that says how to read the numbers: their units, what a blank (NULL) means, a credit line to cite, and advisories such as “some values were suppressed.” District, school, county, and demographic names are joined in for you. Here it is, shortened:

{
  "data": [
    {
      "year": 2024,
      "district_code": "660",
      "test_component": "composite",
      "num_tested": 1583,
      "avg_score": 23.3,
      "district_name": "Fulton County",
      "district_census_id": "02280",
      "district_type": "standard"
    }
  ],
  "pagination": { "limit": 1000, "offset": 0, "total": 175, "returned": 175, "has_more": false },
  "links": {
    "self": "/api/v1/datasets/act_scores/rows?year=2024&test_component=composite&detail=districts",
    "next": null
  },
  "meta": {
    "dataset": "act_scores",
    "detail": "districts",
    "key_metric": "avg_score",
    "units": { "num_tested": "count", "avg_score": "score" },
    "null_semantics": { "suppressed_to_null": true, "zero_is_real": true },
    "citation": "ACT College Readiness Test Scores. Georgia Civic Data (georgiacivicdata.org), CC BY 4.0. ...",
    "advisories": [{ "code": "suppressed_values_present", "message": "..." }],
    "omitted_columns": ["school_code", "school_name"]
  }
}

A district row has no school, so its school_code and school_name are left out; meta.omitted_columns names them.

Response formats

Add ?format= to choose how rows come back:

  • json (default). The envelope above, one page at a time.
  • csv. CSV with an X-Total-Count header. Without a limit, it returns every matching row.
  • parquet. Parquet, ideal for analysis in polars or DuckDB. Without a limit, it returns every matching row.

To save every matching row as a file, use /api/v1/datasets/{name}/download?format=csv (or parquet) with the same filters.

Filtering

  • Year. year=2024, a list such as year=2022,2023,2024, or year_min / year_max (inclusive range). Use one or the other, not both.
  • Detail level. detail=states, counties, districts, schools, or tracts, whichever the dataset publishes. One dataset documents all of its levels.
  • Places & demographics. district_code, county_fips, tract_geoid, and demographic take code lists. School codes repeat across districts, so school_code needs exactly one district_code; for schools in several districts, use pairs such as school=761-4560,660-0104.
  • Per-column filters. Every categorical column is its own parameter (e.g. test_component=composite). Values of one parameter are OR; different parameters AND together. A comma list and a repeated parameter mean the same thing.
  • Ranges, sorting & columns. graduation_rate_min=0.9 keeps rows at or above a value (any metric, with _min or _max), sort=-avg_score sorts descending, and columns= returns only the columns you name.

Each dataset page lists its exact filter parameters and their allowed values.

Pagination

Use limit (default 1000, max 10000) and offset, or follow links.next until it is null. pagination.has_more says whether more rows remain, and pagination.total reports the full match count, so you can page through deterministically.

Errors & rate limits

Errors return { "error": { "code", "message", "details?" } } with a matching HTTP status, e.g. TOPIC_NOT_FOUND (404, with a did_you_mean suggestion), INVALID_FILTER_VALUE (400), RATE_LIMITED (429). The API is generously rate-limited; on a 429, wait the seconds in the Retry-After header and retry. Responses carry X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.

Paths from earlier versions of the API, such as /api/v1/education/act_scores, return a 404 whose details.moved_to names the new path.

Discovery

Don’t hard-code dataset shapes. Discover them:

  • Catalog. GET /api/v1/datasets lists every dataset (fields=full for more about each) and lookup table.
  • Search. GET /api/v1/search?q=graduation finds datasets by meaning and keyword.
  • Codes. GET /api/v1/resolve?kind=district&q=Atlanta turns a district, school, county, or group name into the code the data uses.
  • Schema. GET /api/v1/datasets/{name} returns columns, filters, ranges, and allowed values as JSON, plus a recommended query you can run.
  • Contract. .../contract?format=yaml returns the raw ODCS contract.
  • Places. /api/v1/locate turns a point or an address into its county, census tract, block group, school district, and school zones.

See the endpoint reference for every route, or browse the dataset catalog.

For AI agents

Point a coding agent at one of these. All are generated from the same contracts:

  • llms.txt An index of the API and every dataset.
  • llms-full.txt The dense full reference: every column, filter, enum, and range inline.
  • openapi.json OpenAPI schema for the routes. Each dataset’s filters differ, so each dataset also has its own OpenAPI document, with every filter and its allowed values, at /api/v1/datasets/{name}/openapi.json.

The documentation sites of the R and Python packages have their own indexes: R llms.txt and Python llms.txt.

License

The data and documentation are licensed CC BY 4.0: use them for any purpose, including commercial use, and credit Georgia Civic Data (georgiacivicdata.org) and the dataset’s original source. The license covers our cleaning, standardization, and documentation; source data stays under its publisher’s terms. How to credit us.

The terms are machine-readable too: every response carries a Link header with rel="license" pointing to the license, GET /api/v1/datasets returns a license object, each data response’s meta.citation is a ready-to-paste credit line, and openapi.json declares it in info.license.