# XRP Ledger Address Validator

> XRP Ledger Address Validator is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Validates an XRP Ledger address for correct format and checksum, returning match type and validity status without querying the live ledger.

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/tools/address-validate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xrp-ledger-address-validator-f66d871f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NejXlFV8qjF-FzjLe6inu

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 xrp-ledger-address-validator-f66d871f
```

Example prompt: Can you check if this XRP Ledger address is valid: rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De? I want to make sure the format and checksum are correct before I use it.

## When to prefer this

Use this endpoint when you need a fast, offline format and checksum validation of an XRP Ledger address before executing a payment or storing user input. It is ideal for pre-flight checks in payment flows, user onboarding, or data validation pipelines where you do not need live ledger confirmation of account existence or balance.

## Known failure modes

- Missing or empty address query parameter returns an error or empty result
- Malformed address with invalid Base58 characters may return valid:false with no matches
- Network/server errors return non-200 HTTP responses
- Address that looks similar to XRP but belongs to another network may be flagged as invalid

## How this service works

Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.

## Output

Returns a JSON object with a top-level 'valid' boolean, the input 'address' string, an array of 'matches' objects each specifying the address type (e.g. 'classic'), chain ('XRP Ledger'), and per-type validity, plus a note confirming the check is format/checksum only and does not verify on-chain activity or ownership.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Format/checksum only; does not prove the address is active or owned by anyone.",
  "valid": true,
  "address": "rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De",
  "matches": [
   {
    "type": "classic",
    "chain": "XRP Ledger",
    "valid": true
   }
  ]
 },
 "exampleNote": "Computed offline with demonstration inputs; time/random values are illustrative."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xrp-ledger-address-validator-f66d871f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cocoeatsai.com](https://www.zero.xyz/host/cocoeatsai.com/llms.txt)
