{"uid":"cap_YWr9ZiY7m7J3csIgtN6Fg","slug":"saylor-innovations-erc-165-interface-detector-b570e6d7","name":"Saylor Innovations ERC-165 Interface Detector","description":"ERC-165 interface detection for 16 EVM chains: ERC-721, ERC-1155, metadata, royalties and update events, with a kind label and ERC-20 hint.","url":"https://saylorinnovations.com/api/chain/interfaces?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["chain","contract"],"properties":{"chain":{"type":"string","description":"chain name (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, gnosis, linea, scroll, mantle, blast, sonic, celo, berachain, unichain) or chain id"},"contract":{"type":"string","description":"the contract address to probe"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["chain","chain_id","contract","kind","supports","note","source"],"properties":{"kind":{"type":"string","description":"best label for the contract type"},"note":{"type":"string","description":"plain-language reading of the result"},"chain":{"type":"string","description":"the chain name that was queried"},"source":{"type":"string","description":"where the data was read from or how it was computed"},"chain_id":{"type":"number","description":"EIP-155 chain id of that network"},"contract":{"type":"string","description":"contract probed"},"supports":{"type":["object","null"],"description":"flag per interface from supportsInterface()"},"erc165_conformant":{"type":"boolean","description":"true when ERC-165 behaves correctly"},"answers_erc20_calls":{"type":"boolean","description":"true when decimals() and totalSupply() answer"}}}}}}},"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_PudbIp-MBL5D2OOBvC7kE","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":"Detects ERC-165 interface support (ERC-721, ERC-1155, metadata, royalties, and more) for a smart contract on any of 16 supported EVM chains, returning a kind label and ERC-20 hint.","exampleAgentPrompt":"Can you check what token standard the contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13B uses on Ethereum — is it ERC-721, ERC-1155, or something else, and does it support royalties?","exampleUseCases":[{"title":"NFT marketplace contract verification","prompt":"I need to list a collection on my marketplace — can you check whether contract 0x495f947276749Ce646f68AC8c248420045cb7b5e on Ethereum is ERC-1155 and supports the metadata extension?"},{"title":"Royalty enforcement check for a game asset","prompt":"Before integrating this gaming asset contract on Polygon — address 0x2953399124F0cBB46d2CbACD8A89cF0599974963 — can you tell me if it supports ERC-2981 royalties so I know whether to enforce them on secondary sales?"},{"title":"Token type disambiguation on Base","prompt":"I have a contract address on Base — 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — and I'm not sure if it's an NFT or a fungible token. Can you identify the contract kind and whether it answers ERC-20 calls like decimals and totalSupply?"}],"resultDescription":"Returns a JSON object with: the queried chain name and EIP-155 chain ID, the probed contract address, a 'kind' label (e.g. 'ERC-721', 'ERC-1155', 'ERC-20', 'unknown'), a 'supports' map of boolean flags per detected interface (ERC-721, ERC-1155, metadata extension, royalties/ERC-2981, update events), an 'erc165_conformant' boolean, an 'answers_erc20_calls' boolean for fungible token hint, a plain-language 'note' summarizing the result, and a 'source' field describing how the data was read.","failureModes":["Invalid or non-checksummed contract address returns an error","Unsupported chain name or chain ID returns a validation error","Contract address that is an EOA (externally owned account) or non-ERC-165 contract may return erc165_conformant: false with null supports","Network RPC timeouts may produce incomplete results","Contract deployed on a chain different from the one specified will yield incorrect or empty results"],"whenToPreferThis":"Choose this endpoint when you need fast, multi-chain ERC-165 interface detection across 16 EVM networks in a single call, with structured interface flags and a human-readable kind label. It is ideal when you need to programmatically determine whether a contract is an NFT (ERC-721 or ERC-1155), supports royalties (ERC-2981), or is a fungible token (ERC-20 hint), without deploying your own RPC infrastructure. Prefer it over generic blockchain explorers when you need structured JSON output ready for agent consumption rather than a human-readable UI.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:05:49.031Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-erc-165-interface-detector-b570e6d7"}