{"uid":"cap_zSU4Omc2bWxhv5e4axBHi","slug":"recent-dex-trades-for-stellar-account-4ba78a72","name":"Recent DEX Trades for Stellar Account","description":"Recent DEX trades an account was part of — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/stellar-trades?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"account":{"type":"string","pattern":"^G[A-Z2-7]{55}$"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"stellar-trades","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.005,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QJpSv0ZAiMPao3k0ZlwSq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recent decentralized exchange trades that a given Stellar account participated in","exampleAgentPrompt":"Can you pull up the recent DEX trades for the Stellar account GAHJJJKMOKYE4RVPZEWZTKH5FVI4PA3VL7GK2LFNUBSGBV3DPNXFZPP and show me what they've been trading?","exampleUseCases":[{"title":"Audit trader activity on Stellar DEX","prompt":"Look up the recent DEX trades for Stellar address GDQP2KPQGKIHYJGXNUIYOMHARUARCA7DJT5FO2FFOOKY3B2WSQHG4W37 — I want to see what pairs they've been swapping and how recently."},{"title":"Monitor wallet before OTC deal","prompt":"Before I do an OTC deal with this counterparty, can you check what DEX trades the Stellar account GBVJJJKMOKYE4RVPZEWZTKH5FVI4PA3VL7GK2LFNUBSGBV3DPNXFZPP has made recently so I can gauge their activity?"},{"title":"Research DeFi usage for a known address","prompt":"I'm analyzing on-chain behavior — can you fetch the recent Stellar DEX trade history for account GCEZWKCA5VLDNRLN3RPRJMRZOX3Z6G5CHCGKM7YHX5RTEZL2GLKZLDI?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:26.618Z","isFirstParty":false,"canonicalSlug":"recent-dex-trades-for-stellar-account-4ba78a72"}