Skip to main content
GET
Stablecoins in DeFi Lending - Aggregate Insights

Authorizations

x-api-key
string
header
default:API_KEY
required

Headers

x-amberdata-blockchain-id
enum<string>

[Optional] The id of the blockchain for which you want data from. Defaults to ethereum-mainnet if not specified.

Available options:
ethereum-mainnet,
avalanche-mainnet,
arbitrum-mainnet,
optimism-mainnet

Path Parameters

assetSymbol
enum<string>
default:USDC
required
Available options:
USDC,
USDT,
DAI,
BUSD,
TUSD

Query Parameters

startDate
string<date-time>

[Optional] Payload only includes data after this date (inclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

endDate
string<date-time>

[Optional] Payload only includes data after this date (inclusive).
[Formats] seconds | milliseconds | iso8601
[Examples] 1578531600 | 1578531600000 | 2020-09-01T01:00:00

timeInterval
enum<string>
default:days

Determines whether the metrics are aggregated by hour or by day.

Available options:
days,
hours
protocol
enum<string>

Drill down into the stablecoin's metrics by specifying a protocol.

Available options:
aavev2,
aavev3,
makerdao,
compoundv2,
compoundv3
timeFormat
enum<string>
default:hr

[Optional] Time format of the timestamps in the return payload.

Available options:
milliseconds,
ms,
iso,
iso8601,
hr,
human_readable

Response

200 - application/json

200

status
integer
Example:

200

title
string
Example:

"OK"

description
string
Example:

"Successful request"

payload
object