LocaCloud API (1.0.0)
Download OpenAPI specification:Download
Geospatial and demographic API for U.S. states, counties, cities, and ZIP codes.
Get a list of U.S. states
Returns a list of U.S. states with optional filters, sorting, field selection, and pagination.
query Parameters
limit | integer Default: 100 Number of results to return |
offset | integer Default: 0 Number of results to skip |
sortBy | string Example: sortBy=NAME or -NAME Field to sort by (use |
fields | string Example: fields=NAME,STUSPS Comma-separated list of properties to include |
includeGeometry | boolean Default: false Include GeoJSON geometry in the response |
filters | string Example: filters=REGION:3 or {"REGION":3} Filters (key:value,key:value) or JSON |
Responses
Response samples
- 200
{- "data": [
- {
- "_id": "string",
- "properties": {
- "NAME": "California",
- "STUSPS": "CA"
}
}
], - "totalCount": 0,
- "limit": 0,
- "offset": 0
}
Get a list of U.S. counties
Returns a list of counties with optional filters, sorting, field selection, and pagination.
query Parameters
limit | integer Default: 100 Number of results to return |
offset | integer Default: 0 Number of results to skip |
sortBy | string Example: sortBy=NAME or -NAME Field to sort by (use |
fields | string Example: fields=NAME,STUSPS Comma-separated list of properties to include |
includeGeometry | boolean Default: false Include GeoJSON geometry in the response |
filters | string Example: filters=REGION:3 or {"REGION":3} Filters (key:value,key:value) or JSON |
Responses
Get a list of U.S. cities
Returns a list of cities (Places) with optional filters, sorting, field selection, and pagination.
query Parameters
limit | integer Default: 100 Number of results to return |
offset | integer Default: 0 Number of results to skip |
sortBy | string Example: sortBy=NAME or -NAME Field to sort by (use |
fields | string Example: fields=NAME,STUSPS Comma-separated list of properties to include |
includeGeometry | boolean Default: false Include GeoJSON geometry in the response |
filters | string Example: filters=REGION:3 or {"REGION":3} Filters (key:value,key:value) or JSON |
Responses
Get a list of U.S. ZIP codes
Returns a list of ZIP codes with optional filters, sorting, field selection, and pagination.
query Parameters
limit | integer Default: 100 Number of results to return |
offset | integer Default: 0 Number of results to skip |
sortBy | string Example: sortBy=NAME or -NAME Field to sort by (use |
fields | string Example: fields=NAME,STUSPS Comma-separated list of properties to include |
includeGeometry | boolean Default: false Include GeoJSON geometry in the response |
filters | string Example: filters=REGION:3 or {"REGION":3} Filters (key:value,key:value) or JSON |