{"uid":"cap_SFyAvLutaKiUDQZ1VJQeE","slug":"erc165-interface-support-checker-488a6999","name":"ERC165 Interface Support Checker","description":"Does a contract declare support for an ERC165 interface — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/erc165-supports?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism","bsc","avalanche","gnosis","linea","scroll"],"type":"string"},"contract":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"interfaceId":{"type":"string","pattern":"^0x[0-9a-fA-F]*$"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"erc165-supports","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.003,"receipt_id":"g402-<16hex>"},"generated_at":"<iso8601>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6JCiG8p1EJFzPXe2AUq0y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a smart contract on a given EVM chain declares support for a specific ERC165 interface ID","exampleAgentPrompt":"Check if the contract at 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13d on Ethereum supports the ERC721 interface ID 0x80ac58cd.","exampleUseCases":[{"title":"NFT marketplace contract validation","prompt":"Before listing this collection, can you verify that the contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13d on Ethereum actually declares support for the ERC721 interface 0x80ac58cd?"},{"title":"Multi-chain DeFi protocol audit","prompt":"I need to confirm that 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Base supports the ERC20 interface ID 0x36372b07 — can you check that for me?"},{"title":"Smart contract compatibility screening","prompt":"Does the contract at 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Arbitrum declare support for the ERC1155 interface 0xd9b67a26?"}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating success, the type field 'erc165-supports', and a payment receipt containing the transaction hash, amount paid in USD, and a unique receipt ID. The core result indicates whether the specified contract's supportsInterface(bytes4) call returned true for the given interface ID.","failureModes":["Contract address does not exist on the specified chain — returns error or ok:false","Interface ID is malformed or not a valid bytes4 hex — returns validation error","Chain not in supported list causes schema validation failure","Contract does not implement ERC165 at all — call reverts or returns false","Network congestion or RPC issues may delay or fail the on-chain read","Incorrect chain specified for the contract — returns false negative"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify whether a specific smart contract on any of ten major EVM chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, Scroll) has declared support for a given ERC165 interface. Ideal for NFT platform onboarding flows, DeFi protocol compatibility checks, wallet UI logic that branches on contract capabilities, and automated audits of contract standard compliance. Prefer this over manual RPC calls when you want a pay-per-call, infrastructure-free approach.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:55:40.972Z","isFirstParty":false,"canonicalSlug":"erc165-interface-support-checker-488a6999"}