Skip to content

Endpoints

Every route is a GET under https://georgiacivicdata.org/api/v1, except two that also take a POST: /locate and /datasets/{name}/query. Each dataset has a unique name, such as act_scores, and every path takes that name alone. Per-dataset filter parameters are listed on each dataset page.

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

At a glance

EndpointPurpose
/datasetsThe catalog: every dataset and lookup table
/searchFind datasets by meaning and keyword
/resolveTurn a district, school, county, or group name into its code
/datasets/{name}One dataset’s full schema (JSON)
/datasets/{name}/contractRaw ODCS contract (YAML/JSON)
/datasets/{name}/openapi.jsonAn OpenAPI document for one dataset, with every filter
/datasets/{name}/rowsA dataset’s rows (JSON, CSV, or Parquet)
/datasets/{name}/queryThe same rows, with the parameters in a JSON body (POST)
/datasets/{name}/downloadEvery matching row as one CSV, Parquet or Excel file
/datasets/{name}/row_countsRows per detail level and year: the size of a download before it is built
/datasets/{name}/valuesThe combinations of category values a dataset publishes, with row counts
/datasets/{name}/aggregateAverages, sums, counts, and pooled rates, grouped on the server
/dimensionsThe lookup tables (districts, schools, counties, tracts, block groups, demographics)
/dimensions/{name}A lookup table’s schema
/dimensions/{name}/rowsA lookup table’s rows, with filters and name search
/datasets/school_attendance_zonesSchool attendance zones: fields, plus /rows (polygons), /coverage, /school_status, /attendance_rules, and /contract
/datasets/school_district_boundariesSchool district boundaries (Census TIGER/Line): fields, plus /rows
/locateA point, address, or census tract to its county, tract, block group, school district, and zones (GET or POST)

Find a dataset

GET/api/v1/datasets

Every dataset, compact by default: name, title, summary, kind, main_topic, detail_levels, year_min, and year_max. fields=full adds descriptions, search phrases in English and Spanish, sources, grain, coverage, and updated_at. Filter with main_topic, level (a detail level such as counties), year (a year the dataset publishes), and kind (table or geometry). The response also lists the lookup tables (dimensions) and the data license.

curl "https://georgiacivicdata.org/api/v1/datasets?main_topic=education&level=districts"
GET/api/v1/search?q=

Finds datasets by meaning and keyword, in English or Spanish. Each match carries its endpoint; confidence is high, medium, or low (low means nothing in the catalog may fit), and dimension_matches lists matching lookup tables. Optional main_topic, level, and year keep only datasets that have them; limit defaults to 20 (at most 100). The query text is sent to Voyage AI to find matches by meaning and is never logged. When that service is unavailable, the search uses keywords only and says so in retrieval.mode.

curl "https://georgiacivicdata.org/api/v1/search?q=graduation%20rate"
GET/api/v1/resolve?kind=&q=

Turns a name or code into the code the data uses. kind is district, school, county, or demographic; q is a name or a code. Returns ranked matches with their codes (a school’s school_code comes with its district_code), ambiguous when more than one could fit, and the lookup_table they come from. limit defaults to 10 (at most 50).

curl "https://georgiacivicdata.org/api/v1/resolve?kind=school&q=Midtown%20High"

Dataset schema

GET/api/v1/datasets/{name}

The full schema: every column (type, role, unit, range, allowed values, what a blank means, description), the filters it accepts with their allowed values, foreign keys, the key_metric (the headline figure), a recommended_query with a runnable url, example_requests, the endpoints, and updated_at. It also says how the figures may be combined: non_additive (rows that overlap, so a sum double counts), partitions, pooled_rates, series_breaks (years not comparable with earlier ones), and year_window. verbosity=schema drops the prose. This is what powers these docs. An unknown name is a 404 TOPIC_NOT_FOUND with did_you_mean.

curl "https://georgiacivicdata.org/api/v1/datasets/act_scores"
GET/api/v1/datasets/{name}/contract

The authoritative ODCS v3.2 contract. ?format=yaml (default) returns it verbatim; ?format=json returns it parsed.

curl "https://georgiacivicdata.org/api/v1/datasets/act_scores/contract?format=yaml"
GET/api/v1/datasets/{name}/openapi.json

