PontoFato Sugerir API

The Sugerir API from PontoFato — 1 operation(s) for sugerir.

GitHub OpenAPI

Operations 1

GET /api/sugerir Suggestions for a partial CEP or street name, with neighborhood and city #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pontofato:pontofato-sugerir-api"
All apis
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.

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.

OpenAPI Specification

pontofato-sugerir-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PontoFato Sugerir API
  version: 5b549f5d
  description: 'Point and facts of a place in Brazil. Index: GET /api/.'
servers:
- url: https://pontofato.com
tags:
- name: Sugerir
paths:
  /api/sugerir:
    get:
      operationId: sugerir
      summary: Suggestions for a partial CEP or street name, with neighborhood and city
      description: 'Up to eight places. A CEP accepts a prefix of 3 to 8 digits, with an optional hyphen after the fifth. A street uses optional state and city. One address represents each CEP; the full lookup brings the others. CNEFE 2022 reference, which does not certify a current postal CEP.

        Returns: { items[{tipo,cep8,cep,logradouro,bairro,cidade,uf}], incompleto }'
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
        description: Partial CEP or street, from 3 to 160 characters.
        example: '71915'
      - name: uf
        in: query
        required: false
        schema:
          type: string
        description: State code to restrict the street search.
      - name: cidade
        in: query
        required: false
        schema:
          type: string
        description: Municipality to restrict the street search.
      responses:
        '200':
          description: '{ items[{tipo,cep8,cep,logradouro,bairro,cidade,uf}], incompleto }'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SugestoesDeLugares'
        '400':
          description: Term too short or too long, or an invalid CEP prefix.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '503':
          description: Suggestions unavailable.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      tags:
      - Sugerir
components:
  schemas:
    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
    SugestoesDeLugares:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/SugestaoDeLugar'
          description: Up to eight places, without repeating a CEP in the numeric search.
        incompleto:
          type: boolean
          description: There are other candidates; keep typing.
      required:
      - items
      - incompleto
      description: Limited list of suggestions. It does not use a paid lookup.
    SugestaoDeLugar:
      type: object
      properties:
        tipo:
          type: string
          description: '`cep` or `rua`.'
        cep8:
          type: string
          description: Eight digits of the CEP, or empty when missing.
        cep:
          type: string
          description: Formatted postcode, or empty.
        logradouro:
          type: string
          description: Street of the representative address.
        bairro:
          type: string
          description: Bairro cadastrado.
        cidade:
          type: string
          description: Municipality.
        uf:
          type: string
          description: State code.
      required:
      - tipo
      - cep8
      - cep
      - logradouro
      - bairro
      - cidade
      - uf
      description: Place suggested by the CEP or by the street.
  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