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

Re TVL API

Total value locked and capital metrics

Re TVL API is one of 5 APIs that Re publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

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

This API exposes 4 operations across 4 paths, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.re.xyz.

4 operations 4 paths 2 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.re.xyz
Resource Areas
1

Paths & Operations 4

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

TVL 4

Total value locked and capital metrics

GET
/tvl
Latest values of every TVL metric
getTvl → 200
GET
/tvl/{metric}
Latest value of one TVL metric
getTvlMetric 1 param → 200
GET
/tvl/{metric}/history
Daily history of one TVL metric
getTvlMetricHistory 2 params → 200
GET
/tvl/history
Historical values of every TVL metric
getTvlHistory → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are TvlResponse (3 properties), MetricValue (3 properties). Each schema is shown below with its type and property counts.

MetricValue
object
3 properties
TvlResponse
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

re-tvl-api-openapi.yml Raw ↑

Other APIs Re publishes across the network.

Re General API
Re Points API
Re Supply API
Re Wallet API