PontoFato · Schema

Raio

CEPs a N metros de um ponto, do mais perto ao mais longe.

Brazilian CEPaddress geocodingIBGE CNEFEGeospatiallatitude/longitudeCNPJReceita FederalBusiness RegistryLocation Intelligenceproximity searchradius searchOpen Government DataAgent-NativeMCPx402 Micropayments

Properties

Name Type Description
centro object `lat`, `lon` e, quando o centro veio de CEP, `cep` formatado.
raio_m integer Raio usado, em metros.
total_pontos integer Endereços CNEFE dentro do raio, somando os CEPs devolvidos.
ceps array Até 300 CEPs, ordenados por distância.
truncado boolean `true` se havia mais de 300 CEPs no raio — diminua o raio.
fonte string Sempre `cnefe-2022`.
_links object `self` e `vizinhanca` com o mesmo centro e raio.
View JSON Schema on GitHub

JSON Schema

pontofato-raio-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pontofato/json-schema/pontofato-raio-schema.json",
  "title": "Raio",
  "description": "CEPs a N metros de um ponto, do mais perto ao mais longe.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pontofato-raio-api-openapi.yml#/components/schemas/Raio",
  "type": "object",
  "properties": {
    "centro": {
      "type": "object",
      "description": "`lat`, `lon` e, quando o centro veio de CEP, `cep` formatado."
    },
    "raio_m": {
      "type": "integer",
      "description": "Raio usado, em metros."
    },
    "total_pontos": {
      "type": "integer",
      "description": "Endereços CNEFE dentro do raio, somando os CEPs devolvidos."
    },
    "ceps": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CepNoRaio"
      },
      "description": "Até 300 CEPs, ordenados por distância."
    },
    "truncado": {
      "type": "boolean",
      "description": "`true` se havia mais de 300 CEPs no raio — diminua o raio."
    },
    "fonte": {
      "type": "string",
      "description": "Sempre `cnefe-2022`."
    },
    "_links": {
      "type": "object",
      "description": "`self` e `vizinhanca` com o mesmo centro e raio."
    }
  },
  "required": [
    "centro",
    "raio_m",
    "total_pontos",
    "ceps",
    "truncado",
    "fonte",
    "_links"
  ],
  "$defs": {
    "CepNoRaio": {
      "type": "object",
      "properties": {
        "cep": {
          "type": "string",
          "description": "CEP formatado `NNNNN-NNN`."
        },
        "cep8": {
          "type": "string",
          "description": "CEP com 8 dígitos, pronto para `/api/empresas` e `/api/cep`."
        },
        "uf": {
          "type": "string",
          "description": "UF do sqlite que respondeu."
        },
        "pontos": {
          "type": "integer",
          "description": "Endereços CNEFE deste CEP dentro do raio."
        },
        "distancia_m": {
          "type": "integer",
          "description": "Distância do centro ao ponto mais perto deste CEP, em metros."
        },
        "lat": {
          "type": "number",
          "description": "Latitude média dos pontos deste CEP no raio."
        },
        "lon": {
          "type": "number",
          "description": "Longitude média dos pontos deste CEP no raio."
        }
      },
      "required": [
        "cep",
        "cep8",
        "uf",
        "pontos",
        "distancia_m",
        "lat",
        "lon"
      ],
      "description": "Um CEP dentro do raio: quantos pontos CNEFE dele caem no círculo e a que distância começa."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pontofato-raio"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.