# Recent DEX Trades for Stellar Account

> Recent DEX Trades for Stellar Account is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-01).

Returns recent decentralized exchange trades that a given Stellar account participated in

## Facts

- Endpoint: POST https://twin.unykorn.org/stellar-trades?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/recent-dex-trades-for-stellar-account-4ba78a72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zSU4Omc2bWxhv5e4axBHi

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 recent-dex-trades-for-stellar-account-4ba78a72 -d '<json body>'
```

Example prompt: Can you pull up the recent DEX trades for the Stellar account GAHJJJKMOKYE4RVPZEWZTKH5FVI4PA3VL7GK2LFNUBSGBV3DPNXFZPP and show me what they've been trading?

## When to prefer this

Use this endpoint when you need recent DEX trade history specifically for a Stellar network account. It is purpose-built for Stellar (G... address format) unlike generic multi-chain trade APIs. Prefer it when you need a quick, pay-per-call lookup without setting up Stellar Horizon access yourself, and when you need an auditable receipt for the query cost.

## Known failure modes

- Invalid Stellar account address format (must match ^G[A-Z2-7]{55}$) returns an error
- Account has no DEX trade history returns empty trades array
- Payment failure or insufficient USDC balance prevents call execution
- Network or Stellar horizon API downtime may cause delayed or failed responses
- Malformed request body returns a schema validation error

## How this service works

Recent DEX trades an account was part of — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok status, a type field of 'stellar-trades', a receipt object containing the transaction hash, USD cost, and a unique receipt ID, plus a generated_at ISO8601 timestamp. The core trades payload contains the recent DEX trades the specified Stellar account participated in.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "account": {
     "type": "string",
     "pattern": "^G[A-Z2-7]{55}$"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/recent-dex-trades-for-stellar-account-4ba78a72/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)
