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-prices-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 Prices 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: Prices
description: Token price data
paths:
/prices/current/{coins}:
get:
summary: Get current token prices
description: 'Get current prices of tokens by contract address. Can be used to get current HEGIC token price on Arbitrum (arbitrum:0x431402e8b9de9aa016c743880e04e517074d8cec).
'
operationId: getCurrentPrices
tags:
- Prices
parameters:
- name: coins
in: path
required: true
description: 'Comma-separated tokens defined as {chain}:{address} or coingecko:{id}
'
schema:
type: string
example: arbitrum:0x431402e8b9de9aa016c743880e04e517074d8cec
- name: searchWidth
in: query
required: false
description: Time range on either side to find price data (defaults to 6 hours)
schema:
type: string
example: 4h
responses:
'200':
description: Current token prices
content:
application/json:
schema:
$ref: '#/components/schemas/CoinPrices'
/prices/historical/{timestamp}/{coins}:
get:
summary: Get historical token prices
description: 'Get historical prices of tokens by contract address at a specific UNIX timestamp.
'
operationId: getHistoricalPrices
tags:
- Prices
parameters:
- name: timestamp
in: path
required: true
description: UNIX timestamp of time when you want historical prices
schema:
type: number
example: 1648680149
- name: coins
in: path
required: true
description: 'Comma-separated tokens defined as {chain}:{address}
'
schema:
type: string
example: arbitrum:0x431402e8b9de9aa016c743880e04e517074d8cec
- name: searchWidth
in: query
required: false
description: Time range on either side to find price data
schema:
type: string
example: 4h
responses:
'200':
description: Historical token prices
content:
application/json:
schema:
$ref: '#/components/schemas/CoinPrices'
components:
schemas:
CoinPrices:
type: object
properties:
coins:
type: object
additionalProperties:
type: object
properties:
decimals:
type: integer
price:
type: number
symbol:
type: string
timestamp:
type: integer
externalDocs:
description: DefiLlama API Documentation
url: https://defillama.com/docs/api