# editalmd.com Document Page Access with Generation

> editalmd.com Document Page Access with Generation is a paid API for AI agents from editalmd.com, paid per call via x402, $0.3/call, status unknown (last checked 2026-10-18).

Provides individual access to up to 15 pages of a specific Brazilian public procurement document (edital), generating the document on demand if not already available.

## Facts

- Endpoint: POST https://editalmd.com/api/documento/9927611/geracao?utm_source=zero.xyz
- Price: $0.3/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/editalmd-com-document-page-access-with-generation-b70cd9ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gwncpVJ8S_xdOB0-xkTn-

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-com-document-page-access-with-generation-b70cd9ad -d '<json body>'
```

Example prompt: Can you pull up the pages of Brazilian procurement document 9927611 for me? I need the full content — go ahead and generate it if it hasn't been produced yet.

## When to prefer this

Use this endpoint when you need to access the textual content of a specific Brazilian government procurement document (edital) by its numeric ID, especially when the document may need to be generated on demand. Prefer this over generic web scraping when the document is gated behind a payment wall and you need reliable, structured page-level access to tender content.

## Known failure modes

- Document ID not found or invalid — endpoint may return an error or empty response
- Document generation failure if underlying source data is unavailable
- Payment not processed — x402 payment required before access is granted
- Fewer than 15 pages available if the document is shorter than the access limit

## How this service works

Acesso individual a 15 páginas, com geração incluída quando necessária.

## Output

Returns up to 15 pages of the specified Brazilian public procurement document (edital 9927611), generating the document content on the fly if it has not yet been produced. The response contains the textual content of the procurement notice pages.

## 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",
    "bodyType",
    "body",
    "pathParams"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {
      "cotacao": {
       "type": "object",
       "description": "Objeto recebido no GET/402: paginas, source_sha256 e preco_total_usd devem coincidir com a cotação atual. Obrigatório ao enviar autorização de pagamento."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    },
    "pathParams": {
     "type": "object",
     "required": [],
     "properties": {
      "id": {
       "type": "string",
       "description": "ID positivo do documento retornado pela compra."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/editalmd-com-document-page-access-with-generation-b70cd9ad/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)
