Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaPublic RecordsAvailable now

PNCP (Portal Nacional de Contratações Públicas) · Procurement search

pncp-gov-br/procurement/procurement_search

Search public records with PNCP (Portal Nacional de Contratações Públicas) · Procurement search from Alexandria through one Spiral API key. To find Brazilian public tenders, price-registration minutes or contracts on a topic (e.g. school meals, notebooks, AI solutions), optionally in one state or government level or only those still receiving proposals, and get the control number to read one in full. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
query requiredtext—

Keywords matched against the notice object and description, e.g. 'merenda escolar' or 'notebook'.

pagenumber
1 to 500
1

page

sortone of
newest, oldest, relevance
newest

sort

statetext—

Two-letter UF code of the buyer, e.g. SP, RJ, MG. Pattern: ^[A-Za-z]{2}$.

statusone of
receiving_proposals, under_evaluation, closed, all
all

Notice phase filter (editais only).

modalitynumber
1 to 14
—

PNCP modality code: 1 Leilão eletrônico, 2 Diálogo competitivo, 3 Concurso, 4 Concorrência eletrônica, 5 Concorrência presencial, 6 Pregão eletrônico, 7 Pregão presencial, 8 Dispensa, 9 Inexigibilidade, 10 Manifestação de interesse, 11 Pré-qualificação, 12 Credenciamento, 13 Leilão presencial, 14 Inaplicabilidade.

page_sizenumber
1 to 100
20

page_size

document_typeone of
edital, ata, contrato
edital

edital = tender notice, ata = price-registration minutes, contrato = signed contract.

government_levelone of
federal, state, municipal
—

government_level

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "pncp-gov-br/procurement/procurement_search",
    "input": {
      "query": "<query>"
    }
  }'

Frequently asked questions

How much does PNCP (Portal Nacional de Contratações Públicas) · Procurement search cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use PNCP (Portal Nacional de Contratações Públicas) · Procurement search through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "pncp-gov-br/procurement/procurement_search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use PNCP (Portal Nacional de Contratações Públicas) · Procurement search?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use PNCP (Portal Nacional de Contratações Públicas) · Procurement search?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.