AHJ types
AHJs fall into four categories, each operating at a different level of the regulatory stack:
Every AHJ in the API includes a
type field so you can distinguish between them programmatically.
Jurisdictional laddering
Building codes do not come from a single source. They layer across multiple levels of government. A construction project in Los Angeles may need to comply with requirements from the City of Los Angeles, Los Angeles County, and the State of California — plus utility interconnection standards from the local utility provider. This layering is called jurisdictional laddering. A city often adopts the state’s base code and then adds its own amendments. A county may impose additional requirements on top of that. The result is a stack of overlapping rules that vary by location. Fordje resolves this behind the scenes. When you pull data points for an AHJ, the values already account for the full chain of parent jurisdictions. You get the complete, resolved answer — not a set of fragments you need to piece together yourself.You do not need to query multiple AHJ levels and merge the results. Fordje
handles jurisdictional laddering internally and returns the effective value
for each data point.
Access scoping
Your API key determines which AHJs you can access. Fordje Connect enforces access control based on your organization’s subscription — you only see data for the jurisdictions you are subscribed to.How it works
Every API request is scoped to your organization’s entitled AHJs:- Your API key identifies your organization
- The API resolves which AHJ IDs your subscription includes
- Requests are filtered to only return data for those AHJs
Listing endpoints
Endpoints that return lists of data (likeGET /v1/ahjs or GET /v1/data-points) automatically scope results to your entitled AHJs. You only see data you have access to.
Specific AHJ requests
When you request a specific AHJ by ID (likeGET /v1/ahjs/{id}), the API checks whether that AHJ is in your subscription. If not, you receive a 403 Forbidden response:
Partial access with warnings
When you request multiple AHJs in a bulk endpoint (likeGET /v1/data-points?ahj_ids=1,2,999), the API returns data for the AHJs you have access to and includes a warnings array for any excluded IDs:
The API returns a successful response with partial data rather than failing
the entire request. Always check the
warnings array to detect excluded AHJs.Full denial
If all requested AHJs are outside your subscription, the API returns a403 rather than an empty success response.
Endpoint access behavior
Working with AHJs
List your AHJs
To see which AHJs your organization has access to, call the list endpoint. You can filter by state to narrow results:Get detail for a single AHJ
To retrieve full detail for a specific AHJ, pass its integer ID:county, population, and lat/lon that are not present in the list view. Both list and detail responses also carry geoid — the jurisdiction’s Census GEOID (FIPS code) — which can be null for AHJs without a mapped geography (such as utilities).
Looking up AHJs by geoID
Every AHJ tied to a U.S. geography carries ageoid — its Census GEOID (a FIPS-based identifier). County geoIDs are 5 characters, Census places are 7, and townships are 10. If you already work with Census or TIGER/Line data, the geoid lets you cross-reference Fordje AHJs without ever touching Fordje’s internal integer IDs.
Don’t have a GEOID handy? Look one up by address or place name with the U.S. Census Bureau Geocoder or browse the TIGER/Line GEOID reference. You can also get an AHJ’s geoid directly from any /v1/ahjs or /v1/ahjs/{id} response.
Resolve a geoID to an AHJ
Pass the geoID on the/v1/geoid/{geoid} path. The response is identical to GET /v1/ahjs/{ahj_id} — full AHJ detail, including the geoid itself.
Resolution semantics
A geoID is intended to be 1:1 with an AHJ. In the rare case the same geoID
maps to more than one AHJ, the API returns the lowest-numbered AHJ ID.
Next steps
List AHJs
Full API reference for
GET /v1/ahjs — query parameters, response fields,
and filtering.Get AHJ detail
Full API reference for
GET /v1/ahjs/{ahj_id} — all response fields
including geographic data.