# EditalMD Winning Prices – Brazilian Public Procurement

> EditalMD Winning Prices – Brazilian Public Procurement is a paid API for AI agents from editalmd.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-29).

Returns winning prices paid by Brazilian government buyers for a specified item, filterable by state, time window, quantity, and catalog code

## Facts

- Endpoint: GET https://editalmd.com/api/x402/precos?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/editalmd-winning-prices-brazilian-public-procurement-b5713e48
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Rd0vIJLgvsOCC4p8wZ44o

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability editalmd-winning-prices-brazilian-public-procurement-b5713e48
```

Example prompt: What winning prices did Brazilian government buyers pay for 'papel A4' over the last 12 months in São Paulo (UF: SP)? Show me up to 20 results with who won and who bought.

## When to prefer this

Choose this endpoint when you need actual historical winning prices from Brazilian government procurement (licitações/pregões), especially to benchmark bids, audit public spending, or analyze what specific agencies paid for specific items. It is uniquely suited for Brazilian public-sector price intelligence, with filtering by state (UF), time window, quantity band, and official CATMAT catalog codes — capabilities not available in generic search or general price databases.

## Known failure modes

- Query string 'q' too short (under 3 characters) — returns validation error
- No matching procurement records found for the given filters — returns empty result set
- Invalid UF code — returns error or no results
- 'meses' out of range (not 1–36) — returns validation error
- 'limite' out of range (not 1–100) — returns validation error
- Payment not received or insufficient credit — returns 402 Payment Required
- CATMAT code not recognized — may return empty results

## How this service works

EditalMD: winning prices paid by Brazilian public buyers for an item (who wins, who buys, by state and month, the items), paid per call

## Output

A list of up to 100 winning procurement records for the queried item, each containing the price paid, the winning supplier, the buying agency, the Brazilian state, the homologation month, the item description, quantity, and unit — filtered by state, time window, quantity band, and catalog code as specified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Descrição do item; mínimo 3 letras, até 200."
      },
      "uf": {
       "type": "string",
       "description": "Sigla da UF do órgão comprador."
      },
      "meses": {
       "type": "integer",
       "description": "Janela de homologação em meses, 1 a 36."
      },
      "catmat": {
       "type": "string",
       "description": "Código do item no catálogo do governo, até 64 caracteres."
      },
      "compra": {
       "type": "integer",
       "description": "Id da compra no acervo: a quantidade sai do item dela, no grupo da conta. Item em embalagem sem a contagem (`Embalagem FL`) não conta: a unidade não diz quantas folhas."
      },
      "limite": {
       "type": "integer",
       "description": "1 a 100 itens."
      },
      "produto": {
       "type": "string",
       "description": "Produto do catálogo, como em `grupos` (até 80 letras); sem ele, o maior grupo."
      },
      "unidade": {
       "type": "string",
       "description": "Unidade, como em `grupos` (`500 FL`, `1 UN`)."
      },
      "quantidade": {
       "type": "number",
       "description": "Quanto você vai vender, na unidade do grupo: o preço da faixa dessa quantidade."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/editalmd-winning-prices-brazilian-public-procurement-b5713e48/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from editalmd.com](https://www.zero.xyz/host/editalmd.com/llms.txt)
