# Toll402 RUC Validator (Paraguay)

> Toll402 RUC Validator (Paraguay) is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates a Paraguayan RUC (Registro Único de Contribuyentes) tax identification number by checking its format and check digit.

## Facts

- Endpoint: POST https://toll402.dev/v1/t/ruc_py_validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-ruc-validator-paraguay-966ee6bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W0dL5Tc4eBOmOklXxX1QY

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 toll402-ruc-validator-paraguay-966ee6bb -d '<json body>'
```

Example prompt: Can you check if the Paraguayan RUC number 80028098-2 is valid?

## When to prefer this

Use this endpoint when you need a fast, offline structural and check-digit validation of a Paraguayan RUC tax ID number — ideal for compliance checks, invoice processing, or vendor onboarding workflows targeting Paraguay, without needing to call a government registry API.

## Known failure modes

- Invalid format (RUC not matching BASE-DV pattern) returns ok: false
- Check digit mismatch returns ok: false
- Missing required 'ruc' field in body causes request error
- Non-numeric characters in RUC cause validation failure
- Payment failure via x402 if wallet lacks sufficient USDC

## How this service works

The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.

## Output

Returns a JSON object with an 'ok' boolean field indicating whether the provided RUC number is valid (true) or invalid (false) based on format and check digit verification.

## 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"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "ruc"
     ],
     "properties": {
      "ruc": {
       "type": "string",
       "pattern": "^[0-9]{3,8}-[0-9]$",
       "description": "RUC in format BASE-DV, e.g. 80028098-2"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toll402-ruc-validator-paraguay-966ee6bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
