{"uid":"cap_LCjMfTd_gOykxL8azyx-J","slug":"phantom-api-optimism-nft-sales-0faf4d86","name":"Phantom API – Optimism NFT Sales","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/optimism/nft/sales?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number"},"order":{"enum":["asc","desc"],"type":"string"},"toBlock":{"type":"number"},"fromBlock":{"type":"number"},"contractAddress":{"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_1EsQBxS3-CezitiyKpB3W","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 NFT sales transaction data on the Optimism network, filterable by block range and contract address.","exampleAgentPrompt":"Pull the last 50 NFT sales on Optimism for contract 0xAbCd1234... sorted from newest to oldest, looking at blocks 110000000 through 111000000.","exampleUseCases":[{"title":"NFT Collection Sales Analytics","prompt":"Get me the most recent 100 NFT sales for the contract 0x4200000000000000000000000000000000000042 on Optimism, sorted descending, so I can analyze how the collection has been trading lately."},{"title":"Block-Range Sales Audit","prompt":"Fetch all NFT sales that happened on Optimism between block 108000000 and block 109000000 for contract 0xDeadBeef... — I need to audit activity in that window."},{"title":"Real-Time NFT Market Monitoring","prompt":"Give me the 25 most recent NFT sale events on Optimism for the contract 0x1234Abcd... ordered from most recent to oldest so I can keep tabs on floor activity."}],"resultDescription":"Returns a list of NFT sale events on the Optimism network matching the specified block range and contract address, each record containing transaction details such as token IDs, sale prices, buyer/seller addresses, and block numbers. Results are paginated by the limit parameter and ordered as specified.","failureModes":["Invalid or non-existent contract address returns empty results or an error","fromBlock greater than toBlock causes a bad request error","Limit value of 0 or negative integer may result in validation error","Block range too large may cause timeout or truncated results","Payment failure via x402 protocol returns 402 Payment Required before data is served"],"whenToPreferThis":"Choose this endpoint when you need indexed NFT sales data specifically on the Optimism L2 network and want to filter by block range or contract address. It is preferable over general blockchain RPC calls because it abstracts raw event log parsing, and preferable over Ethereum mainnet endpoints when your NFT collection is deployed on Optimism. Useful for analytics, auditing, and monitoring workflows where pay-per-call pricing is more economical than a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:56:29.254Z","isFirstParty":false,"canonicalSlug":"phantom-api-optimism-nft-sales-0faf4d86"}