{"uid":"cap_CPLV6MzrEL7C0aACS3lhr","slug":"synapse-api-x-layer-transaction-history-5457dbe7","name":"Synapse API — X Layer Transaction History","description":"High-speed API suite for AI processing, web scraping, and smart data utilities across 57+ blockchain networks. Pay-per-call via x402.","url":"https://synapse-api-brown.vercel.app/api/xlayer/tx/history","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"order":{"enum":["asc","desc"],"type":"string"},"pageKey":{"type":"string"},"toBlock":{"type":"string"},"category":{"type":"array","items":{"type":"string"}},"maxCount":{"type":"number"},"fromBlock":{"type":"string"},"toAddress":{"type":"string"},"fromAddress":{"type":"string"},"withMetadata":{"type":"boolean"},"excludeZeroValue":{"type":"boolean"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5eEcM9gqyr-vtAq7RW4xu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves paginated transaction history for addresses on the X Layer (OKX) blockchain network","exampleAgentPrompt":"Pull the last 25 transactions for wallet 0xAbC123...on X Layer, sorted newest first, including metadata and excluding zero-value transfers.","exampleUseCases":[{"title":"Wallet audit on X Layer","prompt":"Get me the full transaction history for wallet 0xDe...F1 on X Layer, sorted oldest to newest, including all transfer metadata, so I can audit its on-chain activity."},{"title":"Monitor incoming transfers to treasury","prompt":"Fetch all incoming transactions to address 0xAB...99 on X Layer from block 5000000 to 5500000, excluding zero-value transfers, and show me up to 50 results."},{"title":"Paginate through large transaction set","prompt":"I already fetched the first page of transactions for 0x12...34 on X Layer — now continue from pageKey 'abc-xyz' and give me the next 100 records in descending order."}],"resultDescription":"Returns a paginated list of transactions on the X Layer network matching the specified filters, including transfer details such as from/to addresses, block numbers, transaction hashes, asset categories, and optionally enriched metadata. A pageKey is provided for fetching subsequent pages.","failureModes":["Invalid address format returns validation error","Unknown or malformed pageKey causes pagination failure","fromBlock greater than toBlock returns empty result or error","maxCount exceeding API limits may return partial results or error","Unsupported category values may be silently ignored or cause error","Network downtime on X Layer data provider causes 5xx response","Missing required fields may return 400 bad request"],"whenToPreferThis":"Use this endpoint when you need historical transaction data specifically for the X Layer (OKX Chain) blockchain. It supports flexible filtering by address direction, block range, transaction category, and ordering, making it suitable for wallet audits, portfolio analytics, and on-chain activity monitoring on X Layer. Prefer this over generic blockchain explorers when you need programmatic, paginated access with metadata enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:11:28.113Z","isFirstParty":false}