pncp-dev API

pncp-dev API as documented publicly: 4 operations. Contract generated from the documentation by API Evangelist (2026-10-30); not the provider's own document.

Operations 4

GET /_/status GET /_/status #
GET /api/consulta/v1/contratacoes/publicacao GET /api/consulta/v1/contratacoes/publicacao #
GET /api/consulta/v1/orgaos Returns government agencies. #
GET /oauth/device_authorization GET /oauth/device_authorization #

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/pncp-dev:pncp-dev-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

pncp-dev-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: pncp-dev API
  version: '2026-10-30'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-30: 4 operation(s) read from 4 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; pncp-dev has published no machine-readable contract that the
    pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 3
    documentation: 1
    pages-with-code: 4
    pages-read: 4
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-30'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://pncp.dev/docs
  - https://pncp.dev/exemplos
  - https://pncp.dev/status
  - https://pncp.dev/docs/mcp
servers:
- url: https://api.pncp.dev
paths:
  /_/status:
    get:
      operationId: get_status
      tags:
      - API
      summary: GET /_/status
      x-source: https://pncp.dev/docs
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: "fetch(\"https://api.pncp.dev/_/status\", {\n signal: AbortSignal.timeout(5000),\n cache: \"no-store\"\n })"
  /api/consulta/v1/contratacoes/publicacao:
    get:
      operationId: get_api_consulta_v1_contratacoes_publicacao
      tags:
      - Api
      summary: GET /api/consulta/v1/contratacoes/publicacao
      x-source: https://pncp.dev/docs
      parameters:
      - name: codigoModalidadeContratacao
        in: query
        required: false
        schema:
          type: string
      - name: dataFinal
        in: query
        required: false
        schema:
          type: string
      - name: dataInicial
        in: query
        required: false
        schema:
          type: string
      - name: pagina
        in: query
        required: false
        schema:
          type: string
      - name: tamanhoPagina
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl "https://api.pncp.dev/api/consulta/v1/contratacoes/publicacao?dataInicial=20261022&dataFinal=20261028&codigoModalidadeContratacao=6&pagina=1&tamanhoPagina=10"  -H
          "x-api-key: $PNCP_API_KEY" A resposta é o JSON do PNCP, sem nenhuma alteração. Criar chave grátis Ver exemplos rodando Sua chave Toda
          chamada precisa da sua chave. O melhor jeito de mandar é no header x-api-key : header copiar x-api'
  /api/consulta/v1/orgaos:
    get:
      operationId: get_api_consulta_v1_orgaos
      tags:
      - Api
      summary: Returns government agencies.
      x-source: https://pncp.dev/docs
      parameters:
      - name: pagina
        in: query
        required: false
        schema:
          type: integer
      - name: tamanhoPagina
        in: query
        required: false
        schema:
          type: integer
        description: Page size, minimum 10
      - name: x-api-key
        in: header
        required: false
        schema:
          type: string
        description: API key for authentication
      - name: api_key
        in: query
        required: false
        schema:
          type: string
        description: Alternative way to pass API key via URL parameter
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiConsultaV1OrgaosResponse'
      x-evidence:
        kind: documentation
  /oauth/device_authorization:
    get:
      operationId: get_oauth_device_authorization
      tags:
      - Oauth
      summary: GET /oauth/device_authorization
      x-source: https://pncp.dev/docs/mcp
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: curl https://api.pncp.dev/oauth/device_authorization  -d client_id=pncp-cli -d resource=https://api.pncp.dev/mcp Desconecte e
          proteja sua conta Para cortar o acesso, abra Chaves no painel e revogue a chave com o nome do app. Desconectar apenas no app de IA pode
          deixar a chave ativa no pncp.dev. O app recebe os resultados das ferramentas que você autorizar. A consulta get_usage inclui a cota
          e os c
components:
  schemas:
    GetApiConsultaV1OrgaosResponse:
      type: object
      properties:
        x-quota-limit:
          type: integer
          description: Monthly quota limit
        x-quota-remaining:
          type: integer
          description: Remaining quota for the month
        x-quota-reset:
          type: integer
          description: UNIX timestamp when quota resets
        x-pncp-dev:
          type: string
          description: Status of the request (hit, cache, auth, quota, denied, method, waf-blocked, upstream-error)
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
security:
- apiKey: []
tags:
- name: API
- name: Api
- name: Oauth