Export collection for a geoID as CSV
curl --request POST \
--url https://connect.fordje.com/v1/geoid/{geoid}/collections/{collection_id}/export \
--header 'X-API-Key: <api-key>'import requests
url = "https://connect.fordje.com/v1/geoid/{geoid}/collections/{collection_id}/export"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://connect.fordje.com/v1/geoid/{geoid}/collections/{collection_id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));AHJ Name,State,Permit Required,Permit Fee,Permit Turnaround Time
City of Austin,TX,Yes,$150.00,10 business days{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}GeoID
Export collection for a geoID as CSV
Resolve the geoID to its AHJ, enforce access, and export the collection’s data for that single AHJ as CSV. Same CSV shape as POST /v1/collections//export. Unknown geoID returns 404; a resolved AHJ outside your subscription returns 403.
POST
/
v1
/
geoid
/
{geoid}
/
collections
/
{collection_id}
/
export
Export collection for a geoID as CSV
curl --request POST \
--url https://connect.fordje.com/v1/geoid/{geoid}/collections/{collection_id}/export \
--header 'X-API-Key: <api-key>'import requests
url = "https://connect.fordje.com/v1/geoid/{geoid}/collections/{collection_id}/export"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://connect.fordje.com/v1/geoid/{geoid}/collections/{collection_id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));AHJ Name,State,Permit Required,Permit Fee,Permit Turnaround Time
City of Austin,TX,Yes,$150.00,10 business days{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}{
"description": "Access denied",
"error": "AHJ_ACCESS_DENIED",
"response_type": "error",
"status_code": 403
}Authorizations
Path Parameters
Census GEOID (string, leading zeros significant)
Example:
"4805000"
Response
CSV file. One row for the matched AHJ, one column per data point type in the collection.
The response is of type file.
Was this page helpful?