An OpenAPI 3.1 document for one dataset’s /rows and /aggregate routes, listing every filter parameter and its allowed values. The site-wide /openapi.json cannot list them, because each dataset’s filters differ.

curl "https://georgiacivicdata.org/api/v1/datasets/act_scores/openapi.json"

Dataset rows

GET/api/v1/datasets/{name}/rows

A dataset’s rows. Common parameters:

ParameterDescription
yearOne or more exact years (year=2023,2024). Not with the range below.
year_min / year_maxInclusive year range.
detailWhat one row describes: states, counties, districts, schools, or tracts (whatever the dataset publishes). Without it, the schema’s default_detail.
district_code / county_fips / tract_geoid / block_group_geoid / demographicCode lists (where the dataset has the column).
school_code / schoolSchool codes repeat across districts, so school_code needs exactly one district_code. For schools in several districts, give district-school pairs: school=761-4560,660-0104.
category columnsOne parameter per categorical column (see the dataset page), such as test_component=composite. __null__ selects rows where the column is not reported. Enum columns of the joined lookup tables are filters too: demographic_category, district_type, school_level, and locale.
{metric}_min / {metric}_maxInclusive bounds on a metric, in stored units (graduation_rate_min=0.9).
numeric_filtersURL-encoded JSON array of metric comparisons: gt, gte, lt, or lte with value; inclusive between with values=[lower, upper]. Each condition names a column. Conditions AND together before pagination; use stored units (0.9 for 90%). NULLs do not match. The schema’s numeric_filter_columns lists eligible metrics.
sortSort columns, - for descending (sort=-avg_score). Blank values sort last.
columnsReturn only these columns. Without it, key and name columns that are blank on every row of the level are left out (a district row’s school_code and school_name), and meta.omitted_columns names them.
limit / offsetPage size (default 1000, max 10000) and offset.
formatjson (default) / csv / parquet. CSV and Parquet without a limit return every matching row.

A comma list and a repeated parameter mean the same thing: demographic=all,black is demographic=all&demographic=black. Values of one parameter are OR; different parameters AND together. A parameter that takes one value, such as limit, given twice is a 400 REPEATED_PARAMETER, and a parameter the dataset does not take is a 400 UNSUPPORTED_FILTER.

JSON returns data (the rows, with district, school, county, and demographic names joined in), pagination (limit, offset, total, returned, has_more), links (self, and next, which is null on the last page), and meta: the dataset, detail, key_metric, the units of the returned columns, null_semantics (what a blank means), source, a ready-to-paste citation, license, advisories (notes on reading the result, such as suppressed values), omitted_columns, and the data’s data_version and updated_at. CSV and Parquet carry the row count in an X-Total-Count header.

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

The districts with the highest 2024 composite scores, three columns only:

curl "https://georgiacivicdata.org/api/v1/datasets/act_scores/rows?year=2024&test_component=composite&detail=districts&avg_score_min=22&sort=-avg_score&columns=district_code,district_name,avg_score"
POST/api/v1/datasets/{name}/query

The same request as /rows, with the parameters in a JSON body. It takes the same names, with filters as an object of column to value or list, and sort and numeric_filters as lists (order_by with order also works, as in the MCP tools). Use it for long or nested parameters. It is not cached at the edge, so prefer GET when you can.

curl -X POST "https://georgiacivicdata.org/api/v1/datasets/act_scores/query" \
  -H "Content-Type: application/json" \
  -d '{"year": 2024, "detail": "districts", "filters": {"test_component": "composite", "district_code": ["660", "761"]}, "sort": ["-avg_score"]}'
GET/api/v1/datasets/{name}/download

Every row that matches the same filters as /rows, as one file: format=csv (default, streamed, and gzip-compressed for clients that send Accept-Encoding: gzip), parquet, or xlsx, an Excel workbook whose first tab explains the data and every column (lang=es writes that tab in Spanish). A workbook holds at most 1,048,575 rows; a larger request is refused with TOO_MANY_ROWS_FOR_EXCEL. X-Total-Count gives the row count, and the file is named for the dataset, detail level and years. limit and offset are refused here; use /rows to page.

curl -o act_scores_2024.csv "https://georgiacivicdata.org/api/v1/datasets/act_scores/download?year=2024&format=csv"
GET/api/v1/datasets/{name}/row_counts

