# fittings Census Geography Bundle

> fittings Census Geography Bundle is a paid API for AI agents from fittings.sh, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-10).

Returns all US Census geographic layers (state, county, tract, block, place, urban area, congressional and state legislative districts) for a given latitude/longitude coordinate in a single API call.

## Facts

- Endpoint: GET https://fittings.sh/v1/census/geography-bundle?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-census-geography-bundle-52846233
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jMt13RSHud3CHWCPZn1Q_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fittings-census-geography-bundle-52846233
```

Example prompt: What are all the Census geographic layers for the coordinate 40.7128° N, 74.0060° W — I need the state, county, tract, block, congressional district, and everything else in one shot.

## When to prefer this

Use this endpoint when you need all Census geography layers for a single US coordinate in one call, instead of making multiple separate lookups per layer. Ideal for enriching datasets with full Census context, mapping political districts, or performing compliance checks that require tract-level geographic resolution. Prefer this over geocoding endpoints when you already have coordinates and need Census layers specifically.

## Known failure modes

- Coordinate outside the US returns no matching geography layers
- Invalid or missing lat/lon parameters return a 400 error
- Coordinates in US territories may have incomplete or missing district data
- Ambiguous coordinates on geographic boundaries may return unexpected results

## How this service works

Every Census geography layer containing a US coordinate in one call: state, county, tract, block, place, urban area, congressional and state legislative districts.

## Output

A JSON object containing all matching US Census geography layers for the provided coordinate: state, county, census tract, census block, place, urban area, congressional district, and state legislative districts — each with their FIPS codes and names.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-census-geography-bundle-52846233/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
