Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hegic Prices API

Token price data

Hegic Prices API is one of 10 APIs that Hegic publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Prices. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 2 operations across 2 paths, and defines 1 schema. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://api.arbiscan.io/api.

2 operations 2 paths 1 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://api.llama.fi
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Hegic Prices API declares 1 security scheme for authenticating requests. An API key is passed in the query as apikey (ApiKeyQuery). By default, every request must be authenticated.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Prices 2

Token price data

GET
/prices/current/{coins}
Get current token prices
getCurrentPrices 2 params → 200
GET
/prices/historical/{timestamp}/{coins}
Get historical token prices
getHistoricalPrices 3 params → 200

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is CoinPrices (1 property). Each schema is shown below with its type and property counts.

CoinPrices
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hegic-prices-api-openapi.yml Raw ↑

Other APIs Hegic publishes across the network.

Arbiscan Token API
Hegic Options Subgraph API
Hegic Smart Contracts (Arbitrum)
Hegic Accounts API
Hegic Contracts API
Hegic Fees API
Hegic Options API
Hegic Tokens API
Hegic TVL API