EditalMD Ref API

The Ref API from EditalMD — 1 operation(s) for ref.

GitHub OpenAPI

Operations 1

GET /api/ref Search municipality names, activities and other Radar CNPJ reference data #

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/editalmd:editalmd-ref-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

editalmd-ref-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: EditalMD Ref API
  version: 1d751aaf
servers:
- url: https://editalmd.com
tags:
- name: Ref
paths:
  /api/ref:
    get:
      operationId: get_api_ref
      summary: Search municipality names, activities and other Radar CNPJ reference data
      description: 'Returns: { ok, results }'
      parameters:
      - name: tipo
        in: query
        required: true
        schema:
          type: string
        description: municipio, cnae, natureza, qualificacao, pais or motivo.
      - name: q
        in: query
        required: false
        schema:
          type: string
        description: Two to 60 characters. Optional when codes are supplied.
      - name: codigos
        in: query
        required: false
        schema:
          type: string
        description: Up to 50 Receita codes, separated by commas. These are not IBGE codes.
      - name: limit
        in: query
        required: false
        schema:
          type: integer
        description: From 1 to 50 results; default 20.
      responses:
        '200':
          description: '{ ok, results }'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                    description: True when the reference lookup succeeds.
                  results:
                    type: array
                    items:
                      type: object
                    description: References with codigo, descricao and, for municipalities, uf. Use the name and state to filter tenders.
                required:
                - ok
                - results
        '400':
          description: Invalid reference type or search.
        '429':
          description: Origin limit.
        '503':
          description: Reference data unavailable.
      tags:
      - Ref
components:
  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, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
x-service-info:
  categories:
  - public-procurement
  - documents
  - data
  docs:
    homepage: https://editalmd.com/
    apiReference: https://editalmd.com/developers
    llms: https://editalmd.com/llms.txt