# XRPL Account Open DEX Offers

> XRPL Account Open DEX Offers is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-29).

Returns all currently open DEX (decentralized exchange) offers placed by a given XRP Ledger account address

## Facts

- Endpoint: POST https://twin.unykorn.org/xrpl-offers?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xrpl-account-open-dex-offers-129d703b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9ukWgKq1WOl_CNns9Gy1A

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-open-dex-offers-129d703b -d '<json body>'
```

Example prompt: Can you pull up all the open DEX offers currently placed by the XRPL account rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh?

## When to prefer this

Use this endpoint when you need to programmatically retrieve open DEX offers for a specific XRPL (XRP Ledger) account address, particularly in agentic or automated workflows that require on-chain DEX order book data for a wallet. Prefer this over XRPL block explorers when you need machine-readable JSON output suitable for downstream processing or trading analysis.

## Known failure modes

- Invalid XRPL account address format (must match r[1-9A-HJ-NP-Za-km-z]{24,34}) returns a validation error
- Account with no open offers returns an empty offer list
- Payment failure or insufficient USDC balance returns a 402 error
- XRPL node unavailability may cause timeout or upstream error
- Malformed request body missing the account field returns a schema error

## How this service works

Open DEX offers placed by an XRPL account — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok:true, type 'xrpl-offers', a list of open DEX offers associated with the queried XRPL account, and a receipt containing a transaction hash, USD amount charged, and a receipt ID for payment verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "account": {
     "type": "string",
     "pattern": "^r[1-9A-HJ-NP-Za-km-z]{24,34}$"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "xrpl-offers",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.25,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xrpl-account-open-dex-offers-129d703b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
