# Saylor Innovations ERC-165 Interface Detector

> Saylor Innovations ERC-165 Interface Detector is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

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.

## Facts

- Endpoint: GET https://saylorinnovations.com/api/chain/interfaces?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-erc-165-interface-detector-b570e6d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YWr9ZiY7m7J3csIgtN6Fg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-erc-165-interface-detector-b570e6d7
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-erc-165-interface-detector-b570e6d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
