# ORUM License Consultation — Estado, Escolha, Portas

> ORUM License Consultation — Estado, Escolha, Portas is a paid API for AI agents from ora-x402-gateway.vercel.app, paid per call via x402, $1.618/call, status unknown (last checked 2026-09-15).

Checks and grants a paid license consultation for a specific artwork registered on ORUM, returning access status, SHA256 content hash, license type, and a time-limited signed URL to the photograph.

## Facts

- Endpoint: GET https://ora-x402-gateway.vercel.app/licenca/consulta
- Price: $1.618/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orum-license-consultation-estado-escolha-portas-47ffecc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KDCsnbmLbVArdV5jsKdDY

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 orum-license-consultation-estado-escolha-portas-47ffecc3
```

Example prompt: Can you check the ORUM license for the artwork titled 'exemplo' and get me the signed photo URL if access is granted?

## When to prefer this

Use this endpoint when you need to verify and retrieve a paid license for a specific ORUM-registered artwork, particularly when you require a signed, time-limited photo URL and on-chain SHA256 provenance for human-made art intended for AI training datasets. Prefer it over generic license checks when ORUM's zero-generative-AI guarantee and on-chain provenance are required.

## Known failure modes

- Access denied if payment of 1.618 USDC has not been processed via x402 protocol
- Invalid or unknown 'obra' query parameter returns an error or empty license record
- Signed URL already expired if the license window has passed
- Malformed query parameters may result in a 400-level error
- Service unavailable if the Vercel deployment is down or cold-starting

## How this service works

A casa canónica da ORUM: estado vivo, escolha verificável e portas de Presença e Sustento.

## Output

A JSON object containing an 'acesso' field (e.g. 'concedido' = granted), a 'licenca' object with the obra's SHA256 hash and title, the license type ('consulta'), and an 'acesso_a_fotografia' object with a signed URL and its expiry timestamp.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "obra": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "acesso": "concedido",
  "licenca": {
   "obra": {
    "sha256": "...",
    "titulo": "exemplo"
   },
   "tipo_licenca": "consulta",
   "acesso_a_fotografia": {
    "expira_em": "2026-...",
    "url_assinada": "https://..."
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orum-license-consultation-estado-escolha-portas-47ffecc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ora-x402-gateway.vercel.app](https://www.zero.xyz/host/ora-x402-gateway.vercel.app/llms.txt)
