# XRPL Account Preflight Check

> XRPL Account Preflight Check 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).

Checks whether an XRP Ledger address exists and can receive payments, optionally for a specific currency and issuer

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/xrpl/preflight?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/xrpl-account-preflight-check-f2e4af5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tRNJj3keMtPsYhslmxcNs

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 xrpl-account-preflight-check-f2e4af5b
```

Example prompt: Before I send XRP to rN7n3473SaZBCG4dFL83w7PV3xKGMo9osk, can you check if that address exists on the XRP Ledger and is able to receive payments?

## When to prefer this

Use this endpoint when you need a lightweight, fast preflight check before initiating an XRP Ledger payment to confirm the destination address is valid, funded (above reserve), and capable of receiving funds — especially useful before committing to a transaction that would fail on-chain. Prefer this over full XRPL node queries when you need a simple boolean answer without parsing raw ledger responses.

## Known failure modes

- Missing required 'address' query parameter returns an error
- Invalid or malformed XRP address format may return exists: false or an error
- Network connectivity issues to XRPL nodes may cause timeouts
- Issuer address provided without a currency code may yield incomplete results
- Payment required (x402) not fulfilled causes 402 response before any data is returned

## 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

A JSON object with at minimum an 'exists' boolean indicating whether the XRPL address is found on the ledger, and a 'can_receive' boolean indicating whether the account is capable of receiving payments. May include additional metadata about trustlines or destination tag requirements depending on the query.

## 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",
     "required": [
      "address"
     ],
     "properties": {
      "amount": {
       "type": "string",
       "title": "Amount",
       "maxLength": 80
      },
      "issuer": {
       "type": "string",
       "title": "Issuer",
       "maxLength": 40
      },
      "address": {
       "type": "string",
       "title": "Address",
       "maxLength": 40
      },
      "currency": {
       "type": "string",
       "title": "Currency",
       "default": "XRP",
       "maxLength": 40
      },
      "destination_tag": {
       "type": "integer",
       "title": "Destination Tag",
       "maximum": 4294967295,
       "minimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "exists"
     ],
     "properties": {
      "exists": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "exists": true,
  "can_receive": true
 },
 "exampleNote": "Illustrative response subset; not a live observation."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xrpl-account-preflight-check-f2e4af5b/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)
