JUMP TOAmberdata APIGetting StartedAuthentication & HeadersSupported BlockchainsBlockchain Decimals & DenominationsResponses - Error CodesData TypesQuery ParametersPaginationSubscription PlansAPI VersioningMarket Data Endpoint MigrationLegacy Market Data EndpointsAMBERLENSDatasets InformationgetGet DatasetgetDefiOverviewInformation - Lending ProtocolsgetInformation - Assets in Lending ProtocolsgetInformation - DEX ProtocolsgetInformation - Pairs in DEX ProtocolsgetLending - All TransactionsProtocol LensgetAsset LensgetWallet LensgetGovernance LensgetLending - MetricsLending Protocol Summary MetricsgetLending Asset Summary MetricsgetDEX - All TransactionsProtocol LensgetPool LensgetWallet LensgetDEX - TradesInformationgetTrades HistoricalgetDEX - LiquidityInformationgetLatestgetHistoricalgetSnapshotsgetUniswap v3 Liquidity DistributiongetDEX - Liquidity ProvidersPool ProvidersgetProvider PositionsgetProvider EventsgetDEX - OHLCVInformationgetLatestgetHistoricalgetDEX - MetricsExchanges LatestgetExchanges HistoricalgetAssets LatestgetAssets HistoricalgetPairs LatestgetPairs HistoricalgetDEX - Price/TWAP/VWAPAssets InformationgetAssets LatestgetAssets HistoricalgetPairs InformationgetPairs LatestgetPairs HistoricalgetGlobal TWAP - Assets InformationgetGlobal TWAP - Assets LatestgetGlobal TWAP - Assets HistoricalgetGlobal TWAP - Pairs InformationgetGlobal TWAP - Pairs LatestgetGlobal TWAP - Pairs HistoricalgetGlobal VWAP - Assets InformationgetGlobal VWAP - Assets LatestgetGlobal VWAP - Assets HistoricalgetGlobal VWAP - Pairs InformationgetGlobal VWAP - Pairs LatestgetGlobal VWAP - Pairs HistoricalgetPortfolio & ReturnsProvider Return Since InceptiongetProvider Historical ReturngetPool Total ReturngetTrack Positions - Lending WalletsgetProfit & Loss Analytics in DeFi LendinggetImpermanent Loss & DEX ReturnsgetStablecoinsStablecoins in DeFi Lending - Aggregate InsightsgetMarket DataSpotExchanges & PairsInstrumentsgetReferencegetOrder BooksInformationgetSnapshots HistoricalgetEvents/Updates HistoricalgetTickersInformationgetHistoricalgetTradesInformationgetHistoricalgetOHLCVInformationgetHistoricalgetBatch HistoricalgetPriceAssets InformationgetAssets LatestgetAssets HistoricalgetPairs InformationgetPairs LatestgetPairs HistoricalgetTWAPGlobal TWAP - Assets InformationgetGlobal TWAP - Assets LatestgetGlobal TWAP - Assets HistoricalgetGlobal TWAP - Pairs InformationgetGlobal TWAP - Pairs LatestgetGlobal TWAP - Pairs HistoricalgetVWAPGlobal VWAP - Assets InformationgetGlobal VWAP - Assets LatestgetGlobal VWAP - Assets HistoricalgetGlobal VWAP - Pairs InformationgetGlobal VWAP - Pairs LatestgetGlobal VWAP - Pairs HistoricalgetReference RatesHourly & Daily Reference RatesgetOptionsExchangesInstrumentsgetReferencegetLiquidationsInformationgetHistoricalgetOHLCVInformationgetHistoricalgetBatch HistoricalgetOpen InterestInformationgetHistoricalgetBatch HistoricalgetOrder BooksEvents InformationgetEvents HistoricalgetSnapshots InformationgetSnapshots HistoricalgetTickersInformationgetHistoricalgetTradesInformationgetHistoricalgetFutures/SwapsExchangesInstrumentsgetReferencegetFunding RatesInformationgetHistoricalgetBatch HistoricalgetBatch Historical (SWAPS only)getInsurance FundsInformationgetHistoricalgetLiquidationsInformationgetHistoricalgetLong/Short RatioInformationgetHistoricalgetOHLCVInformationgetHistoricalgetBatch HistoricalgetBatch Historical (SWAPS only)getOpen InterestInformationgetHistoricalgetBatch HistoricalgetBatch Historical (SWAPS only)getOrder BooksInformationgetEvents/Updates HistoricalgetSnapshots HistoricalgetTickersInformationgetHistoricalgetTradesInformationgetHistoricalgetMarket MetricsCEX MetricsExchange Volume LatestgetExchange Volume HistoricalgetAsset Volume LatestgetAsset Volume HistoricalgetPair Volume LatestgetPair Volume HistoricalgetRankingsAsset Rankings LatestgetAsset Rankings HistoricalgetMarketcapgetToken Rankings LatestgetToken Rankings HistoricalgetSupplyLatestgetHistoricalgetToken PricesLatestgetHistoricalgetDerivatives AnalyticsInformationOptions InstrumentsgetFutures/PerpetualsApr-Basis Constant MaturitygetApr-Basis Live Term StructuregetFunding Realized/AccumulatedgetLiquidations Aggregate (Futures and Perpetuals)getOpen InterestgetVolumesgetRealized VolatilityPairs InformationgetCorrelation, Beta and Realized VolatilitygetMonthly versus Daily Volatility RatiogetSeasonality: Volatility Day of WeekgetSeasonality: Volatility Month of the YeargetVolatility ConesgetVolatilityLevel 1 QuotesgetDelta Surfaces ConstantgetDelta Surfaces FloatinggetImplied (vs) RealizedgetTerm Structures ConstantgetTerm Structures FloatinggetTerm Structures RichnessgetVolatility IndexgetVolatility Index DecoratedgetVolatility Index VRP (variance risk premium)getVolatility of Volatility (DVol Index)getVolatility Metrics (24 hr)getSVI - HistoricalgetTrades / FlowBlock VolumesgetDecorated TradesgetInstruments Most TradedgetPut Call Trades DistributiongetGamma Normalized in USDgetGamma Snapshots (GEX)getOptions YieldsgetTop TradesgetVolume AggregatesgetTradFi: ETFs and Crypto related EquitiesInformationOptions InstrumentsgetRealized VolatilityRealized Volatility (Close-to-Close)getVolatility ConesgetVolatilityLevel 1 QuotesgetDelta Surfaces ConstantgetImplied (vs) RealizedgetTerm Structures ConstantgetVolatility Metrics (24 hr)getTrades / FlowDaily VolumesgetBlockchainsMetricsMetricsgetBlockchain AddressesPortfoliogetBalancesBalance LatestgetBalance HistoricalgetBalance & Tokens LatestgetBalances BatchgetInternal Messages & LogsInternal MessagesgetLogsgetTokensBalances LatestgetBalances HistoricalgetTransfersgetTransactionsTransactionsgetBlockchain BlocksMetricsHistoricalgetBlockchain ContractsContractsDetailsgetBlockchain TokensHoldersLatestgetMetricsMetrics HistoricalgetSupplyHistoricalgetTransfersTransfersgetBlockchain TransactionsMetricsMetrics LatestgetMetrics HistoricalgetTokensToken TransfersgetWebSocketsOverviewConnectionSupported BlockchainsSubscriptions FormatSubscriptions PlansBlockchain DataAddressesaddress:functionsaddress:internal_messagesaddress:logsaddress:new_contractsaddress:token_transfersaddress:transactionsBlocksblockInternal Messagesfunctioninternal_messageTokenstoken_transferDEFI dataOHLCVmarket:dex:ohlcvLiquiditymarket:dex:liquidityPricesmarket:dex:pricesTradesmarket:dex:tradesVWAPmarket:dex:vwapMarket data (CEX)SpotOHLCVmarket:spot:ohlcvOrder Booksmarket:spot:order:eventsmarket:spot:order:snapshotsPricesmarket:spot:pricesmarket:spot:prices:updatesTickersmarket:spot:tickersTradesmarket:spot:tradesOptionsLiquidationsmarket:options:liquidationsOHLCVmarket:options:ohlcvOpen Interestmarket:options:open_interestsmarket:options:open_interest:cmeOrder Booksmarket:options:order:eventsmarket:options:order:snapshotsTickersmarket:options:tickersmarket:options:tickers:cmeTradesmarket:options:tradesmarket:options:trades:cmeFuturesFunding Ratesmarket:futures:funding_ratesInsurance Fundsmarket:futures:insurance_fundsLiquidationsmarket:futures:liquidationsLong/Short Ratiosmarket:futures:long_short_ratiosOHLCVmarket:futures:ohlcvOpen Interestmarket:futures:open_interestsmarket:futures:open_interest:cmeOrder Booksmarket:futures:order:eventsmarket:futures:order:snapshotsTickersmarket:futures:tickersmarket:futures:tickers:cmeTradesmarket:futures:tradesmarket:futures:trades:cmeJSON RPCOverviewInformationamb_supportedMethodsAuthentication & HeadersSupported BlockchainsUTXO - BitcoinBlocksgetbestblockhashgetblockgetblockcountgetblockhashgetblockheadergetblockstatsInformationgetblockchaininfogetchaintipsgetchaintxstatsgetconnectioncountgetdifficultyMempoolgetmempoolancestorsgetmempooldescendantsgetmempoolinfogetmempoolentrygetrawmempoolTransactions - ReadgetrawtransactiongettxoutgettxoutproofTransactions - WritecreaterawtransactiondecoderawtransactiondecodescriptsendrawtransactiontestmempoolacceptAccount Based - EthereumAccountseth_getBalanceBlockseth_blockNumbereth_getBlockByHasheth_getBlockByNumberContractseth_calleth_getCodeeth_getLogseth_getProofeth_getStorageAtInformationeth_estimateGaseth_feeHistoryeth_gasPriceeth_getWorketh_miningeth_protocolVersioneth_syncingTransactions - Readeth_getBlockTransactionCountByHasheth_getBlockTransactionCountByNumbereth_getTransactionByBlockHashAndIndexeth_getTransactionByBlockNumberAndIndexeth_getTransactionByHasheth_getTransactionCounteth_getTransactionReceiptTransactions - Writeeth_sendRawTransactionUncleseth_getUncleByBlockHashAndIndexeth_getUncleByBlockNumberAndIndexeth_getUncleCountByBlockHasheth_getUncleCountByBlockNumberPowered by Portfolio & ReturnsFor DeFi, Amberdata offers APIs that compute impermanent loss and returns for DEXes and lending protocols.