Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/hegic-fees-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
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 Specification
openapi: 3.2.0
info:
title: DefiLlama Hegic Protocol Fees 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: Fees
description: Protocol fees and revenue
paths:
/overview/fees:
get:
summary: List all protocols with fees and revenue
description: 'List all protocols along with summaries of their fees and revenue and dataType history data. Includes Hegic protocol fee and revenue data.
'
operationId: listFees
tags:
- Fees
parameters:
- name: excludeTotalDataChart
in: query
required: true
description: Set to true to exclude aggregated chart from response
schema:
type: boolean
example: true
- name: excludeTotalDataChartBreakdown
in: query
required: true
description: Set to true to exclude broken down chart from response
schema:
type: boolean
example: true
- name: dataType
in: query
required: false
description: Desired data type
schema:
type: string
enum:
- dailyFees
- dailyRevenue
- dailyHoldersRevenue
default: dailyFees
responses:
'200':
description: Protocol fee and revenue data
content:
application/json:
schema:
$ref: '#/components/schemas/FeesOverview'
/summary/fees/{protocol}:
get:
summary: Get protocol fees and revenue summary
description: 'Get summary of protocol fees and revenue with historical data. Use protocol slug "hegic" to get Hegic-specific fee data.
'
operationId: getFeesSummary
tags:
- Fees
parameters:
- name: protocol
in: path
required: true
description: Protocol slug (e.g. "hegic")
schema:
type: string
example: hegic
- name: dataType
in: query
required: false
description: Desired data type
schema:
type: string
enum:
- dailyFees
- dailyRevenue
- dailyHoldersRevenue
default: dailyFees
responses:
'200':
description: Protocol fees and revenue summary
content:
application/json:
schema:
$ref: '#/components/schemas/FeesSummary'
components:
schemas:
FeesSummary:
type: object
properties:
id:
type: string
name:
type: string
symbol:
type: string
category:
type: string
total24h:
type: number
description: Fees in last 24 hours (USD)
change_1d:
type: number
description: 1-day change percentage
totalDataChart:
type: array
items:
type: array
totalDataChartBreakdown:
type: array
items:
type: object
FeesOverview:
type: object
properties:
protocols:
type: array
items:
type: object
properties:
name:
type: string
total24h:
type: number
total7d:
type: number
totalDataChart:
type: array
items:
type: array
totalDataChartBreakdown:
type: array
items:
type: object
externalDocs:
description: DefiLlama API Documentation
url: https://defillama.com/docs/api