For each detail level the dataset publishes, the number of rows in each year (years with none are left out), plus excel_max_rows, the most rows one Excel download holds. It takes no parameters. The download panel on each dataset’s page reads it to show how big a file will be.

Values and summaries

GET/api/v1/datasets/{name}/values?columns=

The combinations of the category columns you name (and demographic) that the dataset publishes, each with its row count, most rows first, under the same filters as /rows (up to 500). Use it to see which values exist for a place or year before you query. A null value means the column is not reported for those rows; filter for it with __null__.

curl "https://georgiacivicdata.org/api/v1/datasets/act_scores/values?columns=test_component&detail=districts&year=2024"
GET/api/v1/datasets/{name}/aggregate

Grouped figures computed on the server. agg is avg, sum, min, max, count, or weighted_rate; metric defaults to the key metric; group_by takes year, place codes, and category columns. It takes the same filters as /rows (one year or a range), one sort column, and limit / offset. weighted_rate pools a rate as the sum of its numerators over the sum of its denominators, on the rate’s own scale, instead of averaging the rows’ rates. Each group reports how many rows went in and how many had a value, and advisories flag sums across overlapping rows, averages of rates, and the like.

curl "https://georgiacivicdata.org/api/v1/datasets/graduation_rate_4_year_cohort/aggregate?agg=weighted_rate&group_by=year&detail=districts&demographic=all&year_min=2021&year_max=2025"

Lookup tables

GET/api/v1/dimensions

The lookup tables (districts, schools, counties, tracts, block_groups, and demographics), each with its scope, primary key, attribute columns, and endpoint. They supply the name columns that dataset rows join in.

GET/api/v1/dimensions/{name}

A lookup table’s schema: its columns, the filters its rows accept, the columns q searches, and, where present, cross-dataset link_keys (districts) and semantics (demographics).

GET/api/v1/dimensions/{name}/rows

Rows in primary-key order. Filter on the key, any enum or true/false column, and the place codes county_fips, district_code, and tract_geoid (district_type=state_charter, county_fips=13121&active=true). q= keeps rows whose name contains the text, ignoring case and accents. Also columns, sort, limit / offset, and format (json, csv, parquet). Any other parameter is a 400 UNSUPPORTED_FILTER.

curl "https://georgiacivicdata.org/api/v1/dimensions/districts/rows?district_type=state_charter&columns=district_code,district_name"
curl "https://georgiacivicdata.org/api/v1/dimensions/schools/rows?q=midtown"

School attendance zones

Attendance zones are the areas a school district uses to assign an address to a school, by level (elementary, middle, high) and grade span. The zones are reconstructed from published district and vendor sources of varying currency and accuracy, and some districts have no zones (see /coverage). Some schools have no zone by design, such as charter, magnet, and alternative schools: /school_status lists every school with whether it has a zone here and, if not, why. A zone or lookup is not an official enrollment determination: confirm results with the school district.

A zone is the default assignment, not the only option: a Georgia student may attend another public school by transfer, or a charter, magnet, or other choice school. /attendance_rules summarizes the main ways, with the law behind each (the same text as a page: School zones and school choice in Georgia).

The zones and the school district boundaries are geometry datasets (kind: geometry in the catalog) with routes of their own. To find the zones at a point or an address, use /locate.

GET/api/v1/datasets/school_attendance_zones

Every field with its type and description, the meaning of each enum value, the coordinate reference system (OGC:CRS84: longitude, latitude), the map from each field to its 10-character shapefile field name, and the companion files, with the columns of the coverage and school status tables. A shapefile text field holds at most 254 bytes, so a longer value (a long boundary_vintage or source_url) is cut there and ends with ...; the other formats carry the full text, and currency_note always fits. Also the dataset’s limitations, the assignment_note that lookups carry, the filters, and the endpoints.

GET/api/v1/datasets/school_attendance_zones/rows

Zone polygons, one per school, level, and grade span. Parameters:

ParameterDescription
district_code / school_code / zone_levelComma-separated lists. zone_level is elementary, middle, or high.
gradepk, k, or 01–12: only zones that serve that grade.
yearSchool year the zones are in effect for, as its ending year (2027 = 2026–27).
formatgeojson (default) / shapefile (a zip with one layer per level) / geoparquet / json (attributes only, no geometry).
resolutiondisplay (default; simplified as a coverage, so neighboring zones keep their shared edges) / full (the full-resolution polygons the lookup uses).

