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

THORChain History API

The History API from THORChain — 12 operation(s) for history.

THORChain History API is one of 65 APIs that THORChain publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include History. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 12 operations across 12 paths, and defines 45 schemas. It is described by OpenAPI 3.0.0, at version 3.19.1.

Requests are made against the base URL https://gateway.liquify.com/chain/thorchain_api.

12 operations 12 paths 45 schemas 12 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
3.19.1
Base URL
https://gateway.liquify.com/chain/thorchain_api
Resource Areas
1

Paths & Operations 12

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

History 12
GET
/v2/history/affiliate
Affiliate earnings History
GetAffiliateHistory 5 params → 200
GET
/v2/history/affiliate/earnings
Affiliate Liquidity Fee Earnings History
GetAffiliateEarning 5 params → 200
GET
/v2/history/affiliate/stats
Affiliate Volume Stats
GetAffiliateStats 5 params → 200
GET
/v2/history/depths/{pool}
Depth and Price History
GetDepthHistory 5 params → 200
GET
/v2/history/earnings
Earnings History
GetEarningsHistory 4 params → 200
GET
/v2/history/liquidity_changes
Liquidity Changes History
GetLiquidityHistory 5 params → 200
GET
/v2/history/reserve
Reserve income and expenses over bucketed history
GetReserveHistory 4 params → 200
GET
/v2/history/rune
Rune price history in USD
GetRunePriceHistory 4 params → 200
GET
/v2/history/runepool
RUNEPool total members and units History
GetRUNEPoolHistory 4 params → 200
GET
/v2/history/savers/{pool}
Savers Units and Depth History
GetSaversHistory 5 params → 200
GET
/v2/history/swaps
Swaps History
GetSwapHistory 5 params → 200
GET
/v2/history/tvl
Total Value Locked History
GetTVLHistory 4 params → 200

Schemas 45

The contract defines 45 schemas that model the data the API accepts and returns. The most detailed are SwapHistoryItem (48 properties), DepthHistoryItem (16 properties), DepthHistoryMeta (14 properties), LiquidityHistoryItem (12 properties). Each schema is shown below with its type and property counts.

ItemThorname
object
4 properties 4 required
EarningsHistoryItem
object
10 properties 10 required
TVLHistoryItem
object
7 properties 5 required
RUNEPoolHistoryIntervals
array
SaversHistoryMeta
object
8 properties 8 required
ReserveMeta
object
5 properties 5 required
LiquidityHistory
object
2 properties 2 required
DepthHistory
object
2 properties 2 required
LiquidityHistoryItem
object
12 properties 12 required
AffiliateEarningItem
object
4 properties 4 required
AffiliateEarningInterval
object
6 properties 6 required
SaversHistoryIntervals
array
DepthHistoryMeta
object
14 properties 14 required
AffiliateStatsItem
object
5 properties 5 required
RunePriceMeta
object
4 properties 4 required
AffiliateHistoryItem
object
6 properties 6 required
AffiliateHistoryIntervals
array
DepthHistoryItem
object
16 properties 12 required
EarningsHistoryIntervals
array
RUNEPoolHistoryItem
object
5 properties 4 required
ReserveIntervals
array
SaversHistoryItem
object
5 properties 5 required
EarningsHistoryItemPool
object
pool earnings data during the time interval
7 properties 7 required
AffiliateHistory
object
2 properties 2 required
DepthHistoryIntervals
array
SwapHistoryItem
object
48 properties 48 required
SaversHistory
object
2 properties 2 required
AffiliateEarning
array
SwapHistory
object
2 properties 2 required
SwapHistoryIntervals
array
RUNEPoolHistoryMeta
object
6 properties 6 required
TVLHistoryIntervals
array
DepthHistoryItemPool
object
2 properties 2 required
RUNEPoolHistory
object
2 properties 2 required
ReserveHistory
object
2 properties 2 required
AffiliateStatItem
object
3 properties 3 required
ReserveItem
object
5 properties 5 required
AffiliateHistoryMeta
object
5 properties 5 required
AffiliateStats
array
TVLHistory
object
2 properties 2 required
EarningsHistory
object
2 properties 2 required
RunePriceIntervals
array
RunePriceItem
object
3 properties 3 required
LiquidityHistoryIntervals
array
RunePriceHistory
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thorchain-history-api-openapi.yml Raw ↑

Other APIs THORChain publishes across the network.

THORChain Actions API
THORChain AGENTS.md API
THORChain Auth API
THORChain Balance API
THORChain Bank API
THORChain Block API
THORChain Bonds API
THORChain Borrower API
THORChain Borrowers API
THORChain Churns API
THORChain Clout API
THORChain Codes API