tracts.ai API
API Reference

Counties

List counties with available parcel data.

GET /counties

Returns US counties with a flag indicating whether each county has a configured parcel source and is ready to query.

Request

curl https://api.tracts.ai/counties \
  -H 'x-api-key: YOUR_API_KEY'

Query parameters

ParameterTypeRequiredDescription
statestringNoFilter by two-letter state code (e.g. FL, TX). Case-insensitive.
limitintegerNoMaximum number of results to return. Defaults to all configured counties.

Response

{
  "data": [
    {
      "name": "Hillsborough County",
      "state": "FL",
      "configured": true
    },
    {
      "name": "Miami-Dade County",
      "state": "FL",
      "configured": true
    },
    {
      "name": "Orange County",
      "state": "FL",
      "configured": false
    }
  ],
  "total": 3
}

Response fields

FieldTypeDescription
dataarrayList of county objects
data[].namestringCounty name without the state suffix
data[].statestringTwo-letter state code
data[].configuredbooleantrue if parcel data is available for this county. Counties with configured: false are listed for visibility but will return an error if queried for parcels.
totalintegerTotal number of counties in the response

Filtering by state

curl 'https://api.tracts.ai/counties?state=FL' \
  -H 'x-api-key: YOUR_API_KEY'

Error responses

StatusCodeMeaning
400invalid_limitlimit is not a positive integer
401missing_keyNo API key provided
403invalid_keyKey is invalid, expired, or revoked
429rate_limit_exceededHourly rate limit exceeded
429monthly_quota_exceededMonthly plan quota exceeded

On this page