Each zone’s properties include school and district labels, nces_school_id, nces_lea_id, and its provenance: method, accuracy_class, positional_rmse_m, boundary_vintage, currency_status, currency_note (what changed and when, for a zone whose source predates an adopted change), source_url, source_publisher, and retrieved_on. Every format carries the note that a zone is not an official enrollment determination: a top-level note in GeoJSON and json, a README.txt in the shapefile zip, and the GeoParquet file metadata.

curl "https://georgiacivicdata.org/api/v1/datasets/school_attendance_zones/rows?district_code=761&zone_level=high"
GET/api/v1/datasets/school_attendance_zones/coverage

One row per Georgia school district: its status (complete, partial, one_school_per_grade, or not_available), the status of each level (zoned, one_school_per_grade, partial, not_available, or served_by_other_district), the share of its land and 2020 population the zones cover, and why anything is missing. format=json (default) or geojson (with district outlines).

GET/api/v1/datasets/school_attendance_zones/school_status

One row per school of Georgia’s 180 standard school districts, saying whether the school has an attendance zone here and, if not, why. zone_status is one of:

ValueMeaning
zonedA zone for the school is published here. zone_levels lists its levels. It does not say the zone covers every grade the school teaches.
no_zoneThe school has no attendance zone by design. no_zone_category and reason say why.
not_yet_collectedThe school should have a zone, and none is published here yet. reason is its district’s coverage reason.

no_zone_category is one of charter, virtual, alternative, special_education, vocational, pre_k_only, no_grades, magnet_or_choice, residential_or_treatment, closed_or_consolidated, or other. Each row also carries district_code, district_name, school_code, school_name, and year. Filter by district_code, school_code, zone_status, and no_zone_category (comma-separated lists). format=json (default) or csv. Schools of other districts (state charter schools, state schools) and schools that are no longer active have no row.

curl "https://georgiacivicdata.org/api/v1/datasets/school_attendance_zones/school_status?zone_status=no_zone&district_code=761"
GET/api/v1/datasets/school_attendance_zones/attendance_rules

A plain-language summary of how attendance zones work in Georgia and the main ways a student attends a public school other than the zoned one. basics says who draws zones and what a zone does. routes lists the ways, each with a group (any_student, student_circumstances, or schools_without_a_neighborhood_zone), a title, a summary, who_decides, crosses_district_line (no, yes, either, or not_stated), transportation (family, district, varies, or not_stated), its conditions, and the sources it rests on (a citation and a link to the statute or rule). not_stated means the cited source does not say.

lang=en (default) or es returns the same ids, codes, and sources with the text in that language; legal citations stay in English. The summary is current as of its as_of date (law_checked_through says which laws were checked). It is not legal advice and not an enrollment determination: school districts add their own transfer rules, deadlines, and forms, so confirm with the school district.

curl "https://georgiacivicdata.org/api/v1/datasets/school_attendance_zones/attendance_rules?lang=es"
GET/api/v1/datasets/school_attendance_zones/contract

The zones’ ODCS contract. ?format=yaml (default) or json.

GET/api/v1/datasets/school_district_boundaries

The district boundaries’ fields, coordinate reference system, formats, and endpoints.

GET/api/v1/datasets/school_district_boundaries/rows

Census TIGER/Line school district boundaries for Georgia, keyed to district_code. Filter with district_code; the same format options as the zones.

curl "https://georgiacivicdata.org/api/v1/datasets/school_district_boundaries/rows?district_code=761"

Locate a place

/locate turns a point, an address, or a 2020 census tract into the place keys the datasets filter on, its school district, and the attendance zones there.

GET/api/v1/locate

Give lat and lon, or tract_geoid, plus an optional grade and year.

