Hegic TVL API
Total Value Locked data for Hegic and other protocols
Total Value Locked data for Hegic and other protocols
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/hegic-tvl-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: DefiLlama Hegic Protocol TVL API
description: 'Public REST API provided by DefiLlama for querying Hegic protocol metrics including TVL, fees, revenue, and options volume. Returns historical and current data across Arbitrum and Ethereum deployments with no authentication required. Hegic is an on-chain peer-to-pool options trading protocol deployed on Arbitrum enabling ETH and WBTC call and put options trading.
'
version: 1.0.0
contact:
name: DefiLlama Team
url: https://defillama.com
license:
name: MIT
url: https://github.com/DefiLlama/defillama-server/blob/master/LICENSE
servers:
- url: https://api.llama.fi
description: DefiLlama Free API (no authentication required)
tags:
- name: TVL
description: Total Value Locked data for Hegic and other protocols
paths:
/protocols:
get:
summary: List all protocols with TVL
description: List all protocols on DefiLlama along with their TVL, including Hegic
operationId: listProtocols
tags:
- TVL
responses:
'200':
description: Array of protocol objects with TVL data
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ProtocolSummary'
/protocol/{protocol}:
get:
summary: Get protocol historical TVL
description: 'Get historical TVL of a protocol and breakdowns by token and chain. Use protocol slug "hegic" to query Hegic-specific data.
'
operationId: getProtocol
tags:
- TVL
parameters:
- name: protocol
in: path
required: true
description: Protocol slug (e.g. "hegic")
schema:
type: string
example: hegic
responses:
'200':
description: Protocol historical TVL data
content:
application/json:
schema:
$ref: '#/components/schemas/ProtocolDetail'
/tvl/{protocol}:
get:
summary: Get current TVL of a protocol
description: 'Simplified endpoint to get the current TVL of a protocol. Use protocol slug "hegic" to get current Hegic TVL.
'
operationId: getProtocolTvl
tags:
- TVL
parameters:
- name: protocol
in: path
required: true
description: Protocol slug (e.g. "hegic")
schema:
type: string
example: hegic
responses:
'200':
description: Current TVL as a number (USD)
content:
application/json:
schema:
type: number
description: Current TVL in USD
/v2/historicalChainTvl:
get:
summary: Get historical TVL for all chains
description: 'Get historical TVL (excludes liquid staking and double counted TVL) of DeFi on all chains
'
operationId: getHistoricalChainTvl
tags:
- TVL
responses:
'200':
description: Array of date/TVL data points
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TvlDataPoint'
/v2/historicalChainTvl/{chain}:
get:
summary: Get historical TVL for a specific chain
description: 'Get historical TVL (excludes liquid staking and double counted TVL) of DeFi on a specific chain (e.g. Arbitrum where Hegic is deployed)
'
operationId: getHistoricalChainTvlByChain
tags:
- TVL
parameters:
- name: chain
in: path
required: true
description: Chain slug (e.g. "Arbitrum")
schema:
type: string
example: Arbitrum
responses:
'200':
description: Array of date/TVL data points
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/TvlDataPoint'
/v2/chains:
get:
summary: Get current TVL of all chains
description: Get current TVL of all chains including Arbitrum where Hegic operates
operationId: getChains
tags:
- TVL
responses:
'200':
description: Array of chain TVL objects
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ChainTvl'
components:
schemas:
ChainTvl:
type: object
properties:
gecko_id:
type: string
tvl:
type: number
tokenSymbol:
type: string
cmcId:
type: string
name:
type: string
chainId:
type: integer
ProtocolSummary:
type: object
description: Summary of a DeFi protocol including Hegic
properties:
id:
type: string
description: Protocol identifier
name:
type: string
description: Protocol name
example: Hegic
symbol:
type: string
description: Token symbol
example: HEGIC
category:
type: string
description: Protocol category
example: Options
chains:
type: array
items:
type: string
description: Chains where protocol is deployed
example:
- Arbitrum
tvl:
type: number
description: Current total value locked in USD
change_1d:
type: number
description: 1-day TVL change percentage
change_7d:
type: number
description: 7-day TVL change percentage
ProtocolDetail:
type: object
description: Detailed protocol data including historical TVL
properties:
id:
type: string
name:
type: string
symbol:
type: string
category:
type: string
chains:
type: array
items:
type: string
currentChainTvls:
type: object
additionalProperties:
type: number
description: Current TVL per chain
chainTvls:
type: object
description: Historical TVL broken down by chain
TvlDataPoint:
type: object
properties:
date:
type: integer
description: UNIX timestamp
tvl:
type: number
description: TVL in USD at this date
externalDocs:
description: DefiLlama API Documentation
url: https://defillama.com/docs/api