{"uid":"cap_y6Y962dkx94qkZ8v1S93P","slug":"phantom-api-xlayer-token-transfers-24e6b084","name":"Phantom API — XLayer Token Transfers","description":"Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.","url":"https://phantom-api-omega.vercel.app/api/xlayer/token/transfers","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"order":{"enum":["asc","desc"],"type":"string"},"owner":{"type":"string"},"pageKey":{"type":"string"},"toBlock":{"type":"string"},"maxCount":{"type":"number"},"fromBlock":{"type":"string"},"contractAddresses":{"type":"array","items":{"type":"string"}}}},"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_gm6IIfXLPZlCTAwgM3Y9n","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 token transfer history for a specific owner or contract on the X Layer (OKX Layer 2) blockchain network","exampleAgentPrompt":"Pull all token transfers for wallet 0xAbC123... on X Layer, sorted newest first, and limit it to the last 25 results.","exampleUseCases":[{"title":"Wallet token transfer audit","prompt":"Show me all token transfers for the wallet 0xDEF456... on X Layer from block 1000000 to block 2000000, sorted oldest to newest, max 50 results."},{"title":"Contract activity monitoring","prompt":"Fetch the latest 100 token transfer events for the contract at 0x789GHI... on X Layer, sorted descending by block so I can see recent activity first."},{"title":"Portfolio inflow/outflow tracking","prompt":"Get all token transfers to or from address 0xJKL012... on XLayer across contracts 0xAAA111 and 0xBBB222, starting from block 500000, paginate with key 'abc123' if there are more results."}],"resultDescription":"Returns a list of token transfer records on the X Layer network, including sender, receiver, token contract address, amount, block number, and transaction hash. Supports pagination via a pageKey for large result sets.","failureModes":["Invalid owner address format returns an error or empty result","Unrecognized contract address returns empty transfers list","Invalid block numbers (fromBlock > toBlock) may return error or empty set","Invalid pageKey results in pagination error","Exceeding maxCount limits or unsupported values may return a validation error","Network or infrastructure downtime returns 5xx errors","Missing required fields (e.g. no owner) may return a 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need on-chain token transfer history specifically on the X Layer (OKX Layer 2) network, with flexible filtering by wallet address, contract addresses, block range, and sort order. Prefer this over Ethereum mainnet or other L2 endpoints when the user's assets or contracts are specifically deployed on X Layer. It is pay-per-call at $0.01 USDC, making it cost-effective for targeted queries rather than bulk indexing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:53:33.979Z","isFirstParty":false}