ParameterReturns
lat + lonThe point’s county (county_fips), 2020 census tract (tract_geoid), and block group (block_group_geoid): the keys every dataset filters on. Also its school district (code, name, Census id, NCES LEA id), the zones containing the point, a level_status for each school level, and a coverage_status with the reason. A zone whose source predates a boundary change that could not be applied adds a currency_warning that says what changed, by level; two schools’ zones covering the point for the same grades add an overlap_warning that names them. An assignment_note says the zoned school is the default assignment and points to /attendance_rules.
tract_geoidEvery zone covering a 2020 census tract, with the share of the tract’s 2020 population in each (from the school_attendance_zone_tracts crosswalk dataset). When no zone covers the tract, a coverage_reason says why.
coverage_statusMeaning
zonedThe point is inside a zone at every school level its grades fall in.
gapThe district has zones, but at least one school level has none at this point (zones found at the other levels are still listed).
one_school_per_gradeThe district runs one school for each grade, so that school’s zone is the whole district.
not_availableThe district publishes no zones at one or more school levels the point’s grades fall in (zones found at the other levels are still listed); the reason says why.
not_zonedNo attendance zone in the district assigns the grade asked (pre-K, whose places are filled by application).
outside_georgiaThe point is outside Georgia.

Every response carries a note that it is not an official enrollment determination, and is sent with Cache-Control: no-store. A GET puts the coordinates in the URL, which passes through our hosting platform; our application never writes them to its logs. To keep a point out of URLs, send it by POST.

curl "https://georgiacivicdata.org/api/v1/locate?lat=33.7479&lon=-84.3903&grade=09"
POST/api/v1/locate

A JSON body with exactly one of the following, plus an optional grade and year. Each result carries county_fips, tract_geoid, block_group_geoid, the district, and the zones.

BodyDescription
{"address": "..."}One address, geocoded by the U.S. Census Geocoder (benchmark Public_AR_Current, vintage Census2020_Current). The response adds the matched address, its coordinates, and the geocoder’s tract.
{"lat": .., "lon": ..}One point.
{"points": [{"id", "lat", "lon"}, ...]}Up to 1,000 points; each result carries its id.

Addresses are accepted only by POST, so they never appear in a URL. Our application never writes addresses or coordinates to its application logs, and never caches or records them. POST is also the private way to send a point. Responses are sent with Cache-Control: no-store. Rate limits per client: 120 requests a minute for GET and 20 a minute for POST.

curl -X POST "https://georgiacivicdata.org/api/v1/locate" \
  -H "Content-Type: application/json" \
  -d '{"address": "55 Trinity Ave SW, Atlanta, GA 30303"}'

Errors, caching, and limits

Every error is {"error": {"code", "message", "details"}} with a matching HTTP status. Common codes:

StatusCodeMeaning
400UNSUPPORTED_FILTERA parameter the dataset does not take; details lists the ones it does.
400INVALID_FILTER_VALUEA value outside the column’s allowed values.
400REPEATED_PARAMETERA parameter that takes one value was given more than once.
400CONFLICTING_YEAR_FILTER / INVALID_YEAR_RANGEyear together with year_min / year_max, or a range that ends before it starts.
400SCHOOL_NEEDS_DISTRICTschool_code without exactly one district_code.
400EMPTY_FILTERA filter given with no value, such as ?district_code=. Leave it out to not filter on it.
400INVALID_DETAIL / INVALID_COLUMNS / INVALID_SORT / INVALID_NUMERIC_FILTER / INVALID_FORMATA level, column, sort, numeric filter, or format the dataset does not offer.
400LIMIT_TOO_LARGElimit over 10000. Use /download for every row.
400TOO_MANY_ROWS_FOR_EXCELAn Excel download over 1,048,575 rows, more than one sheet holds. Choose fewer years, or use format=csv.
400INVALID_LANGA download lang other than en or es.
404TOPIC_NOT_FOUND / DIM_NOT_FOUNDNo dataset or lookup table by that name; did_you_mean suggests one.
404NOT_FOUNDAn unknown path. For an old path, details.moved_to names the new one.
429RATE_LIMITEDToo many requests. Wait the number of seconds in the Retry-After header, then retry.
500QUERY_FAILED / INTERNAL_ERRORSomething failed on our side.
503QUERY_TIMEOUTThe query ran too long. Narrow the filters, or use /download.

Data responses (/rows, /aggregate, /download) carry an ETag: send it back in If-None-Match, and an unchanged result returns 304 Not Modified with no body. Limits are per client and generous; responses carry X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset. Every response also carries a Link header with rel="license".