Skip to main content
Resolve a contract address to the DeFi protocol it belongs to. Provide a chain to look up a single protocol on that chain, or omit it to search the address across every chain Octav knows it on.
Cost: 5 credits per lookup. The credits are refunded if no protocol is found (404).
Interactive Playground: Test this endpoint in the API Playground. Get your API key at data.octav.fi

Endpoint


Parameters

string
required
The contract address to look up. Accepts an EVM address (0x…) or a Solana base58 address.
string
Chain key (e.g. ethereum, arbitrum, base, polygon, solana). Match a chain’s key field from the Chains endpoint.If omitted, the endpoint returns every chain the address is known on.

Response

The response shape depends on whether you provide chain:
  • chain provided → a single { protocol } object.
  • chain omitted → a { protocols } array, where each entry is additionally tagged with its chainKey. The array is unordered.
Because the top-level field differs (protocol vs protocols), branch on which key is present rather than assuming a fixed shape.

Protocol Fields

string
Protocol display name (e.g. "Uniswap V3")
string
Protocol key (e.g. "uniswap-v3")
string
URL to small protocol icon
string
URL to large protocol icon
string
Chain the match belongs to. Only present in the array response (when chain is omitted).

Example Request


Example Response


Error Responses

The contract parameter is missing.
Missing/invalid API key, or your key has no access to this endpoint.
Solution: Check your API key in the Authorization header.
Insufficient credits.
Solution: Purchase more credits at data.octav.fi
No protocol matches the contract address. The credits are refunded.
Rate limit exceeded.
Solution: Wait for the specified time or implement retry logic.
Unexpected server error.

Protocols

List all DeFi protocols on a specific chain

Chains

Get all supported chains and their keys

Portfolio

Get portfolio holdings by protocol

Protocol Types Reference

View all protocol type categories