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
| Endpoint | Purpose |
|---|---|
/datasets | The catalog: every dataset and lookup table |
/search | Find datasets by meaning and keyword |
/resolve | Turn a district, school, county, or group name into its code |
/datasets/{name} | One dataset’s full schema (JSON) |
/datasets/{name}/contract | Raw ODCS contract (YAML/JSON) |
/datasets/{name}/openapi.json | An OpenAPI document for one dataset, with every filter |
/datasets/{name}/rows | A dataset’s rows (JSON, CSV, or Parquet) |
/datasets/{name}/query | The same rows, with the parameters in a JSON body (POST) |
/datasets/{name}/download | Every matching row as one CSV, Parquet or Excel file |
/datasets/{name}/row_counts | Rows per detail level and year: the size of a download before it is built |
/datasets/{name}/values | The combinations of category values a dataset publishes, with row counts |
/datasets/{name}/aggregate | Averages, sums, counts, and pooled rates, grouped on the server |
/dimensions | The lookup tables (districts, schools, counties, tracts, block groups, demographics) |
/dimensions/{name} | A lookup table’s schema |
/dimensions/{name}/rows | A lookup table’s rows, with filters and name search |
/datasets/school_attendance_zones | School attendance zones: fields, plus /rows (polygons), /coverage, /school_status, /attendance_rules, and /contract |
/datasets/school_district_boundaries | School district boundaries (Census TIGER/Line): fields, plus /rows |
/locate | A point, address, or census tract to its county, tract, block group, school district, and zones (GET or POST) |
Find a dataset
/api/v1/datasetsEvery 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"/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"/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
/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"/api/v1/datasets/{name}/contractThe 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"/api/v1/datasets/{name}/openapi.jsonAn 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
/api/v1/datasets/{name}/rowsA dataset’s rows. Common parameters:
| Parameter | Description |
|---|---|
year | One or more exact years (year=2023,2024). Not with the range below. |
year_min / year_max | Inclusive year range. |
detail | What 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 / demographic | Code lists (where the dataset has the column). |
school_code / school | School 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 columns | One 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}_max | Inclusive bounds on a metric, in stored units (graduation_rate_min=0.9). |
numeric_filters | URL-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. |
sort | Sort columns, - for descending (sort=-avg_score). Blank values sort last. |
columns | Return 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 / offset | Page size (default 1000, max 10000) and offset. |
format | json (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"/api/v1/datasets/{name}/queryThe 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"]}'/api/v1/datasets/{name}/downloadEvery 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"/api/v1/datasets/{name}/row_countsFor 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
/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"/api/v1/datasets/{name}/aggregateGrouped 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
/api/v1/dimensionsThe 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.
/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).
/api/v1/dimensions/{name}/rowsRows 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.
/api/v1/datasets/school_attendance_zonesEvery 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.
/api/v1/datasets/school_attendance_zones/rowsZone polygons, one per school, level, and grade span. Parameters:
| Parameter | Description |
|---|---|
district_code / school_code / zone_level | Comma-separated lists. zone_level is elementary, middle, or high. |
grade | pk, k, or 01–12: only zones that serve that grade. |
year | School year the zones are in effect for, as its ending year (2027 = 2026–27). |
format | geojson (default) / shapefile (a zip with one layer per level) / geoparquet / json (attributes only, no geometry). |
resolution | display (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"/api/v1/datasets/school_attendance_zones/coverageOne 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).
/api/v1/datasets/school_attendance_zones/school_statusOne 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:
| Value | Meaning |
|---|---|
zoned | A 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_zone | The school has no attendance zone by design. no_zone_category and reason say why. |
not_yet_collected | The 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"/api/v1/datasets/school_attendance_zones/attendance_rulesA 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"/api/v1/datasets/school_attendance_zones/contractThe zones’ ODCS contract. ?format=yaml (default) or json.
/api/v1/datasets/school_district_boundariesThe district boundaries’ fields, coordinate reference system, formats, and endpoints.
/api/v1/datasets/school_district_boundaries/rowsCensus 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.
/api/v1/locateGive lat and lon, or tract_geoid, plus an optional grade and year.
| Parameter | Returns |
|---|---|
lat + lon | The 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_geoid | Every 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_status | Meaning |
|---|---|
zoned | The point is inside a zone at every school level its grades fall in. |
gap | The 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_grade | The district runs one school for each grade, so that school’s zone is the whole district. |
not_available | The 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_zoned | No attendance zone in the district assigns the grade asked (pre-K, whose places are filled by application). |
outside_georgia | The 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"/api/v1/locateA 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.
| Body | Description |
|---|---|
{"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:
| Status | Code | Meaning |
|---|---|---|
| 400 | UNSUPPORTED_FILTER | A parameter the dataset does not take; details lists the ones it does. |
| 400 | INVALID_FILTER_VALUE | A value outside the column’s allowed values. |
| 400 | REPEATED_PARAMETER | A parameter that takes one value was given more than once. |
| 400 | CONFLICTING_YEAR_FILTER / INVALID_YEAR_RANGE | year together with year_min / year_max, or a range that ends before it starts. |
| 400 | SCHOOL_NEEDS_DISTRICT | school_code without exactly one district_code. |
| 400 | EMPTY_FILTER | A filter given with no value, such as ?district_code=. Leave it out to not filter on it. |
| 400 | INVALID_DETAIL / INVALID_COLUMNS / INVALID_SORT / INVALID_NUMERIC_FILTER / INVALID_FORMAT | A level, column, sort, numeric filter, or format the dataset does not offer. |
| 400 | LIMIT_TOO_LARGE | limit over 10000. Use /download for every row. |
| 400 | TOO_MANY_ROWS_FOR_EXCEL | An Excel download over 1,048,575 rows, more than one sheet holds. Choose fewer years, or use format=csv. |
| 400 | INVALID_LANG | A download lang other than en or es. |
| 404 | TOPIC_NOT_FOUND / DIM_NOT_FOUND | No dataset or lookup table by that name; did_you_mean suggests one. |
| 404 | NOT_FOUND | An unknown path. For an old path, details.moved_to names the new one. |
| 429 | RATE_LIMITED | Too many requests. Wait the number of seconds in the Retry-After header, then retry. |
| 500 | QUERY_FAILED / INTERNAL_ERROR | Something failed on our side. |
| 503 | QUERY_TIMEOUT | The 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".