{
  "openapi": "3.1.0",
  "info": {
    "title": "Korzy API",
    "version": "1.0.0",
    "summary": "United States land, infrastructure, energy, environmental and logistics records at and near a point, as JSON.",
    "description": "The Korzy API returns structured land, infrastructure, energy, environmental and logistics records for the United States as JSON over HTTPS, organized by their relationship to a point: the layers at it (whose geometry holds it) and the layers near it (each layer's nearest records within a radius). Look up an address or point, batch up to 25 lookups, open any returned item by its ID, ask a cited question, file a support request, and read the free layer catalog.\n\nSend `Authorization: Bearer <API key>`. Create API keys on your account page (https://app.korzy.co/account); an OAuth access token from Korzy sign-in also works. Every route needs the `api:read` scope. POST bodies are JSON objects of at most 64 KB.\n\nEvery successful JSON response includes `request_id` and `credits` (`charged`, `refunded`); the exception is `POST /v1/ask` and its stream's `done` event, whose `credits` is an integer. Errors return a `detail` message and, where applicable, a machine-readable `code`. Error responses are refunded in full; a layer reported in `coverage` as `not_covered` or `unavailable`, and a failed batch item, are refunded individually; one reported as `unknown` (a layer published only where a source maps it that found nothing at the point or within the radius) is charged, and is not a finding of absence. Owner fields are returned only with the parcel layer's `owner` field group.\n\nEach operation's `x-korzy-credits` gives its cost: `min` and `max` over valid requests, plus the lookup's terms (`base`, `layers`, `includes`, `owner_multiplier`, `max_items`) where the cost depends on the body.\n\nCredits:\n\n- A lookup at an address or point: the address match and the parcels there: 1 credit\n- Each layer you ask for under at or near (47 layers, such as addresses, state, county, county_subdivision): +1 credit\n- The parcel's terrain (parcel include): +2 credits\n- A lookup with the parcel's owner fields (available on request, opt-in per organization): 2× the base\n- A batch of up to 25 addresses, points or parcel IDs: Sum of its lookups\n- A record by ID, from any layer: 1 credit\n- A question answered by Ask, with cited records: 10 credits\n- Support requests and the layer catalog: Free",
    "termsOfService": "https://korzy.co/terms/",
    "contact": {
      "name": "Korzy",
      "url": "https://korzy.co/contact/"
    }
  },
  "externalDocs": {
    "description": "Korzy API docs",
    "url": "https://korzy.co/docs/"
  },
  "servers": [
    {
      "url": "https://api.korzy.co"
    }
  ],
  "security": [
    {
      "bearer": [
        "api:read"
      ]
    }
  ],
  "tags": [
    {
      "name": "Layers",
      "description": "The layer catalog: every layer, which relations it supports, its defaults, fields, credits and coverage, and the date of its data. Read by programs and agents before they spend credits. Free. The same catalog is on the [layers page](https://korzy.co/docs/layers/)."
    },
    {
      "name": "Lookup",
      "description": "What is at a point and what is near it. Send an address or a point, the layers whose features contain it, or lie on its parcel when you ask for the parcel (`at`), and the layers to search around it (`near`). 1 credit for the address match and the parcels, plus each layer's credits: 1 credit per layer."
    },
    {
      "name": "Batch",
      "description": "The same lookup for up to 25 addresses, points or parcel IDs in one request. Each item costs what its lookup would."
    },
    {
      "name": "Records",
      "description": "One feature by the `id` a lookup or batch returned, from any layer, with all its fields and its geometry."
    },
    {
      "name": "Ask",
      "description": "A question about one place, answered from Korzy data with cited records. The answer looks up layers and records itself; owner fields are never used. The question and the Korzy data it draws on are sent to an external language model that writes the answer. 10 credits per question, at most 6 a minute and 200 a day per organization."
    },
    {
      "name": "Support",
      "description": "Report missing or wrong data, request a feature or report a bug. Free; at most 10 an hour and 30 a day per organization."
    }
  ],
  "paths": {
    "/v1/layers": {
      "get": {
        "operationId": "getLayers",
        "tags": [
          "Layers"
        ],
        "summary": "Every layer you can ask for under at and near, the parcel field groups and includes, and what each costs",
        "description": "Every layer you can ask for under `at` and `near`, the parcel field groups and includes, and what each costs.\n\nCost: Free.",
        "responses": {
          "200": {
            "description": "Every layer you can ask for under at and near, the parcel field groups and includes, and what each costs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "lookup",
                    "parcel",
                    "layers",
                    "records",
                    "ask",
                    "support"
                  ],
                  "properties": {
                    "lookup": {
                      "type": "object",
                      "description": "`credits` (the base of each lookup), `max_parcels`, `batch_max_items` and `owner_multiplier`."
                    },
                    "parcel": {
                      "type": "object",
                      "description": "`field_groups` (each a list of field names), `default_field_groups` and `includes`, each with its `credits`."
                    },
                    "layers": {
                      "type": "array",
                      "description": "Each layer: `id`, `title`, `group`, `relations` (`at`, `near` or both), `geometry`, `credits`, `source`, `near` (`default_radius_km`, `max_radius_km`, `default_limit`, `max_limit`, or `null`), `kinds` (on a layer whose items each have a `kind`: the kinds `near` can ask for), typed `fields` (a field present on some kinds only lists them in its `kinds`), `coverage` and `as_of`, the date of the data now served."
                    },
                    "records": {
                      "type": "object",
                      "description": "`credits` per record."
                    },
                    "ask": {
                      "type": "object",
                      "description": "`credits` and limits."
                    },
                    "support": {
                      "type": "object",
                      "description": "`credits` and limits."
                    }
                  }
                },
                "examples": {
                  "layers": {
                    "summary": "Production response (abbreviated)",
                    "value": {
                      "lookup": {
                        "credits": 1,
                        "max_parcels": 20,
                        "max_at_items": 20,
                        "batch_max_items": 25
                      },
                      "parcel": {
                        "field_groups": {
                          "identity": [
                            "korzy_id",
                            "parcelid",
                            "alternate_parcel_number",
                            "statefp",
                            "geoid",
                            "countyname",
                            "updated"
                          ],
                          "address": [
                            "parceladdr",
                            "parcelcity",
                            "situs_state",
                            "situs_zip",
                            "municipality",
                            "subdivision",
                            "legal_description"
                          ],
                          "location": [
                            "longitude",
                            "latitude"
                          ],
                          "land": [
                            "taxacres",
                            "land_use_code",
                            "usedesc",
                            "zoning_code",
                            "zoning_description"
                          ],
                          "building": [
                            "yearbuilt",
                            "bldgsqft",
                            "living_area_sqft",
                            "building_count"
                          ],
                          "value": [
                            "totalvalue",
                            "land_value_usd",
                            "improvement_value_usd",
                            "assessed_value_usd",
                            "market_value_usd",
                            "taxable_value_usd",
                            "tax_year",
                            "tax_amount_usd"
                          ],
                          "sale": [
                            "saledate",
                            "saleamt",
                            "last_sale_document"
                          ],
                          "owner": [
                            "owner_name",
                            "owner_name_additional",
                            "owner_mailing_address",
                            "owner_type"
                          ]
                        },
                        "default_field_groups": [
                          "identity",
                          "address",
                          "location",
                          "land",
                          "building",
                          "value",
                          "sale"
                        ],
                        "includes": {
                          "shape": {
                            "credits": 0
                          },
                          "terrain": {
                            "credits": 2
                          }
                        }
                      },
                      "layers": [
                        {
                          "id": "parcel",
                          "title": "Parcel",
                          "description": "Tax parcels whose boundary covers the point, with the requested field groups (parcel.fields) and includes (parcel.include: shape, terrain). When the lookup returns parcels, every other at layer but the jurisdictions, statistical areas and freight regions is answered for the parcels' shape: a feature is listed when it holds the point, or reaches more than 2 m inside the parcels and covers at least 10 square metres of them over all its pieces (on a parcel too narrow to reach 2 m inside, at least 20% of it), with at_point (whether it holds the point) and overlap (acres, and share of the parcels' combined area when several cover the point; null for lines and points), the point's first, then the largest overlap. Parcels of more than 10,000 vertices, and a layer with more than 1,000 features meeting the parcels' bounding box, are answered at the point. On a parcel lookup, at_basis gives each at layer's basis: parcel, with count (every feature found; a list holds at most 20) and overlap_acres (the acres of the parcels those features cover together, overlaps counted once, so never more than the parcels), or point with a reason (partition, parcel_late, parcel_vertices, dense_area, parcel_id_unconfirmed). A batch korzy_id item is answered for that parcel alone.",
                          "group": "parcel",
                          "relations": [
                            "at"
                          ],
                          "geometry": "polygon",
                          "credits": 0,
                          "coverage": "partial",
                          "near": null,
                          "fields": [],
                          "as_of": "2026-11-16",
                          "version": "82a38c08ee1998f8ca43014a032282dbd1b276b22895a73f8a56bedec7f2772f"
                        },
                        {
                          "id": "addresses",
                          "title": "Addresses",
                          "description": "Nearest street addresses (reverse geocode), nearest first.",
                          "group": "addresses",
                          "relations": [
                            "near"
                          ],
                          "geometry": "point",
                          "credits": 1,
                          "coverage": "partial",
                          "near": {
                            "default_radius_km": 0.5,
                            "max_radius_km": 5,
                            "default_limit": 3,
                            "max_limit": 10
                          },
                          "fields": [
                            {
                              "name": "formatted_address",
                              "type": "string",
                              "description": "Full address"
                            },
                            {
                              "name": "address",
                              "type": "string",
                              "description": "House number and street"
                            },
                            {
                              "name": "city",
                              "type": "string",
                              "description": "City"
                            }
                          ],
                          "as_of": null,
                          "version": null
                        },
                        {
                          "id": "state",
                          "title": "State",
                          "description": "The state or territory holding the point.",
                          "group": "jurisdictions",
                          "relations": [
                            "at"
                          ],
                          "geometry": "polygon",
                          "credits": 1,
                          "coverage": "national",
                          "near": null,
                          "fields": [
                            {
                              "name": "name",
                              "type": "string",
                              "description": "Name"
                            },
                            {
                              "name": "code",
                              "type": "string",
                              "description": "Code (district number, ZIP code, zoning code)"
                            },
                            {
                              "name": "description",
                              "type": "string",
                              "description": "Description"
                            }
                          ],
                          "as_of": "2026-11-13",
                          "version": "034cc68e-8fa7-4342-8b38-6911be672e69"
                        }
                      ],
                      "records": {
                        "credits": 1
                      },
                      "ask": {
                        "credits": 10,
                        "per_org_per_minute": 6,
                        "per_org_per_day": 200
                      },
                      "support": {
                        "credits": 0,
                        "per_org_per_hour": 10,
                        "per_org_per_day": 30,
                        "message_max": 4000
                      },
                      "credits": {
                        "charged": 0,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "111f7cc3-0b65-4efd-8484-49ed4a6a3491"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "422": {
            "$ref": "#/components/responses/Error422"
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "x-korzy-credits": {
          "min": 0,
          "max": 0
        }
      }
    },
    "/v1/lookup": {
      "post": {
        "operationId": "postLookup",
        "tags": [
          "Lookup"
        ],
        "summary": "The features containing a point, or on its parcel, and the nearest features around it, from any layers you choose, with the parcels there",
        "description": "The features containing a point, or on its parcel, and the nearest features around it, from any layers you choose, with the parcels there. An address alone is a geocode.\n\nGeocoding: an address with no layers beyond the default `parcel` is a geocode, returning the matched address, its point, its parcels and any `candidates` for 1 credit.\n\nReverse geocoding: `near: {\"addresses\": {}}` returns the nearest addresses to a point, each with `distance_km`; with none within the radius, `addresses` is `unknown` in `coverage`.\n\nCoverage: a layer that cannot answer at the point is listed in `coverage` instead of `at` or `near`; one listed as `not_covered` or `unavailable` is refunded, one listed as `unknown` is charged. An empty list in `at`, or no `items` in `near`, is a finding: the layer was checked and nothing is there. Only `parcel` and layers with `national` coverage answer that way; any other layer that finds nothing is listed as `unknown`.\n\nParcels: up to 20 parcels containing the point are returned under `at.parcel`. Owner fields come only with the `owner` field group, available on request (opt-in per organization).\n\nCost: 1 credit, plus 1 credit per layer (up to 56 credits).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LookupInput"
              },
              "examples": {
                "lookup_address": {
                  "summary": "Water, sewer and flood zone at an address, with the nearest treatment plants",
                  "value": {
                    "address": "714 Mordecai Towne Pl, Raleigh, NC",
                    "at": [
                      "parcel",
                      "water_service",
                      "sewer_service",
                      "flood_zone"
                    ],
                    "near": {
                      "treatment_plants": {}
                    }
                  }
                },
                "lookup_point": {
                  "summary": "Jurisdictions and zoning at a point, with data centers, power plants and transmission nearby",
                  "value": {
                    "point": {
                      "longitude": -77.4874,
                      "latitude": 39.0438
                    },
                    "at": [
                      "county",
                      "place",
                      "zoning"
                    ],
                    "near": {
                      "datacenters": {},
                      "power_plants": {
                        "radius_km": 25,
                        "limit": 3
                      },
                      "transmission_lines": {}
                    }
                  }
                },
                "lookup_geocode": {
                  "summary": "Geocode an address",
                  "value": {
                    "address": "1600 Glenarm Pl, Denver, CO 80202"
                  }
                },
                "lookup_reverse": {
                  "summary": "The nearest addresses to a point",
                  "value": {
                    "point": {
                      "longitude": -104.9895,
                      "latitude": 39.7475
                    },
                    "near": {
                      "addresses": {
                        "limit": 2
                      }
                    }
                  }
                }
              }
            }
          },
          "required": true,
          "description": "- `point`: `longitude` (−180 to 180) and `latitude` (−85 to 85). Send `point` or `address`, not both.\n- `address`: A one-line US address, 3–200 characters, such as `1600 Glenarm Pl, Denver, CO 80202`. Abbreviations, small typos, a unit and a missing city or ZIP are accepted; the state or ZIP narrows the search.\n- `at`: Layers whose features contain the point, or on a parcel lookup lie on the parcel, as a list of layer IDs, or `\"*\"` for every layer that supports `at` (25 layers). Default `[\"parcel\"]`. See [layers](https://korzy.co/docs/layers/).\n- `near`: Layers to search around the point: an object keyed by layer ID, each `{\"radius_km\": …, \"limit\": …}`; `{}` uses the layer's defaults. 28 layers support `near`; each has its own default and maximum radius and limit. A layer with kinds (`petroleum_facilities`, `natural_gas_facilities`) also takes `kinds`, a list of its kinds, to search only those: `{\"natural_gas_facilities\": {\"kinds\": [\"lng_terminal\"], \"limit\": 3}}` is the 3 nearest LNG terminals. The price is the same with or without `kinds`. Default `{}`.\n- `parcel`: Parcel options, with `parcel` in `at`: `fields`, the [field groups](https://korzy.co/docs/reference/#parcel-fields) to return (default `identity`, `address`, `location`, `land`, `building`, `value`, `sale`; adding `owner` makes the lookup's base cost 2 credits), and `include`: `shape` (free) and `terrain` (+2 credits)."
        },
        "responses": {
          "200": {
            "description": "The features containing a point, or on its parcel, and the nearest features around it, from any layers you choose, with the parcels there",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "point",
                    "at",
                    "near",
                    "coverage",
                    "credits",
                    "request_id"
                  ],
                  "properties": {
                    "point": {
                      "type": "object",
                      "description": "The `longitude` and `latitude` the lookup used: the point sent, or the matched address's point."
                    },
                    "address": {
                      "type": "object",
                      "description": "Only for an address: `input` as sent, `matched` (the address it matched), `match` (`exact`, `approximate` or `ambiguous`) and `candidates` (other addresses it could mean, each with `address`, `point` and `score`, 0–1). An ambiguous address is answered for the best candidate."
                    },
                    "at": {
                      "type": "object",
                      "description": "One list per requested `at` layer of the features containing the point; several when they overlap, an empty list (only for `parcel` or a layer with `national` coverage) when the layer was checked and nothing is there. When `parcel` is requested and found, every other `at` layer but the jurisdictions, statistical areas and freight regions lists the features on the parcel's shape instead (those holding the point, or reaching more than 2 m inside the parcel and covering at least 10 square metres of it over all their pieces; on a parcel too narrow for that, at least 20% of it), each with `at_point` (whether it holds the point) and `overlap` (its acreage on the parcel and `share` of the parcel, of the parcels' combined area when several cover the point; null for lines and points), the point's first, then the largest overlap, at most 20. The answer's `at_basis` then gives each `at` layer's basis: `{\"basis\": \"parcel\", \"count\": …, \"overlap_acres\": …}` (every feature found, however many the list holds, and the acreage of the parcel they cover together, overlaps counted once, so never more than the parcel; null when none is an area), or `{\"basis\": \"point\", \"reason\": …}` (`partition`, `parcel_late` when the parcels were slow to read, `parcel_vertices` for a parcel of more than 10,000 vertices, `dense_area` for more than 1,000 of the layer's features in its bounding box, `parcel_id_unconfirmed` for a batch `korzy_id` item that could not be confirmed as answered for that parcel). Each item has `id` (`<layer>:<record id>`, which [records](https://korzy.co/docs/reference/#records) accepts), `name`, `props` (the layer's fields), `as_of` and, near, `distance_km`. Parcel items also carry `shape` and `shape_info` or `terrain` when included."
                    },
                    "near": {
                      "type": "object",
                      "description": "One entry per requested `near` layer: `radius_km`, `limit`, `kinds` (when sent), `truncated` (more features, of the kinds asked, are within the radius than `limit`) and `items`, nearest first by exact distance; empty `items` (only for a layer with `national` coverage) when the layer was checked and nothing is within the radius. On a layer with kinds each item's `props` has its `kind`. Each item has `id` (`<layer>:<record id>`, which [records](https://korzy.co/docs/reference/#records) accepts), `name`, `props` (the layer's fields), `as_of` and, near, `distance_km`."
                    },
                    "coverage": {
                      "type": "object",
                      "description": "Requested layers that cannot answer at this point, each with `status` (see [coverage](https://korzy.co/docs/reference/#coverage)), a `note` and the `relations` (`at`, `near`) it could not answer under. A layer listed here is absent from `at` or `near` for those relations; layers that answered are not listed."
                    },
                    "credits": {
                      "type": "object",
                      "description": "`charged` and `refunded`: what this request spent and what was given back (layers in `coverage` as `not_covered` or `unavailable`, and failed items)."
                    },
                    "request_id": {
                      "type": "string",
                      "description": "ID of this request. Include it in support requests."
                    }
                  }
                },
                "examples": {
                  "lookup_address": {
                    "summary": "Water, sewer and flood zone at an address, with the nearest treatment plants (abbreviated)",
                    "value": {
                      "point": {
                        "longitude": -78.62700116632315,
                        "latitude": 35.79988145
                      },
                      "address": {
                        "input": "714 Mordecai Towne Pl, Raleigh, NC",
                        "matched": "714 MORDECAI TOWNE PL, RALEIGH, NC 27604",
                        "match": "exact",
                        "candidates": [
                          {
                            "address": "714 MORDECAI TOWNE PL, RALEIGH, NC 27604",
                            "point": {
                              "longitude": -78.62700116632315,
                              "latitude": 35.79988145
                            },
                            "score": 1
                          }
                        ]
                      },
                      "at": {
                        "parcel": [
                          {
                            "id": "parcel:37183-676db8ae68362b7a3685",
                            "name": "714 MORDECAI TOWNE PL",
                            "props": {
                              "korzy_id": "37183-676db8ae68362b7a3685",
                              "parcelid": "1714066205",
                              "alternate_parcel_number": "0364254",
                              "statefp": "37",
                              "geoid": "37183",
                              "countyname": "Wake",
                              "updated": "2026-11-13",
                              "parceladdr": "714 MORDECAI TOWNE PL",
                              "parcelcity": "RALEIGH",
                              "situs_state": "NC",
                              "situs_zip": "27604",
                              "municipality": null,
                              "subdivision": null,
                              "legal_description": "LO4 MORDECAI TOWNS AT COURTLAND DRIVE BM2007 -01069",
                              "longitude": -78.62700116632315,
                              "latitude": 35.79988145,
                              "taxacres": 0.03,
                              "land_use_code": "RHS",
                              "usedesc": "R",
                              "zoning_code": "R-10-CU",
                              "zoning_description": "Residential-10",
                              "yearbuilt": 2009,
                              "bldgsqft": 2393,
                              "living_area_sqft": null,
                              "building_count": 1,
                              "totalvalue": 662832,
                              "land_value_usd": 135000,
                              "improvement_value_usd": 527832,
                              "assessed_value_usd": null,
                              "market_value_usd": null,
                              "taxable_value_usd": null,
                              "tax_year": null,
                              "tax_amount_usd": null,
                              "saledate": "2025-07-10",
                              "saleamt": 740000,
                              "last_sale_document": "Deed Book/Page 019954/02049"
                            },
                            "as_of": "2026-11-16"
                          }
                        ],
                        "water_service": [
                          {
                            "id": "water_service:water:29943",
                            "name": "RALEIGH, CITY OF",
                            "props": {
                              "name": "RALEIGH, CITY OF",
                              "operator": null,
                              "status": null,
                              "boundary_basis": "System Sourced",
                              "state": "NC",
                              "city": null,
                              "category": "Municipality",
                              "population": 640000,
                              "connections": 200114,
                              "source_date": "2007-03-06"
                            },
                            "as_of": "2007-03-06",
                            "at_point": true,
                            "overlap": {
                              "acres": 0.033,
                              "share": 1
                            }
                          }
                        ],
                        "sewer_service": [
                          {
                            "id": "sewer_service:sewer:2161",
                            "name": "NEUSE RIVER RESOURCE RECOVERY FACILITY",
                            "props": {
                              "name": "NEUSE RIVER RESOURCE RECOVERY FACILITY",
                              "operator": null,
                              "status": null,
                              "boundary_basis": "Sourced",
                              "state": "NC",
                              "city": "Raleigh",
                              "category": null,
                              "population": 570019
                            },
                            "as_of": "2026-11-05",
                            "at_point": true,
                            "overlap": {
                              "acres": 0.033,
                              "share": 1
                            }
                          }
                        ],
                        "flood_zone": [
                          {
                            "name": "X",
                            "props": {
                              "flood_zone": "X",
                              "zone_subtype": "AREA OF MINIMAL FLOOD HAZARD",
                              "sfha": false,
                              "base_flood_elevation": null,
                              "elevation_unit": "",
                              "vertical_datum": "",
                              "state": "NC",
                              "source_date": "2026-10-22"
                            },
                            "as_of": "2026-10-22",
                            "at_point": true,
                            "overlap": {
                              "acres": 0.033,
                              "share": 1
                            }
                          }
                        ]
                      },
                      "at_basis": {
                        "water_service": {
                          "basis": "parcel",
                          "count": 1,
                          "overlap_acres": 0.033
                        },
                        "sewer_service": {
                          "basis": "parcel",
                          "count": 1,
                          "overlap_acres": 0.033
                        },
                        "flood_zone": {
                          "basis": "parcel",
                          "count": 1,
                          "overlap_acres": 0.033
                        }
                      },
                      "near": {
                        "treatment_plants": {
                          "radius_km": 25,
                          "limit": 3,
                          "truncated": true,
                          "items": [
                            {
                              "id": "treatment_plants:treatment:7989",
                              "name": "NORTH CARY WWTP",
                              "props": {
                                "name": "NORTH CARY WWTP",
                                "operator": "TOWN OF CARY",
                                "status": null,
                                "state": "NC",
                                "city": "Cary",
                                "category": "Treatment Plant",
                                "treatment_level": null,
                                "design_flow_mgd": null,
                                "permit_id": "NC0048879"
                              },
                              "as_of": "2026-11-05",
                              "distance_km": 14.118
                            },
                            {
                              "id": "treatment_plants:treatment:15459",
                              "name": "Smith Creek Resource Recovery Facility",
                              "props": {
                                "name": "Smith Creek Resource Recovery Facility",
                                "operator": "City of Raleigh",
                                "status": null,
                                "state": "NC",
                                "city": "Wake Forest",
                                "category": "Treatment Plant",
                                "treatment_level": null,
                                "design_flow_mgd": null,
                                "permit_id": "NC0030759"
                              },
                              "as_of": "2026-11-05",
                              "distance_km": 14.64
                            },
                            {
                              "id": "treatment_plants:treatment:7987",
                              "name": "NEUSE RIVER RESOURCE RECOVERY FACILITY",
                              "props": {
                                "name": "NEUSE RIVER RESOURCE RECOVERY FACILITY",
                                "operator": "City of Raleigh",
                                "status": null,
                                "state": "NC",
                                "city": "Raleigh",
                                "category": "Treatment Plant",
                                "treatment_level": null,
                                "design_flow_mgd": null,
                                "permit_id": "NC0029033"
                              },
                              "as_of": "2026-11-05",
                              "distance_km": 15.57
                            }
                          ]
                        }
                      },
                      "coverage": {},
                      "credits": {
                        "charged": 5,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "52b959c1-7698-4e06-b375-6c993945efdb"
                    }
                  },
                  "lookup_point": {
                    "summary": "Jurisdictions and zoning at a point, with data centers, power plants and transmission nearby (abbreviated)",
                    "value": {
                      "point": {
                        "longitude": -77.4874,
                        "latitude": 39.0438
                      },
                      "at": {
                        "county": [
                          {
                            "id": "county:51107",
                            "name": "Loudoun",
                            "props": {
                              "name": "Loudoun",
                              "code": null,
                              "description": "Loudoun County",
                              "state": "VA",
                              "geoid": "51107",
                              "source_release": "9c6fed783cd8ac0ab14ddddd33abe0cac6147de69f4917683281086ef5859a77",
                              "source_date": "2026-01-01",
                              "area_m2": 1350249614.4646006
                            },
                            "as_of": "2026-01-01"
                          }
                        ],
                        "place": [
                          {
                            "id": "place:5103320",
                            "name": "Ashburn",
                            "props": {
                              "name": "Ashburn",
                              "code": null,
                              "description": "Ashburn CDP",
                              "state": "VA",
                              "geoid": "5103320",
                              "source_release": "9c628ec88592c60c0deed81a01aeaab32179f13f381ac80647243395efc31901",
                              "source_date": "2026-01-01",
                              "area_m2": 40273304.150125705
                            },
                            "as_of": "2026-01-01"
                          }
                        ],
                        "zoning": [
                          {
                            "id": "zoning:zoning_va_loudoun_county_bccfe6b2:704",
                            "name": "RC",
                            "props": {
                              "name": "Commercial",
                              "code": "RC",
                              "description": "Commercial",
                              "state": "VA",
                              "geoid": null,
                              "source_release": "7f81a5977856996ee0cfbcb365faf9f16b3d02ad20c8dd1514a62c94683654c3",
                              "source_date": "2022-11-02",
                              "area_m2": 144472.0284579639
                            },
                            "as_of": "2022-11-02"
                          },
                          {
                            "id": "zoning:zoning_md_montgomery_county_df5df43d:40496",
                            "name": null,
                            "props": {
                              "name": null,
                              "code": null,
                              "description": null,
                              "state": "MD",
                              "geoid": null,
                              "source_release": "98a27786e24bcc8f11cf32bf86be17fcb8aba43b53a7479042b25bed5ef7fb8a",
                              "source_date": "2026-11-13",
                              "area_m2": 2414569778.010714
                            },
                            "as_of": "2026-11-13"
                          }
                        ]
                      },
                      "near": {
                        "datacenters": {
                          "radius_km": 10,
                          "limit": 5,
                          "truncated": true,
                          "items": [
                            {
                              "id": "datacenters:dc_1aac762b0a7956be5cdb",
                              "name": "Equinix Ashburn Campus (DC1–DC15)",
                              "props": {
                                "name": "Equinix Ashburn Campus (DC1–DC15)",
                                "operator": "Equinix",
                                "status": "operating",
                                "state": "VA",
                                "city": "Ashburn",
                                "address": "",
                                "longitude": -77.4875,
                                "latitude": 39.0437,
                                "location_precision": "exact",
                                "approximate_location": false,
                                "operational_mw": 500,
                                "planned_mw": null,
                                "it_mw": null,
                                "source_count": 1,
                                "source_date": "2026-09-14"
                              },
                              "as_of": "2026-09-14",
                              "distance_km": 0.014
                            },
                            {
                              "id": "datacenters:dc_8538a6a80d32ecb8753b",
                              "name": "STACK NVA Loudoun 144MW Hyperscale Campus",
                              "props": {
                                "name": "STACK NVA Loudoun 144MW Hyperscale Campus",
                                "operator": "STACK Infrastructure",
                                "status": "permitted",
                                "state": "VA",
                                "city": "Ashburn",
                                "address": "",
                                "longitude": -77.49,
                                "latitude": 39.04,
                                "location_precision": "exact",
                                "approximate_location": false,
                                "operational_mw": null,
                                "planned_mw": 144,
                                "it_mw": null,
                                "source_count": 1,
                                "source_date": "2026-09-21"
                              },
                              "as_of": "2026-09-21",
                              "distance_km": 0.478
                            },
                            {
                              "id": "datacenters:dc_fbe24f4974aa4e1c69aa",
                              "name": "Bridgefield Tech Center",
                              "props": {
                                "name": "Bridgefield Tech Center",
                                "operator": "Amazon Web Services",
                                "status": "proposed",
                                "state": "VA",
                                "city": "Ashburn",
                                "address": "",
                                "longitude": -77.4744148,
                                "latitude": 39.029784,
                                "location_precision": "approximate",
                                "approximate_location": true,
                                "operational_mw": null,
                                "planned_mw": null,
                                "it_mw": null,
                                "source_count": 1,
                                "source_date": "2026-08-26"
                              },
                              "as_of": "2026-08-26",
                              "distance_km": 1.92
                            }
                          ]
                        },
                        "power_plants": {
                          "radius_km": 25,
                          "limit": 3,
                          "truncated": true,
                          "items": [
                            {
                              "id": "power_plants:59004",
                              "name": "Potomac Energy Center, LLC",
                              "props": {
                                "plant_name": "Potomac Energy Center, LLC",
                                "state": "VA",
                                "site_status": "operating",
                                "primary_fuel": "gas",
                                "nameplate_mw": 812,
                                "proposed_nameplate_mw": null,
                                "generator_count": 3,
                                "longitude": -77.545,
                                "latitude": 39.058056,
                                "report_year": 2025
                              },
                              "as_of": "2025",
                              "distance_km": 5.231
                            },
                            {
                              "id": "power_plants:70232",
                              "name": "Evergreen Energy Center, LLC",
                              "props": {
                                "plant_name": "Evergreen Energy Center, LLC",
                                "state": "VA",
                                "site_status": "proposed",
                                "primary_fuel": "storage",
                                "nameplate_mw": null,
                                "proposed_nameplate_mw": 20,
                                "generator_count": 1,
                                "longitude": -77.581908,
                                "latitude": 39.044885,
                                "report_year": 2025
                              },
                              "as_of": "2025",
                              "distance_km": 8.183
                            },
                            {
                              "id": "power_plants:65043",
                              "name": "Dulles Solar and Storage",
                              "props": {
                                "plant_name": "Dulles Solar and Storage",
                                "state": "VA",
                                "site_status": "proposed",
                                "primary_fuel": "solar",
                                "nameplate_mw": null,
                                "proposed_nameplate_mw": 150,
                                "generator_count": 2,
                                "longitude": -77.5,
                                "latitude": 38.95,
                                "report_year": 2025
                              },
                              "as_of": "2025",
                              "distance_km": 10.47
                            }
                          ]
                        },
                        "transmission_lines": {
                          "radius_km": 5,
                          "limit": 5,
                          "truncated": true,
                          "items": [
                            {
                              "id": "transmission_lines:142003",
                              "name": "ASHBURN to BEAUMEADE",
                              "props": {
                                "owner": "VIRGINIA ELECTRIC & POWER CO",
                                "status": "IN SERVICE",
                                "voltage_kv": 230,
                                "voltage_class": "220-287",
                                "line_type": "AC; OVERHEAD",
                                "substation_1": "ASHBURN",
                                "substation_2": "BEAUMEADE",
                                "source_date": "2014-06-17T00:00:00+00:00"
                              },
                              "as_of": "2014-06-17",
                              "distance_km": 0.02
                            },
                            {
                              "id": "transmission_lines:119843",
                              "name": "ASHBURN to BEAUMEADE",
                              "props": {
                                "owner": "VIRGINIA ELECTRIC & POWER CO",
                                "status": "IN SERVICE",
                                "voltage_kv": 230,
                                "voltage_class": "220-287",
                                "line_type": "AC; OVERHEAD",
                                "substation_1": "ASHBURN",
                                "substation_2": "BEAUMEADE",
                                "source_date": "2014-09-03T00:00:00+00:00"
                              },
                              "as_of": "2014-09-03",
                              "distance_km": 0.023
                            },
                            {
                              "id": "transmission_lines:115875",
                              "name": "PLEASANT VIEW to ASHBURN",
                              "props": {
                                "owner": "VIRGINIA ELECTRIC & POWER CO",
                                "status": "IN SERVICE",
                                "voltage_kv": 230,
                                "voltage_class": "220-287",
                                "line_type": "AC; OVERHEAD",
                                "substation_1": "PLEASANT VIEW",
                                "substation_2": "ASHBURN",
                                "source_date": "2014-09-03T00:00:00+00:00"
                              },
                              "as_of": "2014-09-03",
                              "distance_km": 1.27
                            }
                          ]
                        }
                      },
                      "coverage": {},
                      "credits": {
                        "charged": 7,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "db87675f-0f6e-45b9-81e5-9d48760176be"
                    }
                  },
                  "lookup_geocode": {
                    "summary": "Geocode an address (abbreviated)",
                    "value": {
                      "point": {
                        "longitude": -104.98947115039978,
                        "latitude": 39.744195649999995
                      },
                      "address": {
                        "input": "1600 Glenarm Pl, Denver, CO 80202",
                        "matched": "1600 GLENARM PL, DENVER, CO 80202",
                        "match": "exact",
                        "candidates": [
                          {
                            "address": "1600 GLENARM PL, DENVER, CO 80202",
                            "point": {
                              "longitude": -104.98947115039978,
                              "latitude": 39.744195649999995
                            },
                            "score": 1
                          },
                          {
                            "address": "1600 GLENARM PL COMM, DENVER, CO 80202",
                            "point": {
                              "longitude": -104.98980024999999,
                              "latitude": 39.743939350000005
                            },
                            "score": 0.95
                          },
                          {
                            "address": "1600 GLENARM PL RESD, DENVER, CO 80202",
                            "point": {
                              "longitude": -104.98980024999999,
                              "latitude": 39.743939350000005
                            },
                            "score": 0.95
                          }
                        ]
                      },
                      "at": {
                        "parcel": [
                          {
                            "id": "parcel:08031-00608646b37458fef5b5",
                            "name": "1628 GLENARM PL",
                            "props": {
                              "korzy_id": "08031-00608646b37458fef5b5",
                              "parcelid": "0234610034000",
                              "alternate_parcel_number": null,
                              "statefp": "08",
                              "geoid": "08031",
                              "countyname": "Denver",
                              "updated": "2026-04-21",
                              "parceladdr": "1628 GLENARM PL",
                              "parcelcity": "DENVER",
                              "situs_state": null,
                              "situs_zip": "80202",
                              "municipality": null,
                              "subdivision": null,
                              "legal_description": "EAST DENVER B195 L7 & SW/2 OF L6 LAND ONLY SEE 02346-10-035 FOR IMPS",
                              "longitude": -104.98947115039978,
                              "latitude": 39.744195649999995,
                              "taxacres": null,
                              "land_use_code": null,
                              "usedesc": "COMMERCIAL-MISC IMPS",
                              "zoning_code": "CBD",
                              "zoning_description": null,
                              "yearbuilt": null,
                              "bldgsqft": null,
                              "living_area_sqft": null,
                              "building_count": null,
                              "totalvalue": null,
                              "land_value_usd": null,
                              "improvement_value_usd": null,
                              "assessed_value_usd": 0,
                              "market_value_usd": 1408800,
                              "taxable_value_usd": null,
                              "tax_year": null,
                              "tax_amount_usd": null,
                              "saledate": "2018-07-11",
                              "saleamt": 131000000,
                              "last_sale_document": null
                            },
                            "as_of": "2026-11-16"
                          },
                          {
                            "id": "parcel:08031-38ea02a85c11fd253b1c",
                            "name": "1600 GLENARM PL",
                            "props": {
                              "korzy_id": "08031-38ea02a85c11fd253b1c",
                              "parcelid": "0234610035000",
                              "alternate_parcel_number": null,
                              "statefp": "08",
                              "geoid": "08031",
                              "countyname": "Denver",
                              "updated": "2026-04-21",
                              "parceladdr": "1600 GLENARM PL",
                              "parcelcity": "DENVER",
                              "situs_state": null,
                              "situs_zip": "80202-4311",
                              "municipality": null,
                              "subdivision": null,
                              "legal_description": "EAST DENVER B195 L7 & SW/2 OF L6 IMPS ONLY SEE 02346-10-034 FOR LAND ONLY",
                              "longitude": -104.98947115039978,
                              "latitude": 39.744195649999995,
                              "taxacres": null,
                              "land_use_code": null,
                              "usedesc": "COMMERCIAL-OFFICE",
                              "zoning_code": "CBD",
                              "zoning_description": null,
                              "yearbuilt": null,
                              "bldgsqft": null,
                              "living_area_sqft": null,
                              "building_count": null,
                              "totalvalue": null,
                              "land_value_usd": null,
                              "improvement_value_usd": null,
                              "assessed_value_usd": 0,
                              "market_value_usd": 885700,
                              "taxable_value_usd": null,
                              "tax_year": null,
                              "tax_amount_usd": null,
                              "saledate": "2018-07-11",
                              "saleamt": 131000000,
                              "last_sale_document": null
                            },
                            "as_of": "2026-11-16"
                          },
                          {
                            "id": "parcel:08031-5b4cf0a0a15d0ff3a944",
                            "name": "1628 GLENARM PL MASTR",
                            "props": {
                              "korzy_id": "08031-5b4cf0a0a15d0ff3a944",
                              "parcelid": "0234610034998",
                              "alternate_parcel_number": null,
                              "statefp": "08",
                              "geoid": "08031",
                              "countyname": "Denver",
                              "updated": "2026-04-21",
                              "parceladdr": "1628 GLENARM PL MASTR",
                              "parcelcity": "DENVER",
                              "situs_state": null,
                              "situs_zip": "80202",
                              "municipality": null,
                              "subdivision": null,
                              "legal_description": "EAST DENVER B195 L7 & SW/2 OF L6 MASTER CARD",
                              "longitude": -104.98947115039978,
                              "latitude": 39.744195649999995,
                              "taxacres": null,
                              "land_use_code": null,
                              "usedesc": "COMMERCIAL-FINANCIAL OFFICE",
                              "zoning_code": "CBD",
                              "zoning_description": null,
                              "yearbuilt": null,
                              "bldgsqft": null,
                              "living_area_sqft": null,
                              "building_count": null,
                              "totalvalue": null,
                              "land_value_usd": null,
                              "improvement_value_usd": null,
                              "assessed_value_usd": 0,
                              "market_value_usd": 0,
                              "taxable_value_usd": null,
                              "tax_year": null,
                              "tax_amount_usd": null,
                              "saledate": "2026-06-15",
                              "saleamt": 0,
                              "last_sale_document": null
                            },
                            "as_of": "2026-11-16"
                          }
                        ]
                      },
                      "near": {},
                      "coverage": {},
                      "credits": {
                        "charged": 1,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "2a133873-4dc1-46b6-afab-89aaef653740"
                    }
                  },
                  "lookup_reverse": {
                    "summary": "The nearest addresses to a point (abbreviated)",
                    "value": {
                      "point": {
                        "longitude": -104.9895,
                        "latitude": 39.7475
                      },
                      "at": {
                        "parcel": [
                          {
                            "id": "parcel:08031-0c7e78280dc6ab811791",
                            "name": "1801 CALIFORNIA ST",
                            "props": {
                              "korzy_id": "08031-0c7e78280dc6ab811791",
                              "parcelid": "0234513035000",
                              "alternate_parcel_number": null,
                              "statefp": "08",
                              "geoid": "08031",
                              "countyname": "Denver",
                              "updated": "2026-04-21",
                              "parceladdr": "1801 CALIFORNIA ST",
                              "parcelcity": "DENVER",
                              "situs_state": null,
                              "situs_zip": "80202-2658",
                              "municipality": null,
                              "subdivision": null,
                              "legal_description": "EAST DENVER B142 DIF RCP #26667 RCD 9/25/86 LAND ONLY",
                              "longitude": -104.98982632411376,
                              "latitude": 39.74767825,
                              "taxacres": null,
                              "land_use_code": null,
                              "usedesc": "COMMERCIAL-MISC IMPS",
                              "zoning_code": "CBD",
                              "zoning_description": null,
                              "yearbuilt": null,
                              "bldgsqft": null,
                              "living_area_sqft": null,
                              "building_count": null,
                              "totalvalue": null,
                              "land_value_usd": null,
                              "improvement_value_usd": null,
                              "assessed_value_usd": 0,
                              "market_value_usd": 16827500,
                              "taxable_value_usd": null,
                              "tax_year": null,
                              "tax_amount_usd": null,
                              "saledate": "2019-07-31",
                              "saleamt": 10,
                              "last_sale_document": null
                            },
                            "as_of": "2026-11-16"
                          },
                          {
                            "id": "parcel:08031-4bd395bb660eded72721",
                            "name": "1801 CALIFORNIA ST MASTR",
                            "props": {
                              "korzy_id": "08031-4bd395bb660eded72721",
                              "parcelid": "0234513034998",
                              "alternate_parcel_number": null,
                              "statefp": "08",
                              "geoid": "08031",
                              "countyname": "Denver",
                              "updated": "2026-04-21",
                              "parceladdr": "1801 CALIFORNIA ST MASTR",
                              "parcelcity": "DENVER",
                              "situs_state": null,
                              "situs_zip": "80202-2658",
                              "municipality": null,
                              "subdivision": null,
                              "legal_description": "EAST DENVER B142 DIF RCP #26667 RCD 9/25/86 MASTER CARD 02345-13-034/035",
                              "longitude": -104.98982632411376,
                              "latitude": 39.74767825,
                              "taxacres": null,
                              "land_use_code": null,
                              "usedesc": "COMMERCIAL-OFFICE",
                              "zoning_code": "CBD",
                              "zoning_description": null,
                              "yearbuilt": null,
                              "bldgsqft": null,
                              "living_area_sqft": null,
                              "building_count": null,
                              "totalvalue": null,
                              "land_value_usd": null,
                              "improvement_value_usd": null,
                              "assessed_value_usd": 0,
                              "market_value_usd": 0,
                              "taxable_value_usd": null,
                              "tax_year": null,
                              "tax_amount_usd": null,
                              "saledate": "2019-07-31",
                              "saleamt": 10,
                              "last_sale_document": null
                            },
                            "as_of": "2026-11-16"
                          },
                          {
                            "id": "parcel:08031-d359aa18e68c4981781c",
                            "name": "1801 CALIFORNIA ST STE 100",
                            "props": {
                              "korzy_id": "08031-d359aa18e68c4981781c",
                              "parcelid": "0234513034000",
                              "alternate_parcel_number": null,
                              "statefp": "08",
                              "geoid": "08031",
                              "countyname": "Denver",
                              "updated": "2026-04-21",
                              "parceladdr": "1801 CALIFORNIA ST STE 100",
                              "parcelcity": "DENVER",
                              "situs_state": null,
                              "situs_zip": "80202",
                              "municipality": null,
                              "subdivision": null,
                              "legal_description": "EAST DENVER B142 DIF RCP #26667 RCD 9/25/86 IMPS ONLY",
                              "longitude": -104.98982632411376,
                              "latitude": 39.74767825,
                              "taxacres": null,
                              "land_use_code": null,
                              "usedesc": "COMMERCIAL-OFFICE",
                              "zoning_code": "CBD",
                              "zoning_description": null,
                              "yearbuilt": null,
                              "bldgsqft": null,
                              "living_area_sqft": null,
                              "building_count": null,
                              "totalvalue": null,
                              "land_value_usd": null,
                              "improvement_value_usd": null,
                              "assessed_value_usd": 0,
                              "market_value_usd": 256000000,
                              "taxable_value_usd": null,
                              "tax_year": null,
                              "tax_amount_usd": null,
                              "saledate": "2019-07-31",
                              "saleamt": 10,
                              "last_sale_document": null
                            },
                            "as_of": "2026-11-16"
                          }
                        ]
                      },
                      "near": {
                        "addresses": {
                          "radius_km": 0.5,
                          "limit": 2,
                          "truncated": true,
                          "items": [
                            {
                              "id": "addresses:08031-0c7e78280dc6ab811791",
                              "name": "1801 CALIFORNIA ST, DENVER, CO 80202",
                              "props": {
                                "formatted_address": "1801 CALIFORNIA ST, DENVER, CO 80202",
                                "address": "1801 CALIFORNIA ST",
                                "city": "DENVER",
                                "state": "CO",
                                "postcode": "80202",
                                "county": "Denver",
                                "parcel_id": "parcel:08031-0c7e78280dc6ab811791"
                              },
                              "as_of": "2026-11-16",
                              "distance_km": 0.034
                            },
                            {
                              "id": "addresses:08031-4bd395bb660eded72721",
                              "name": "1801 CALIFORNIA ST MASTR, DENVER, CO 80202",
                              "props": {
                                "formatted_address": "1801 CALIFORNIA ST MASTR, DENVER, CO 80202",
                                "address": "1801 CALIFORNIA ST MASTR",
                                "city": "DENVER",
                                "state": "CO",
                                "postcode": "80202",
                                "county": "Denver",
                                "parcel_id": "parcel:08031-4bd395bb660eded72721"
                              },
                              "as_of": "2026-11-16",
                              "distance_km": 0.034
                            }
                          ]
                        }
                      },
                      "coverage": {},
                      "credits": {
                        "charged": 2,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "5257dbfb-e2b5-4ead-b7b4-9c71448904c0"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "description": "- `owner_data_unavailable`: The `owner` field group is not available for your organization. Not charged.\n- Your credential lacks the required scope (`api:read` for `/v1`, `mcp:read` for MCP).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "- `address_not_found`: No address matched. Refunded.\n- `use_v1`: Unknown route. Paths under `/api` are not part of the public API; use `/v1`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "422": {
            "description": "- `invalid_layer`: An unknown layer, a layer under a relation it does not support (see [layers](https://korzy.co/docs/layers/)), a `radius_km` or `limit` above the layer's maximum, `kinds` on a layer without kinds or naming a kind the layer does not have, or `parcel` options without `parcel` in `at`. Not charged.\n- `invalid_request`: The body is missing a field, has an unknown one or a value out of range. `detail` says which.\n- `invalid_json`: A POST body is not a JSON object. Not charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "x-korzy-credits": {
          "min": 1,
          "max": 56,
          "base": 1,
          "layers": {
            "parcel": 0,
            "addresses": 1,
            "state": 1,
            "county": 1,
            "county_subdivision": 1,
            "place": 1,
            "metro_area": 1,
            "tribal_area": 1,
            "congressional_district": 1,
            "state_legislative_upper": 1,
            "state_legislative_lower": 1,
            "school_district": 1,
            "zcta": 1,
            "tract": 1,
            "block_group": 1,
            "zoning": 1,
            "flood_zone": 1,
            "wetlands": 1,
            "protected_areas": 1,
            "critical_habitat": 1,
            "air_quality_areas": 1,
            "superfund_sites": 1,
            "brownfields": 1,
            "grid_capacity": 1,
            "transmission_lines": 1,
            "power_plants": 1,
            "substations": 1,
            "gas_pipelines": 1,
            "petroleum_pipelines": 1,
            "petroleum_facilities": 1,
            "natural_gas_facilities": 1,
            "coal_mines": 1,
            "water_service": 1,
            "sewer_service": 1,
            "treatment_plants": 1,
            "fiber_routes": 1,
            "roads": 1,
            "freight_corridors": 1,
            "bridges": 1,
            "rail_lines": 1,
            "rail_crossings": 1,
            "freight_terminals": 1,
            "ports": 1,
            "waterways": 1,
            "navigation_facilities": 1,
            "freight_regions": 1,
            "warehouses": 1,
            "datacenters": 1
          },
          "includes": {
            "shape": 0,
            "terrain": 2
          },
          "owner_multiplier": 2
        }
      }
    },
    "/v1/batch": {
      "post": {
        "operationId": "postBatch",
        "tags": [
          "Batch"
        ],
        "summary": "One lookup per item, with the same layers for every item",
        "description": "One lookup per item, with the same layers for every item. Each item is an address, a point or a parcel's `korzy_id`.\n\nA valid request always returns 200. Items that fail have `error` and are refunded, as are layers in an item's `coverage` as `not_covered` or `unavailable`.\n\nCost: The sum of its lookups (up to 25 items).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchInput"
              },
              "examples": {
                "batch": {
                  "summary": "Three kinds of item, with land and zoning",
                  "value": {
                    "items": [
                      {
                        "address": "714 Mordecai Towne Pl, Raleigh, NC"
                      },
                      {
                        "korzy_id": "37183-676db8ae68362b7a3685"
                      },
                      {
                        "point": {
                          "longitude": -78.627,
                          "latitude": 35.7999
                        }
                      }
                    ],
                    "at": [
                      "parcel",
                      "zoning"
                    ],
                    "parcel": {
                      "fields": [
                        "identity",
                        "address",
                        "land"
                      ]
                    }
                  }
                },
                "batch_owner": {
                  "summary": "Owner and sale fields",
                  "value": {
                    "items": [
                      {
                        "address": "1600 Glenarm Pl, Denver, CO"
                      }
                    ],
                    "parcel": {
                      "fields": [
                        "identity",
                        "sale",
                        "owner"
                      ]
                    }
                  }
                }
              }
            }
          },
          "required": true,
          "description": "- `items` (required): 1–25 items, each `{\"address\": …}`, `{\"point\": {\"longitude\": …, \"latitude\": …}}` or `{\"korzy_id\": …}`. A `korzy_id` item answers for that parcel, at its point: `at.parcel` holds it alone, and the layers answered for a parcel's shape are answered for its.\n- `at`: Layers whose features contain the point, or on a parcel lookup lie on the parcel, as a list of layer IDs, or `\"*\"` for every layer that supports `at` (25 layers). Default `[\"parcel\"]`. See [layers](https://korzy.co/docs/layers/).\n- `near`: Layers to search around the point: an object keyed by layer ID, each `{\"radius_km\": …, \"limit\": …}`; `{}` uses the layer's defaults. 28 layers support `near`; each has its own default and maximum radius and limit. A layer with kinds (`petroleum_facilities`, `natural_gas_facilities`) also takes `kinds`, a list of its kinds, to search only those: `{\"natural_gas_facilities\": {\"kinds\": [\"lng_terminal\"], \"limit\": 3}}` is the 3 nearest LNG terminals. The price is the same with or without `kinds`. Default `{}`.\n- `parcel`: Parcel options, with `parcel` in `at`: `fields`, the [field groups](https://korzy.co/docs/reference/#parcel-fields) to return (default `identity`, `address`, `location`, `land`, `building`, `value`, `sale`; adding `owner` makes the lookup's base cost 2 credits), and `include`: `shape` (free) and `terrain` (+2 credits)."
        },
        "responses": {
          "200": {
            "description": "One lookup per item, with the same layers for every item",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "results",
                    "credits",
                    "request_id"
                  ],
                  "properties": {
                    "results": {
                      "type": "array",
                      "description": "One entry per item, in order: the [lookup response](https://korzy.co/docs/reference/#lookup) for it (`point`, `address`, `at`, `near`, `coverage`, `credits`), or `error` with `code` (`not_found`, `invalid` or `unavailable`) and `detail`."
                    },
                    "credits": {
                      "type": "object",
                      "description": "`charged` and `refunded`: what this request spent and what was given back (layers in `coverage` as `not_covered` or `unavailable`, and failed items)."
                    },
                    "request_id": {
                      "type": "string",
                      "description": "ID of this request. Include it in support requests."
                    }
                  }
                },
                "examples": {
                  "batch": {
                    "summary": "Three kinds of item, with land and zoning (abbreviated)",
                    "value": {
                      "results": [
                        {
                          "point": {
                            "longitude": -78.62700116632315,
                            "latitude": 35.79988145
                          },
                          "address": {
                            "input": "714 Mordecai Towne Pl, Raleigh, NC",
                            "matched": "714 MORDECAI TOWNE PL, RALEIGH, NC 27604",
                            "match": "exact",
                            "candidates": [
                              {
                                "address": "714 MORDECAI TOWNE PL, RALEIGH, NC 27604",
                                "point": {
                                  "longitude": -78.62700116632315,
                                  "latitude": 35.79988145
                                },
                                "score": 1
                              }
                            ]
                          },
                          "at": {
                            "parcel": [
                              {
                                "id": "parcel:37183-676db8ae68362b7a3685",
                                "name": "714 MORDECAI TOWNE PL",
                                "props": {
                                  "korzy_id": "37183-676db8ae68362b7a3685",
                                  "parcelid": "1714066205",
                                  "alternate_parcel_number": "0364254",
                                  "statefp": "37",
                                  "geoid": "37183",
                                  "countyname": "Wake",
                                  "updated": "2026-11-13",
                                  "parceladdr": "714 MORDECAI TOWNE PL",
                                  "parcelcity": "RALEIGH",
                                  "situs_state": "NC",
                                  "situs_zip": "27604",
                                  "municipality": null,
                                  "subdivision": null,
                                  "legal_description": "LO4 MORDECAI TOWNS AT COURTLAND DRIVE BM2007 -01069",
                                  "taxacres": 0.03,
                                  "land_use_code": "RHS",
                                  "usedesc": "R",
                                  "zoning_code": "R-10-CU",
                                  "zoning_description": "Residential-10"
                                },
                                "as_of": "2026-11-16"
                              }
                            ],
                            "zoning": [
                              {
                                "id": "zoning:zoning_nc_city_of_raleigh_21633455:1110850",
                                "name": "R-10-CU",
                                "props": {
                                  "name": "Residential-10",
                                  "code": "R-10-CU",
                                  "description": "Residential-10",
                                  "state": "NC",
                                  "geoid": null,
                                  "source_release": "b3c48727584c73d29bf2882b8b2c8025ca1f1d9bbc68f7abf619e3c3b98c6ff5",
                                  "source_date": "2026-11-13",
                                  "area_m2": 4939.9445380526595
                                },
                                "as_of": "2026-11-13",
                                "at_point": true,
                                "overlap": {
                                  "acres": 0.033,
                                  "share": 1
                                }
                              }
                            ]
                          },
                          "at_basis": {
                            "zoning": {
                              "basis": "parcel",
                              "count": 1,
                              "overlap_acres": 0.033
                            }
                          },
                          "near": {},
                          "coverage": {}
                        },
                        {
                          "point": {
                            "longitude": -78.62700116632315,
                            "latitude": 35.79988145
                          },
                          "at": {
                            "parcel": [
                              {
                                "id": "parcel:37183-676db8ae68362b7a3685",
                                "name": "714 MORDECAI TOWNE PL",
                                "props": {
                                  "korzy_id": "37183-676db8ae68362b7a3685",
                                  "parcelid": "1714066205",
                                  "alternate_parcel_number": "0364254",
                                  "statefp": "37",
                                  "geoid": "37183",
                                  "countyname": "Wake",
                                  "updated": "2026-11-13",
                                  "parceladdr": "714 MORDECAI TOWNE PL",
                                  "parcelcity": "RALEIGH",
                                  "situs_state": "NC",
                                  "situs_zip": "27604",
                                  "municipality": null,
                                  "subdivision": null,
                                  "legal_description": "LO4 MORDECAI TOWNS AT COURTLAND DRIVE BM2007 -01069",
                                  "taxacres": 0.03,
                                  "land_use_code": "RHS",
                                  "usedesc": "R",
                                  "zoning_code": "R-10-CU",
                                  "zoning_description": "Residential-10"
                                },
                                "as_of": "2026-11-16"
                              }
                            ],
                            "zoning": [
                              {
                                "id": "zoning:zoning_nc_city_of_raleigh_21633455:1110850",
                                "name": "R-10-CU",
                                "props": {
                                  "name": "Residential-10",
                                  "code": "R-10-CU",
                                  "description": "Residential-10",
                                  "state": "NC",
                                  "geoid": null,
                                  "source_release": "b3c48727584c73d29bf2882b8b2c8025ca1f1d9bbc68f7abf619e3c3b98c6ff5",
                                  "source_date": "2026-11-13",
                                  "area_m2": 4939.9445380526595
                                },
                                "as_of": "2026-11-13"
                              }
                            ]
                          },
                          "at_basis": {
                            "zoning": {
                              "basis": "point",
                              "reason": "parcel_late"
                            }
                          },
                          "near": {},
                          "coverage": {}
                        },
                        {
                          "point": {
                            "longitude": -78.627,
                            "latitude": 35.7999
                          },
                          "at": {
                            "parcel": [
                              {
                                "id": "parcel:37183-676db8ae68362b7a3685",
                                "name": "714 MORDECAI TOWNE PL",
                                "props": {
                                  "korzy_id": "37183-676db8ae68362b7a3685",
                                  "parcelid": "1714066205",
                                  "alternate_parcel_number": "0364254",
                                  "statefp": "37",
                                  "geoid": "37183",
                                  "countyname": "Wake",
                                  "updated": "2026-11-13",
                                  "parceladdr": "714 MORDECAI TOWNE PL",
                                  "parcelcity": "RALEIGH",
                                  "situs_state": "NC",
                                  "situs_zip": "27604",
                                  "municipality": null,
                                  "subdivision": null,
                                  "legal_description": "LO4 MORDECAI TOWNS AT COURTLAND DRIVE BM2007 -01069",
                                  "taxacres": 0.03,
                                  "land_use_code": "RHS",
                                  "usedesc": "R",
                                  "zoning_code": "R-10-CU",
                                  "zoning_description": "Residential-10"
                                },
                                "as_of": "2026-11-16"
                              }
                            ],
                            "zoning": [
                              {
                                "id": "zoning:zoning_nc_city_of_raleigh_21633455:1110850",
                                "name": "R-10-CU",
                                "props": {
                                  "name": "Residential-10",
                                  "code": "R-10-CU",
                                  "description": "Residential-10",
                                  "state": "NC",
                                  "geoid": null,
                                  "source_release": "b3c48727584c73d29bf2882b8b2c8025ca1f1d9bbc68f7abf619e3c3b98c6ff5",
                                  "source_date": "2026-11-13",
                                  "area_m2": 4939.9445380526595
                                },
                                "as_of": "2026-11-13",
                                "at_point": true,
                                "overlap": {
                                  "acres": 0.033,
                                  "share": 1
                                }
                              }
                            ]
                          },
                          "at_basis": {
                            "zoning": {
                              "basis": "parcel",
                              "count": 1,
                              "overlap_acres": 0.033
                            }
                          },
                          "near": {},
                          "coverage": {}
                        }
                      ],
                      "credits": {
                        "charged": 6,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "44a3013f-b0e3-44ac-86e1-1577d25c3792"
                    }
                  },
                  "batch_owner": {
                    "summary": "Owner and sale fields (abbreviated)",
                    "value": {
                      "results": [
                        {
                          "point": {
                            "longitude": -104.98947115039978,
                            "latitude": 39.744195649999995
                          },
                          "address": {
                            "input": "1600 Glenarm Pl, Denver, CO",
                            "matched": "1600 GLENARM PL, DENVER, CO 80202",
                            "match": "exact",
                            "candidates": [
                              {
                                "address": "1600 GLENARM PL, DENVER, CO 80202",
                                "point": {
                                  "longitude": -104.98947115039978,
                                  "latitude": 39.744195649999995
                                },
                                "score": 1
                              },
                              {
                                "address": "1600 GLENARM PL COMM, DENVER, CO 80202",
                                "point": {
                                  "longitude": -104.98980024999999,
                                  "latitude": 39.743939350000005
                                },
                                "score": 0.95
                              },
                              {
                                "address": "1600 GLENARM PL RESD, DENVER, CO 80202",
                                "point": {
                                  "longitude": -104.98980024999999,
                                  "latitude": 39.743939350000005
                                },
                                "score": 0.95
                              }
                            ]
                          },
                          "at": {
                            "parcel": [
                              {
                                "id": "parcel:08031-00608646b37458fef5b5",
                                "name": "1628 GLENARM PL",
                                "props": {
                                  "korzy_id": "08031-00608646b37458fef5b5",
                                  "parcelid": "0234610034000",
                                  "alternate_parcel_number": null,
                                  "statefp": "08",
                                  "geoid": "08031",
                                  "countyname": "Denver",
                                  "updated": "2026-04-21",
                                  "saledate": "2018-07-11",
                                  "saleamt": 131000000,
                                  "last_sale_document": null,
                                  "owner_name": "EXAMPLE HOLDINGS LLC",
                                  "owner_mailing_address": "100 EXAMPLE ST, SAMPLE CITY, ST 00000"
                                },
                                "as_of": "2026-11-16"
                              },
                              {
                                "id": "parcel:08031-38ea02a85c11fd253b1c",
                                "name": "1600 GLENARM PL",
                                "props": {
                                  "korzy_id": "08031-38ea02a85c11fd253b1c",
                                  "parcelid": "0234610035000",
                                  "alternate_parcel_number": null,
                                  "statefp": "08",
                                  "geoid": "08031",
                                  "countyname": "Denver",
                                  "updated": "2026-04-21",
                                  "saledate": "2018-07-11",
                                  "saleamt": 131000000,
                                  "last_sale_document": null,
                                  "owner_name": "EXAMPLE HOLDINGS LLC",
                                  "owner_mailing_address": "100 EXAMPLE ST, SAMPLE CITY, ST 00000"
                                },
                                "as_of": "2026-11-16"
                              },
                              {
                                "id": "parcel:08031-5b4cf0a0a15d0ff3a944",
                                "name": "1628 GLENARM PL MASTR",
                                "props": {
                                  "korzy_id": "08031-5b4cf0a0a15d0ff3a944",
                                  "parcelid": "0234610034998",
                                  "alternate_parcel_number": null,
                                  "statefp": "08",
                                  "geoid": "08031",
                                  "countyname": "Denver",
                                  "updated": "2026-04-21",
                                  "saledate": "2026-06-15",
                                  "saleamt": 0,
                                  "last_sale_document": null
                                },
                                "as_of": "2026-11-16"
                              }
                            ]
                          },
                          "near": {},
                          "coverage": {}
                        }
                      ],
                      "credits": {
                        "charged": 2,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "103d73b2-f5fe-4957-9794-59dc26d915b3"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "description": "- `owner_data_unavailable`: The `owner` field group is not available for your organization. Not charged.\n- Your credential lacks the required scope (`api:read` for `/v1`, `mcp:read` for MCP).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "422": {
            "description": "- `invalid_layer`: An unknown layer, a layer under a relation it does not support (see [layers](https://korzy.co/docs/layers/)), a `radius_km` or `limit` above the layer's maximum, `kinds` on a layer without kinds or naming a kind the layer does not have, or `parcel` options without `parcel` in `at`. Not charged.\n- `invalid_request`: The body is missing a field, has an unknown one or a value out of range. `detail` says which.\n- `invalid_json`: A POST body is not a JSON object. Not charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "x-korzy-credits": {
          "min": 1,
          "max": 1400,
          "base": 1,
          "layers": {
            "parcel": 0,
            "addresses": 1,
            "state": 1,
            "county": 1,
            "county_subdivision": 1,
            "place": 1,
            "metro_area": 1,
            "tribal_area": 1,
            "congressional_district": 1,
            "state_legislative_upper": 1,
            "state_legislative_lower": 1,
            "school_district": 1,
            "zcta": 1,
            "tract": 1,
            "block_group": 1,
            "zoning": 1,
            "flood_zone": 1,
            "wetlands": 1,
            "protected_areas": 1,
            "critical_habitat": 1,
            "air_quality_areas": 1,
            "superfund_sites": 1,
            "brownfields": 1,
            "grid_capacity": 1,
            "transmission_lines": 1,
            "power_plants": 1,
            "substations": 1,
            "gas_pipelines": 1,
            "petroleum_pipelines": 1,
            "petroleum_facilities": 1,
            "natural_gas_facilities": 1,
            "coal_mines": 1,
            "water_service": 1,
            "sewer_service": 1,
            "treatment_plants": 1,
            "fiber_routes": 1,
            "roads": 1,
            "freight_corridors": 1,
            "bridges": 1,
            "rail_lines": 1,
            "rail_crossings": 1,
            "freight_terminals": 1,
            "ports": 1,
            "waterways": 1,
            "navigation_facilities": 1,
            "freight_regions": 1,
            "warehouses": 1,
            "datacenters": 1
          },
          "includes": {
            "shape": 0,
            "terrain": 2
          },
          "owner_multiplier": 2,
          "max_items": 25
        }
      }
    },
    "/v1/records/{id}": {
      "get": {
        "operationId": "getRecordsId",
        "tags": [
          "Records"
        ],
        "summary": "One feature by ID, with its full fields and geometry",
        "description": "One feature by ID, with its full fields and geometry.\n\nCost: 1 credit.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "An item `id` from a lookup or batch response, `<layer>:<record id>` such as `parcel:37183-676db8ae68362b7a3685`, URL-encoded.",
            "schema": {
              "type": "string"
            },
            "examples": {
              "record_parcel": {
                "summary": "A parcel",
                "value": "parcel:37183-676db8ae68362b7a3685"
              },
              "record_plant": {
                "summary": "A power plant",
                "value": "power_plants:57695"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One feature by ID, with its full fields and geometry",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "name",
                    "props",
                    "geometry",
                    "as_of",
                    "credits",
                    "request_id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The ID you asked for."
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The feature's name, or a parcel's situs address."
                    },
                    "props": {
                      "type": "object",
                      "description": "Every field of the feature. Parcel records never include owner fields."
                    },
                    "geometry": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "description": "GeoJSON geometry in WGS 84 longitude and latitude."
                    },
                    "as_of": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Date of the data."
                    },
                    "credits": {
                      "type": "object",
                      "description": "`charged` and `refunded`: what this request spent and what was given back (layers in `coverage` as `not_covered` or `unavailable`, and failed items)."
                    },
                    "request_id": {
                      "type": "string",
                      "description": "ID of this request. Include it in support requests."
                    }
                  }
                },
                "examples": {
                  "record_parcel": {
                    "summary": "A parcel (abbreviated)",
                    "value": {
                      "id": "parcel:37183-676db8ae68362b7a3685",
                      "layer": "parcel",
                      "name": "714 MORDECAI TOWNE PL",
                      "props": {
                        "korzy_id": "37183-676db8ae68362b7a3685",
                        "parcelid": "1714066205",
                        "alternate_parcel_number": "0364254",
                        "statefp": "37",
                        "geoid": "37183",
                        "countyname": "Wake",
                        "updated": "2026-11-13",
                        "parceladdr": "714 MORDECAI TOWNE PL",
                        "parcelcity": "RALEIGH",
                        "situs_state": "NC",
                        "situs_zip": "27604",
                        "municipality": null,
                        "subdivision": null,
                        "legal_description": "LO4 MORDECAI TOWNS AT COURTLAND DRIVE BM2007 -01069",
                        "longitude": -78.62700116632315,
                        "latitude": 35.79988145,
                        "taxacres": 0.03,
                        "land_use_code": "RHS",
                        "usedesc": "R",
                        "zoning_code": "R-10-CU",
                        "zoning_description": "Residential-10",
                        "yearbuilt": 2009,
                        "bldgsqft": 2393,
                        "living_area_sqft": null,
                        "building_count": 1,
                        "totalvalue": 662832,
                        "land_value_usd": 135000,
                        "improvement_value_usd": 527832,
                        "assessed_value_usd": null,
                        "market_value_usd": null,
                        "taxable_value_usd": null,
                        "tax_year": null,
                        "tax_amount_usd": null,
                        "saledate": "2025-07-10",
                        "saleamt": 740000,
                        "last_sale_document": "Deed Book/Page 019954/02049"
                      },
                      "geometry": {
                        "type": "Polygon",
                        "coordinates": [
                          [
                            [
                              -78.6271058,
                              35.7998666
                            ],
                            [
                              -78.6270608,
                              35.7998099
                            ],
                            [
                              -78.6268965,
                              35.7998963
                            ],
                            [
                              -78.6269415,
                              35.7999531
                            ],
                            [
                              -78.6271058,
                              35.7998666
                            ]
                          ]
                        ]
                      },
                      "as_of": "2026-11-16",
                      "credits": {
                        "charged": 1,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "c4d84a4e-0084-4d59-ac57-b79e029ca28e"
                    }
                  },
                  "record_plant": {
                    "summary": "A power plant (abbreviated)",
                    "value": {
                      "id": "power_plants:57695",
                      "name": "Topaz Solar Farm",
                      "props": {
                        "plant_name": "Topaz Solar Farm",
                        "state": "CA",
                        "site_status": "operating",
                        "primary_fuel": "solar",
                        "nameplate_mw": 585.9000000000001,
                        "proposed_nameplate_mw": null,
                        "generator_count": 5,
                        "longitude": -120.068611,
                        "latitude": 35.405556,
                        "report_year": 2025
                      },
                      "as_of": "2025",
                      "layer": "power_plants",
                      "geometry": {
                        "type": "Point",
                        "coordinates": [
                          -120.068611,
                          35.405556
                        ]
                      },
                      "credits": {
                        "charged": 1,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "2df6baec-35f7-4ccb-bd46-cdb220d25f5a"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "description": "- `record_not_found`: No record has this ID. Refunded.\n- `use_v1`: Unknown route. Paths under `/api` are not part of the public API; use `/v1`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "422": {
            "description": "- `invalid_id`: The ID is not `<layer>:<record id>` for a known layer. Refunded.\n- `invalid_json`: A POST body is not a JSON object. Not charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/Error429"
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "x-korzy-credits": {
          "min": 1,
          "max": 1
        }
      }
    },
    "/v1/ask": {
      "post": {
        "operationId": "postAsk",
        "tags": [
          "Ask"
        ],
        "summary": "Answer a question about an address or point, with citations to the records used",
        "description": "Answer a question about an address or point, with citations to the records used.\n\nSend the question with exactly one location: `address`, or `point` (`longitude` and `latitude`).\n\nCost: 10 credits.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "point": {
                    "properties": {
                      "longitude": {
                        "type": "number",
                        "maximum": 180.0,
                        "minimum": -180.0
                      },
                      "latitude": {
                        "type": "number",
                        "maximum": 85.0,
                        "minimum": -85.0
                      }
                    },
                    "additionalProperties": false,
                    "type": "object",
                    "required": [
                      "longitude",
                      "latitude"
                    ]
                  },
                  "address": {
                    "type": "string",
                    "maxLength": 160,
                    "minLength": 3
                  },
                  "question": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 3
                  }
                },
                "additionalProperties": false,
                "type": "object",
                "required": [
                  "question"
                ]
              },
              "examples": {
                "ask": {
                  "summary": "Example request",
                  "value": {
                    "question": "Does this property have public water and sewer, and are there cleanup sites nearby?",
                    "address": "2304 Hillsborough St, Raleigh, NC"
                  }
                }
              }
            }
          },
          "required": true,
          "description": "- `question` (required): The question, 3–1,000 characters.\n- `address`: A street address, 3–160 characters, such as `714 Mordecai Towne Pl, Raleigh, NC`. Including the state gives the most precise match.\n- `point`: `longitude` (−180 to 180) and `latitude` (−85 to 85). Send `point` or `address`, not both."
        },
        "responses": {
          "200": {
            "description": "Answer a question about an address or point, with citations to the records used",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "answer",
                    "citations",
                    "model",
                    "usage",
                    "credits",
                    "request_id"
                  ],
                  "properties": {
                    "answer": {
                      "type": "string",
                      "description": "The answer, with inline citations such as `[c1]`."
                    },
                    "citations": {
                      "type": "array",
                      "description": "Each citation: `ref` (`c1`), `id` of the record, and `field`, `source` and `as_of` where known."
                    },
                    "model": {
                      "type": "string",
                      "description": "The model that wrote the answer."
                    },
                    "usage": {
                      "type": "object",
                      "description": "Token counts, model calls and data lookups used."
                    },
                    "credits": {
                      "type": "integer",
                      "description": "Credits this question spent, as a number (unlike other routes, not a `charged`/`refunded` object)."
                    },
                    "request_id": {
                      "type": "string",
                      "description": "ID of this request. Include it in support requests."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "description": "- `address_not_found`: No exact match for the address. Refunded.\n- `use_v1`: Unknown route. Paths under `/api` are not part of the public API; use `/v1`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "422": {
            "description": "- `invalid_request`: The body is missing a field, has an unknown one or a value out of range. `detail` says which.\n- `invalid_json`: A POST body is not a JSON object. Not charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "- `ask_rate_limited`: Your organization reached its Ask limit for the minute or day. Wait for `Retry-After`.\n- Rate limit or monthly credits reached. Wait for `Retry-After`; monthly exhaustion also includes `resets_at`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "description": "- `ask_location_unavailable`: The location was found but could not be loaded for the answer. Refunded; retry.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "- `ask_capacity`: Ask is at capacity for today. Refunded; try again later.\n- `ask_unavailable`: Ask is temporarily unavailable. Refunded.\n- Temporarily unavailable. Refunded; retry after `Retry-After` with backoff.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          }
        },
        "x-korzy-credits": {
          "min": 10,
          "max": 10
        }
      }
    },
    "/v1/ask/stream": {
      "post": {
        "operationId": "postAskStream",
        "tags": [
          "Ask"
        ],
        "summary": "The same answer as server-sent events, as it is written",
        "description": "The same answer as server-sent events, as it is written.\n\nThe response is `text/event-stream`. Each event is `event: <name>` and one line of JSON `data`; see [stream events](https://korzy.co/docs/reference/#ask-events).\n\nIf the stream ends without a `done` event (an `error`, a dropped connection or a cancel), the request is refunded.\n\nCost: 10 credits.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "properties": {
                  "point": {
                    "properties": {
                      "longitude": {
                        "type": "number",
                        "maximum": 180.0,
                        "minimum": -180.0
                      },
                      "latitude": {
                        "type": "number",
                        "maximum": 85.0,
                        "minimum": -85.0
                      }
                    },
                    "additionalProperties": false,
                    "type": "object",
                    "required": [
                      "longitude",
                      "latitude"
                    ]
                  },
                  "address": {
                    "type": "string",
                    "maxLength": 160,
                    "minLength": 3
                  },
                  "question": {
                    "type": "string",
                    "maxLength": 1000,
                    "minLength": 3
                  }
                },
                "additionalProperties": false,
                "type": "object",
                "required": [
                  "question"
                ]
              },
              "examples": {
                "ask_stream": {
                  "summary": "Example request",
                  "value": {
                    "question": "Does this property have public water and sewer, and are there cleanup sites nearby?",
                    "address": "2304 Hillsborough St, Raleigh, NC"
                  }
                }
              }
            }
          },
          "required": true,
          "description": "- `question` (required): The question, 3–1,000 characters.\n- `address`: A street address, 3–160 characters, such as `714 Mordecai Towne Pl, Raleigh, NC`. Including the state gives the most precise match.\n- `point`: `longitude` (−180 to 180) and `latitude` (−85 to 85). Send `point` or `address`, not both."
        },
        "responses": {
          "200": {
            "description": "The same answer as server-sent events, as it is written. Server-sent events, each `event: <name>` with one line of JSON `data`:\n\n- `start`: `request_id`, `model`.\n- `step`: A data lookup the answer made: `step`, `tool`, `arguments`, `status` (`ok` or `error`) and `ms`.\n- `delta`: `text`: the next piece of the answer.\n- `done`: The same object `/v1/ask` returns. Credits are kept only when `done` arrives.\n- `error`: `code` and `detail`; the stream then ends and the request is refunded.",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "description": "- `address_not_found`: No exact match for the address. Refunded.\n- `use_v1`: Unknown route. Paths under `/api` are not part of the public API; use `/v1`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "422": {
            "description": "- `invalid_request`: The body is missing a field, has an unknown one or a value out of range. `detail` says which.\n- `invalid_json`: A POST body is not a JSON object. Not charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "- `ask_rate_limited`: Your organization reached its Ask limit for the minute or day.\n- Rate limit or monthly credits reached. Wait for `Retry-After`; monthly exhaustion also includes `resets_at`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "502": {
            "description": "- `ask_location_unavailable`: Sent as an `error` event after `start`: the location could not be loaded. Refunded.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "- `ask_capacity`: Ask is at capacity for today. Refunded; try again later.\n- `ask_unavailable`: Ask is temporarily unavailable. Refunded.\n- Temporarily unavailable. Refunded; retry after `Retry-After` with backoff.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          }
        },
        "x-korzy-credits": {
          "min": 10,
          "max": 10
        }
      }
    },
    "/v1/support": {
      "post": {
        "operationId": "postSupport",
        "tags": [
          "Support"
        ],
        "summary": "Open a support request",
        "description": "Open a support request. We read every one.\n\nCost: Free.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupportInput"
              },
              "examples": {
                "support": {
                  "summary": "Example request",
                  "value": {
                    "type": "feature",
                    "message": "Example request captured for the Korzy API docs; no action needed.",
                    "context": {
                      "endpoint": "/v1/lookup"
                    }
                  }
                }
              }
            }
          },
          "required": true,
          "description": "- `type` (required): `feature`, `data` or `bug`.\n- `message` (required): What happened or what you need, 1–4,000 characters.\n- `context`: Optional: `request_id`, `korzy_id`, `longitude`, `latitude` and `endpoint` the message is about."
        },
        "responses": {
          "201": {
            "description": "Open a support request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "ticket_id",
                    "status",
                    "created_at",
                    "credits",
                    "request_id"
                  ],
                  "properties": {
                    "ticket_id": {
                      "type": "string",
                      "description": "ID of the request."
                    },
                    "status": {
                      "type": "string",
                      "description": "`open`."
                    },
                    "created_at": {
                      "type": "string",
                      "description": "When it was opened (ISO 8601)."
                    },
                    "credits": {
                      "type": "object",
                      "description": "`charged` and `refunded`: what this request spent and what was given back (layers in `coverage` as `not_covered` or `unavailable`, and failed items)."
                    },
                    "request_id": {
                      "type": "string",
                      "description": "ID of this request. Include it in support requests."
                    }
                  }
                },
                "examples": {
                  "support": {
                    "summary": "Production response (abbreviated)",
                    "value": {
                      "ticket_id": "8a728268-88ba-4260-a41a-e6c8c4fd630b",
                      "status": "open",
                      "created_at": "2026-11-19T19:51:17.393Z",
                      "credits": {
                        "charged": 0,
                        "refunded": 0
                      },
                      "credits_url": "/v1/layers#attribution",
                      "request_id": "288bfc76-89f4-4bcb-a919-7a98a3a69311"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Error401"
          },
          "402": {
            "$ref": "#/components/responses/Error402"
          },
          "403": {
            "$ref": "#/components/responses/Error403"
          },
          "404": {
            "$ref": "#/components/responses/Error404"
          },
          "413": {
            "$ref": "#/components/responses/Error413"
          },
          "422": {
            "description": "- `invalid_request`: The body is missing a field, has an unknown one or a value out of range. `detail` says which.\n- `invalid_json`: A POST body is not a JSON object. Not charged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "- `support_rate_limited`: Your organization reached its support limit for the hour or day.\n- Rate limit or monthly credits reached. Wait for `Retry-After`; monthly exhaustion also includes `resets_at`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer",
                  "minimum": 1
                }
              }
            }
          },
          "500": {
            "$ref": "#/components/responses/Error500"
          },
          "503": {
            "$ref": "#/components/responses/Error503"
          }
        },
        "x-korzy-credits": {
          "min": 0,
          "max": 0
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BatchInput": {
        "properties": {
          "at": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "minLength": 1
                },
                "type": "array"
              },
              {
                "type": "string",
                "const": "*"
              }
            ],
            "maxLength": 25,
            "description": "Layers whose features contain the point, or on a parcel lookup lie on the parcel, as a list of layer IDs, or `\"*\"` for every layer that supports `at` (25 layers). Default `[\"parcel\"]`. See [layers](https://korzy.co/docs/layers/)."
          },
          "near": {
            "additionalProperties": {
              "$ref": "#/components/schemas/NearOptions"
            },
            "propertyNames": {
              "maxLength": 60,
              "minLength": 1
            },
            "type": "object",
            "maxProperties": 28,
            "description": "Layers to search around the point: an object keyed by layer ID, each `{\"radius_km\": …, \"limit\": …}`; `{}` uses the layer's defaults. 28 layers support `near`; each has its own default and maximum radius and limit. A layer with kinds (`petroleum_facilities`, `natural_gas_facilities`) also takes `kinds`, a list of its kinds, to search only those: `{\"natural_gas_facilities\": {\"kinds\": [\"lng_terminal\"], \"limit\": 3}}` is the 3 nearest LNG terminals. The price is the same with or without `kinds`. Default `{}`."
          },
          "parcel": {
            "$ref": "#/components/schemas/ParcelOptions",
            "description": "Parcel options, with `parcel` in `at`: `fields`, the [field groups](https://korzy.co/docs/reference/#parcel-fields) to return (default `identity`, `address`, `location`, `land`, `building`, `value`, `sale`; adding `owner` makes the lookup's base cost 2 credits), and `include`: `shape` (free) and `terrain` (+2 credits)."
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/BatchItem"
            },
            "type": "array",
            "maxItems": 25,
            "minItems": 1,
            "description": "1–25 items, each `{\"address\": …}`, `{\"point\": {\"longitude\": …, \"latitude\": …}}` or `{\"korzy_id\": …}`. A `korzy_id` item answers for that parcel, at its point: `at.parcel` holds it alone, and the layers answered for a parcel's shape are answered for its."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "items"
        ]
      },
      "BatchItem": {
        "properties": {
          "korzy_id": {
            "type": "string",
            "maxLength": 200,
            "minLength": 1
          },
          "point": {
            "$ref": "#/components/schemas/Point"
          },
          "address": {
            "type": "string",
            "maxLength": 160,
            "minLength": 3
          }
        },
        "additionalProperties": false,
        "type": "object"
      },
      "Error": {
        "type": "object",
        "required": [
          "detail"
        ],
        "properties": {
          "detail": {
            "description": "What went wrong, as a message."
          },
          "code": {
            "type": "string",
            "description": "Machine-readable reason."
          }
        }
      },
      "LookupInput": {
        "properties": {
          "at": {
            "anyOf": [
              {
                "items": {
                  "type": "string",
                  "maxLength": 60,
                  "minLength": 1
                },
                "type": "array"
              },
              {
                "type": "string",
                "const": "*"
              }
            ],
            "maxLength": 25,
            "description": "Layers whose features contain the point, or on a parcel lookup lie on the parcel, as a list of layer IDs, or `\"*\"` for every layer that supports `at` (25 layers). Default `[\"parcel\"]`. See [layers](https://korzy.co/docs/layers/)."
          },
          "near": {
            "additionalProperties": {
              "$ref": "#/components/schemas/NearOptions"
            },
            "propertyNames": {
              "maxLength": 60,
              "minLength": 1
            },
            "type": "object",
            "maxProperties": 28,
            "description": "Layers to search around the point: an object keyed by layer ID, each `{\"radius_km\": …, \"limit\": …}`; `{}` uses the layer's defaults. 28 layers support `near`; each has its own default and maximum radius and limit. A layer with kinds (`petroleum_facilities`, `natural_gas_facilities`) also takes `kinds`, a list of its kinds, to search only those: `{\"natural_gas_facilities\": {\"kinds\": [\"lng_terminal\"], \"limit\": 3}}` is the 3 nearest LNG terminals. The price is the same with or without `kinds`. Default `{}`."
          },
          "parcel": {
            "$ref": "#/components/schemas/ParcelOptions",
            "description": "Parcel options, with `parcel` in `at`: `fields`, the [field groups](https://korzy.co/docs/reference/#parcel-fields) to return (default `identity`, `address`, `location`, `land`, `building`, `value`, `sale`; adding `owner` makes the lookup's base cost 2 credits), and `include`: `shape` (free) and `terrain` (+2 credits)."
          },
          "point": {
            "$ref": "#/components/schemas/Point",
            "description": "`longitude` (−180 to 180) and `latitude` (−85 to 85). Send `point` or `address`, not both."
          },
          "address": {
            "type": "string",
            "maxLength": 160,
            "minLength": 3,
            "description": "A one-line US address, 3–200 characters, such as `1600 Glenarm Pl, Denver, CO 80202`. Abbreviations, small typos, a unit and a missing city or ZIP are accepted; the state or ZIP narrows the search."
          }
        },
        "additionalProperties": false,
        "type": "object"
      },
      "NearOptions": {
        "properties": {
          "radius_km": {
            "type": "number",
            "exclusiveMinimum": 0.0
          },
          "limit": {
            "type": "integer",
            "minimum": 1.0
          },
          "kinds": {
            "items": {
              "type": "string",
              "maxLength": 40,
              "minLength": 1
            },
            "type": "array",
            "maxItems": 20,
            "minItems": 1,
            "description": "Only for a layer with kinds (listed in `x-korzy-kinds`): the kinds to search, the nearest of these only. Default: every kind.",
            "x-korzy-kinds": {
              "petroleum_facilities": [
                "refinery",
                "terminal"
              ],
              "natural_gas_facilities": [
                "processing_plant",
                "storage_field",
                "lng_terminal",
                "market_hub"
              ]
            }
          }
        },
        "additionalProperties": false,
        "type": "object"
      },
      "ParcelOptions": {
        "properties": {
          "fields": {
            "items": {
              "type": "string",
              "maxLength": 40,
              "minLength": 1
            },
            "type": "array",
            "maxItems": 8,
            "minItems": 1
          },
          "include": {
            "items": {
              "type": "string",
              "enum": [
                "shape",
                "terrain"
              ]
            },
            "type": "array",
            "maxItems": 2
          }
        },
        "additionalProperties": false,
        "type": "object"
      },
      "Point": {
        "properties": {
          "longitude": {
            "type": "number",
            "maximum": 180.0,
            "minimum": -180.0
          },
          "latitude": {
            "type": "number",
            "maximum": 85.0,
            "minimum": -85.0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "longitude",
          "latitude"
        ]
      },
      "SupportContext": {
        "properties": {
          "request_id": {
            "type": "string",
            "maxLength": 100
          },
          "korzy_id": {
            "type": "string",
            "maxLength": 160
          },
          "longitude": {
            "type": "number",
            "maximum": 180.0,
            "minimum": -180.0
          },
          "latitude": {
            "type": "number",
            "maximum": 85.0,
            "minimum": -85.0
          },
          "endpoint": {
            "type": "string",
            "maxLength": 100
          }
        },
        "additionalProperties": false,
        "type": "object"
      },
      "SupportInput": {
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "feature",
              "data",
              "bug"
            ],
            "description": "`feature`, `data` or `bug`."
          },
          "message": {
            "type": "string",
            "maxLength": 4000,
            "minLength": 1,
            "description": "What happened or what you need, 1–4,000 characters."
          },
          "context": {
            "$ref": "#/components/schemas/SupportContext",
            "description": "Optional: `request_id`, `korzy_id`, `longitude`, `latitude` and `endpoint` the message is about."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "type",
          "message"
        ]
      }
    },
    "responses": {
      "Error401": {
        "description": "Missing, malformed, revoked or expired credential.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error402": {
        "description": "`subscription_required`: Your account has no active subscription. Choose a plan on your account page.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error403": {
        "description": "Your credential lacks the required scope (`api:read` for `/v1`, `mcp:read` for MCP).",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error404": {
        "description": "`use_v1`: Unknown route. Paths under `/api` are not part of the public API; use `/v1`.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "error_record_not_found": {
                "summary": "Unknown record",
                "value": {
                  "detail": "No record with this ID",
                  "code": "record_not_found"
                }
              }
            }
          }
        }
      },
      "Error405": {
        "description": "The route doesn’t accept this HTTP method.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error413": {
        "description": "The JSON body is larger than 64 KB.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error422": {
        "description": "`invalid_json`: A POST body is not a JSON object. Not charged.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "examples": {
              "error_invalid_layer": {
                "summary": "Unknown layer",
                "value": {
                  "detail": "at: unknown layer 'flood_zones'; see GET /v1/layers",
                  "code": "invalid_layer"
                }
              }
            }
          }
        }
      },
      "Error429": {
        "description": "Rate limit or monthly credits reached. Wait for `Retry-After`; monthly exhaustion also includes `resets_at`.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Seconds to wait before retrying.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      },
      "Error500": {
        "description": "Something went wrong on our side. Refunded; retry with backoff.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      },
      "Error503": {
        "description": "Temporarily unavailable. Refunded; retry after `Retry-After` with backoff.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Seconds to wait before retrying.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "description": "A Korzy API key from https://app.korzy.co/account, or an OAuth access token from Korzy sign-in. Every route needs `api:read`."
      }
    }
  }
}
