Counties

The endpoint for the Counties geography data.

Retrieve multiple Counties based on search critera passed as GET Arguments

get/api/county/

The endpoint for the Counties geography data.

Securityapi_key and user_name
Request
query Parameters
fips_code
integer <int64>

NOTE: Parameter accepts additional qualifiers appended to the end:
fips_code__in - The value for the record is in the provided array parameter (comma-separated values).
fips_code__gt, fips_code__gte, fips_code__lt, fips_code__lte - The value for the record is greater than/less than (or equal to) the provided parameter.

full_fips_string
string

NOTE: Parameter accepts additional qualifiers appended to the end:
full_fips_string__in - The value for the record is in the provided array parameter (comma-separated values).
full_fips_string__contains, full_fips_string__icontains - The value for the record contains the string provided as a parameter within it (partial match). (Use 'icontains' for matching to be done case-insensitive)
full_fips_string__startswith, full_fips_string__istartswith - The value for the record starts with the string provided as a parameter. (Use 'istartswith' for matching to be done case-insensitive)
full_fips_string__endswith, full_fips_string__iendswith - The value for the record ends with the string provided as a parameter within it (partial match). (Use 'iendswith' for matching to be done case-insensitive)
full_fips_string__iexact - The value for the record is a case-insensitive exact match to the provided parameter.

id
integer <int64>

Quorum ID (Primary Key)

limit
integer <int64>
Default: 20

The number of records to return (for pagination).

offset
integer <int64>
Default: 0

The number of records to offset the start of the data being returned (for pagination).

Responses
200

County retrieved successfully

400

improperly configured request

401

authorization failure

500

internal server error

Response samples
application/json
{
  • "_extra": { },
  • "executives": "/api/newperson/1/",
  • "fips_code": 0,
  • "full_fips_string": "string",
  • "geojson": "string",
  • "id": 0,
  • "legislators": null,
  • "name": "string",
  • "number": 0,
  • "number_string": "string",
  • "population": 0,
  • "resource_uri": "string",
  • "state_abbrev": "string"
}

Retrieve information on a single County

get/api/county/{id}/

The endpoint for the Counties geography data.

Securityapi_key and user_name
Request
path Parameters
id
required
integer <int64>

Quorum ID (Primary Key)

Responses
200

County retrieved successfully

400

improperly configured request

401

authorization failure

500

internal server error

Response samples
application/json
{
  • "_extra": { },
  • "executives": "/api/newperson/1/",
  • "fips_code": 0,
  • "full_fips_string": "string",
  • "geojson": "string",
  • "id": 0,
  • "legislators": null,
  • "name": "string",
  • "number": 0,
  • "number_string": "string",
  • "population": 0,
  • "resource_uri": "string",
  • "state_abbrev": "string"
}