PontoFato Pontos API
The Pontos API from PontoFato — 1 operation(s) for pontos.
The Pontos API from PontoFato — 1 operation(s) for pontos.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/pontofato:pontofato-pontos-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
openapi: 3.2.0
info:
title: PontoFato Pontos API
version: 5b549f5d
description: 'Point and facts of a place in Brazil. Index: GET /api/.'
servers:
- url: https://pontofato.com
tags:
- name: Pontos
paths:
/api/pontos:
get:
operationId: get_api_pontos
summary: Addresses of a map area, one per building, from the center outward, to draw the…
description: 'A box above 0.04° of latitude × 0.08° of longitude (zoom 16 on a full screen) is cut around the center, with `recortada: true`.
Returns: { bbox, recortada, items[{cep,logradouro,numero,complemento,bairro,cidade,uf,lat,lon,ibge,especie,especie_label,tipo_edificacao,tipo_edificacao_codigo,estabelecimento,estabelecimentos,especies,setor,censo,distrito,subdistrito,quadra,face,nv_geo,nv_geo_label,finalidade,indicador_estab,indicador_const,id_cnefe,tipo_logradouro,titulo_logradouro,nome_logradouro,modificador,unidades,complementos,_links,_origem}], total }'
parameters:
- name: bbox
in: query
required: true
schema:
type: string
description: west,south,east,north in decimal degrees (the GeoJSON order).
example: -46.6605,-23.5655,-46.6505,-23.5605
- name: limit
in: query
required: false
schema:
type: integer
description: 1 to 200 (default 100).
example: '100'
responses:
'200':
description: '{ bbox, recortada, items[{cep,logradouro,numero,complemento,bairro,cidade,uf,lat,lon,ibge,especie,especie_label,tipo_edificacao,tipo_edificacao_codigo,estabelecimento,estabelecimentos,especies,setor,censo,distrito,subdistrito,quadra,face,nv_geo,nv_geo_label,finalidade,indicador_estab,indicador_const,id_cnefe,tipo_logradouro,titulo_logradouro,nome_logradouro,modificador,unidades,complementos,_links,_origem}], total }'
content:
application/json:
schema:
$ref: '#/components/schemas/PontosDaArea'
'400':
description: '`bbox` out of format or order, or `limit` out of range.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Pontos
components:
schemas:
EspecieContagem:
type: object
properties:
codigo:
type: string
description: IBGE code of the type (`1`–`8`).
nullable: true
label:
type: string
description: 'Label: private household, education, health…'
nullable: true
n:
type: integer
description: How many units of this type.
required:
- codigo
- label
- n
description: How many units of a type in the segment.
Ponto:
type: object
properties:
cep:
type: string
description: Formatted CEP of the unit or the building.
nullable: true
logradouro:
type: string
description: Street type + name, already joined.
numero:
type: string
description: Number on the street.
nullable: true
complemento:
type: string
description: Address complements, if any.
nullable: true
bairro:
type: string
description: Locality or neighborhood in the register.
cidade:
type: string
description: IBGE municipality.
uf:
type: string
description: Code of the federative unit.
lat:
type: number
description: WGS84 latitude of the point.
nullable: true
lon:
type: number
description: WGS84 longitude of the point.
nullable: true
ibge:
type: string
description: IBGE code of the municipality.
nullable: true
especie:
type: string
description: CNEFE type code (`1`–`8`).
nullable: true
especie_label:
type: string
description: IBGE label of the type.
nullable: true
tipo_edificacao:
type: string
description: Casa, apartamento, vila — `COD_TIPO_ESPECIE`.
nullable: true
tipo_edificacao_codigo:
type: string
description: Code `101`–`104`.
nullable: true
estabelecimento:
type: string
description: Name of the establishment, when the type has one.
nullable: true
estabelecimentos:
type: array
items:
type: string
description: Distinct names in the building (sample).
nullable: true
especies:
type: array
items:
$ref: '#/components/schemas/EspecieContagem'
description: Mix of types at this street+number.
nullable: true
setor:
type: string
description: Census sector.
nullable: true
censo:
allOf:
- $ref: '#/components/schemas/CensoDoSetor'
description: The 2022 Census of the building's sector (only in the CEP lookup); missing when the sector does not match the final grid.
nullable: true
distrito:
type: string
description: IBGE district code.
nullable: true
subdistrito:
type: string
description: IBGE subdistrict code.
nullable: true
quadra:
type: string
description: Number of the block in the sector.
nullable: true
face:
type: string
description: Number of the block face.
nullable: true
nv_geo:
type: string
description: Geocoding level (`1`–`6`).
nullable: true
nv_geo_label:
type: string
description: What the geo level means.
nullable: true
finalidade:
type: string
description: Residential, non-residential, mixed or undetermined.
nullable: true
indicador_estab:
type: string
description: Single or multiple establishments at the address.
nullable: true
indicador_const:
type: string
description: Single or multiple under construction/renovation.
nullable: true
id_cnefe:
type: string
description: '`COD_UNICO_ENDERECO` of the unit (only in the detail).'
nullable: true
tipo_logradouro:
type: string
description: Tipo (RUA, AVENIDA…).
nullable: true
titulo_logradouro:
type: string
description: Title (DOUTOR…), if any.
nullable: true
nome_logradouro:
type: string
description: Street name without the type.
nullable: true
modificador:
type: string
description: Number modifier (SN, KM…).
nullable: true
unidades:
type: integer
description: How many units at this street+number (apartments, rooms).
complementos:
type: integer
description: Distinct complements in the building.
nullable: true
_links:
type: object
description: Absolute `unidades` for the paginated detail.
nullable: true
_origem:
type: string
description: Reference state of the result.
required:
- cep
- logradouro
- numero
- complemento
- bairro
- cidade
- uf
- lat
- lon
- ibge
- especie
- especie_label
- tipo_edificacao
- tipo_edificacao_codigo
- estabelecimento
- estabelecimentos
- especies
- setor
- censo
- distrito
- subdistrito
- quadra
- face
- nv_geo
- nv_geo_label
- finalidade
- indicador_estab
- indicador_const
- id_cnefe
- tipo_logradouro
- titulo_logradouro
- nome_logradouro
- modificador
- unidades
- complementos
- _links
- _origem
description: An address with number, coordinates and available characteristics.
PontosDaArea:
type: object
properties:
bbox:
type: array
items:
type: number
description: 'The box used: west, south, east, north (cut to the limit, if needed).'
recortada:
type: boolean
description: '`true` if the requested box was over the cap and was cut around the center.'
items:
type: array
items:
$ref: '#/components/schemas/Ponto'
description: 'Up to `limit`, from the center outward; without unit (complement): the building.'
total:
type: integer
description: How many came back.
required:
- bbox
- recortada
- items
- total
description: The addresses of a map area, one per building, from the center outward.
CensoDoSetor:
type: object
properties:
setor:
type: string
description: The final sector code (15 digits).
situacao:
type: string
description: '`Urbana` or `Rural`.'
nullable: true
pessoas:
type: integer
description: People in the census tract (empty when confidential).
nullable: true
domicilios:
type: integer
description: Households of the sector, all of them.
nullable: true
ocupados:
type: integer
description: Occupied private households.
nullable: true
mediaMoradores:
type: number
description: Average residents per occupied household.
nullable: true
vagos:
type: integer
description: Vacant permanent private households.
nullable: true
densidade:
type: integer
description: People per km² (the sector area in the Census).
nullable: true
rendaMedia:
type: number
description: Average monthly nominal income of the householder, in reais.
nullable: true
rendaMediana:
type: number
description: Median monthly nominal income of the householder, in reais.
nullable: true
required:
- setor
- situacao
- pessoas
- domicilios
- ocupados
- mediaMoradores
- vagos
- densidade
- rendaMedia
- rendaMediana
description: The census sector of the building in the 2022 Census (IBGE, aggregated per sector).
ProblemDetails:
type: object
description: RFC 9457 Problem Details error response (`application/problem+json`). Includes stable `code` and backward-compatible `error` and `message` fields; route-specific extension fields (such as `accepts`, `allow`, `retry_after`, or `request_id`) may also be present.
required:
- type
- title
- status
- detail
- instance
- code
properties:
type:
type: string
format: uri
description: URI identifying the problem type, linking to `/errors#<code>` on this host.
title:
type: string
description: Short human-readable summary of the problem type.
status:
type: integer
description: HTTP status code generated for this occurrence.
detail:
type: string
description: Human-readable explanation specific to this occurrence.
instance:
type: string
description: Request path where the error occurred (without query parameters).
code:
type: string
description: Stable machine-readable snake_case error code documented at `/errors`.
error:
type: string
description: Backward-compatible alias of `code` (or protocol reason on x402 402 responses).
message:
type: string
description: Backward-compatible alias of `detail`.
additionalProperties: true
securitySchemes:
globalAccount:
type: apiKey
in: cookie
name: __Host-mm-auth
description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
contaChaveApi:
type: http
scheme: bearer
bearerFormat: mmk_…
description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
carteiraAgente:
type: http
scheme: bearer
bearerFormat: mmw_…
description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
url: https://payapi.market/api/pontofato
description: PayAPI Market
x-service-info:
categories:
- geolocation
- addresses
- data
docs:
homepage: https://pontofato.com/
apiReference: https://pontofato.com/developers
llms: https://pontofato.com/llms.txt
errors: https://pontofato.com/errors
status: https://pontofato.com/status
pricing: https://pontofato.com/api/pricing
billing: https://pontofato.com/api/billing