### GET /etfs/overview Source: https://context7_llms Provides an overview of TradFi crypto ETFs. ```APIDOC ## GET /etfs/overview ### Description Provides an overview of TradFi crypto ETFs. ### Method GET ### Endpoint /etfs/overview ### Parameters None ### Response #### Success Response (200) - **etfList** (array) - An array of ETF overview objects. - **timestamp** (number) - The timestamp of the data. - **timestamp_as_of** (number) - The timestamp as of which the data is accurate. - **ticker** (string) - The ETF ticker symbol. - **issuer** (string) - The issuer of the ETF. - **etf_name** (string) - The full name of the ETF. - **etf_type** (string) - The type of ETF (e.g., "spot"). - **custodian** (string) - The custodian of the ETF. - **pct_fee** (number) - The percentage fee of the ETF. - **url** (string) - The URL to the ETF's product page. - **price** (number) - The current price of the ETF. - **volume** (number) - The trading volume of the ETF. - **shares** (number) - The number of shares outstanding. - **underlying** (null) - Information about the underlying asset (currently null). - **underlying_price** (number) - The price of the underlying asset. - **aum** (number) - The Assets Under Management (AUM) of the ETF. - **flows** (number) - The net flows into the ETF. #### Response Example ```json [ { "timestamp": 1732278611, "timestamp_as_of": 1732147200, "ticker": "IBIT", "issuer": "Blackrock", "etf_name": "iShares Bitcoin Trust", "etf_type": "spot", "custodian": "Coinbase", "pct_fee": 0.25, "url": "https://www.blackrock.com/us/individual/products/333011/ishares-bitcoin-trust", "price": 55.9, "volume": 5105037034.5, "shares": 846080000, "underlying": null, "underlying_price": 98855, "aum": 47313346647, "flows": 645378400 } ] ``` ``` -------------------------------- ### GET /etfs/overviewEth Source: https://context7_llms Provides an overview of Ethereum-based TradFi crypto ETFs. ```APIDOC ## GET /etfs/overviewEth ### Description Provides an overview of Ethereum-based TradFi crypto ETFs. ### Method GET ### Endpoint /etfs/overviewEth ### Parameters None ### Response #### Success Response (200) - **etfList** (array) - An array of Ethereum ETF overview objects. The structure is similar to `/etfs/overview` but specific to Ethereum ETFs. #### Response Example (Similar structure to `/etfs/overview` but for Ethereum ETFs) ``` -------------------------------- ### GET /api/raises Source: https://context7_llms Retrieves a database of funding rounds for various projects. ```APIDOC ## GET /api/raises ### Description Retrieves a database of funding rounds for various projects. ### Method GET ### Endpoint /api/raises ### Parameters None ### Response #### Success Response (200) - **raises** (array) - An array of funding round objects. - **date** (number) - The timestamp of the funding round. - **name** (string) - The name of the project that received funding. - **round** (string) - The type of funding round (e.g., "Strategic"). - **amount** (number) - The amount of funding in millions. - **chains** (array) - An array of blockchain networks the project is on. - **sector** (string) - A description of the project's sector. - **category** (string) - The category of the project (e.g., "DeFi"). - **categoryGroup** (string) - The broader category group (e.g., "DeFi & CeFi"). - **source** (string) - The source URL for the funding information. - **leadInvestors** (array) - An array of lead investors. - **otherInvestors** (array) - An array of other investors. - **valuation** (null) - The valuation of the project at the time of funding (currently null). - **defillamaId** (string) - The DefiLlama ID for the project. #### Response Example ```json { "raises": [ { "date": 1740528000, "name": "Ethena Labs", "round": "Strategic", "amount": 16, "chains": [ "Ethereum" ], "sector": "Ethena is a synthetic dollar protocol built on Ethereum", "category": "DeFi", "categoryGroup": "DeFi & CeFi", "source": "https://www.benzinga.com/pressreleases/25/02/g43966782/mexc-invests-20-million-in-usde-to-drive-stablecoin-adoption-launches-1-000-000-reward-event", "leadInvestors": [ "MEXC Ventures" ], "otherInvestors": [], "valuation": null, "defillamaId": "parent#ethena" } ] } ``` ``` -------------------------------- ### GET /api/overview/options Source: https://context7_llms Retrieves an overview of options trading volumes across different protocols. ```APIDOC ## GET /api/overview/options ### Description Retrieves an overview of options trading volumes across different protocols. ### Method GET ### Endpoint /api/overview/options ### Parameters #### Query Parameters - **excludeTotalDataChart** (boolean) - Optional - Excludes the total data chart from the response. - **excludeTotalDataChartBreakdown** (boolean) - Optional - Excludes the breakdown of total data chart from the response. ### Response #### Success Response (200) - **totalPremiumVolume** (number) - The total premium volume across all options protocols. - **totalNotionalVolume** (number) - The total notional volume across all options protocols. - **protocols** (array) - A list of options protocols and their trading volumes. - **name** (string) - The name of the options protocol. - **premiumVolume24h** (number) - The premium volume in the last 24 hours for the protocol. - **notionalVolume24h** (number) - The notional volume in the last 24 hours for the protocol. - **chains** (array) - A list of chains the protocol is deployed on. #### Response Example ```json { "totalPremiumVolume": 500000000, "totalNotionalVolume": 10000000000, "protocols": [ { "name": "Lyra", "premiumVolume24h": 5000000, "notionalVolume24h": 100000000, "chains": ["Ethereum", "Optimism"] } ] } ``` ``` -------------------------------- ### GET /api/overview/options/{chain} Source: https://context7_llms Retrieves options trading volumes for a specific chain. ```APIDOC ## GET /api/overview/options/{chain} ### Description Retrieves options trading volumes for a specific chain. ### Method GET ### Endpoint /api/overview/options/{chain} ### Parameters #### Path Parameters - **chain** (string) - Required - The name of the chain. #### Query Parameters - **excludeTotalDataChart** (boolean) - Optional - Excludes the total data chart from the response. - **excludeTotalDataChartBreakdown** (boolean) - Optional - Excludes the breakdown of total data chart from the response. ### Response #### Success Response (200) (Response structure is similar to `/api/overview/options` but filtered for the specified chain.) ``` -------------------------------- ### GET /usage/APIKEY Source: https://context7_llms Check the current API usage associated with your API key. ```APIDOC ## GET /usage/APIKEY ### Description Check API usage associated with your API key. ### Method GET ### Endpoint `/usage/APIKEY` ### Parameters *No parameters required for this endpoint.* ### Request Example *No request body is typically sent for a GET request.* ### Response *Response format for this endpoint is not provided in the input.* ``` -------------------------------- ### GET /api/overview/fees Source: https://context7_llms Provides an overview of protocol fees and revenue across different DeFi protocols. ```APIDOC ## GET /api/overview/fees ### Description Provides an overview of protocol fees and revenue across different DeFi protocols. ### Method GET ### Endpoint /api/overview/fees ### Base URL https://pro-api.llama.fi ### Parameters #### Query Parameters - **excludeTotalDataChart** (boolean) - Optional - Excludes the total data chart from the response. - **excludeTotalDataChartBreakdown** (boolean) - Optional - Excludes the breakdown of total data chart from the response. - **dataType** (string) - Optional - Specifies the type of data to retrieve. Accepted values: "dailyFees" | "dailyRevenue" | "dailyHoldersRevenue" ### Response #### Success Response (200) - **totalFees24h** (number) - The total fees generated in the last 24 hours. - **totalRevenue24h** (number) - The total revenue generated in the last 24 hours. - **change_1d** (number) - The percentage change in fees over the last 24 hours. - **protocols** (array) - A list of protocols and their fee/revenue data. - **name** (string) - The name of the protocol. - **fees24h** (number) - The fees generated in the last 24 hours. - **revenue24h** (number) - The revenue generated in the last 24 hours. - **chains** (array) - A list of chains the protocol is deployed on. - **breakdown24h** (object) - Fee/revenue breakdown for the last 24 hours by chain and asset. - **breakdown30d** (object) - Fee/revenue breakdown for the last 30 days by chain and asset. #### Response Example ```json { "totalFees24h": 5000000, "totalRevenue24h": 2500000, "change_1d": 8.3, "protocols": [ { "name": "Uniswap", "fees24h": 2000000, "revenue24h": 0, "chains": ["Ethereum", "Arbitrum"], "breakdown24h": { "ethereum": { "WBTC": 0 } }, "breakdown30d": { "ethereum": { "WBTC": 37283 } } } ] } ``` ``` -------------------------------- ### GET /bridges Source: https://context7_llms Lists all available bridges and their associated data. ```APIDOC ## GET /bridges ### Description Lists all available bridges and their associated data. ### Method GET ### Endpoint /bridges ### Parameters #### Query Parameters - **includeChains** (boolean) - Optional - Include chain breakdown for each bridge. ### Response #### Success Response (200) - **bridges** (array) - An array of bridge objects. - **id** (number) - The unique identifier for the bridge. - **name** (string) - The internal name of the bridge. - **displayName** (string) - The display name of the bridge. - **icon** (string) - The icon identifier for the bridge. - **volumePrevDay** (number) - The volume bridged in the previous day. - **volumePrev2Day** (number) - The volume bridged in the previous two days. - **lastHourlyVolume** (number) - The volume bridged in the last hour. - **last24hVolume** (number) - The total volume bridged in the last 24 hours. #### Response Example ```json { "bridges": [ { "id": 80, "name": "hyperliquid", "displayName": "Hyperliquid", "icon": "icons:hyperliquid", "volumePrevDay": 245562283.16810948, "volumePrev2Day": 205702464.62591228, "lastHourlyVolume": 0, "last24hVolume": 245562283.16810948 } ] } ``` ``` -------------------------------- ### GET /coins/prices/first/{coins} Source: https://context7_llms Retrieves the first recorded price for a list of coins. ```APIDOC ## GET /coins/prices/first/{coins} ### Description Retrieves the first recorded price for a list of coins. ### Method GET ### Endpoint `/coins/prices/first/{coins}` ### Parameters #### Path Parameters - **coins** (string) - Required - A comma-separated list of coins, formatted as "chain:address". ### Response #### Success Response (200) - **coins** (object) - An object where keys are coin identifiers. - **coinIdentifier** (object) - Represents a specific coin. - **price** (number) - The first recorded price of the coin in USD. - **timestamp** (number) - Unix timestamp of the first recorded price. - **symbol** (string) - The trading symbol of the coin. #### Response Example ```json { "coins": { "ethereum:0x...": { "price": 1.0, "timestamp": 1598918400, "symbol": "USDC" } } } ``` ``` -------------------------------- ### GET /api/chainAssets Source: https://context7_llms Provides a breakdown of assets across all chains, categorized into canonical, native, and third-party. ```APIDOC ## GET /api/chainAssets ### Description Provides a breakdown of assets across all chains, categorized into canonical, native, and third-party. ### Method GET ### Endpoint `/api/chainAssets` ### Parameters #### Query Parameters None ### Response #### Success Response (200) - **chainName** (object) - An object representing a specific chain. - **canonical** (object) - Assets that are officially recognized or have a native representation on the chain. - **total** (string) - Total value of canonical assets. - **breakdown** (object) - Breakdown of canonical assets by symbol. - **symbol** (string) - Value of the asset. - **native** (object) - Assets native to the chain. - **total** (string) - Total value of native assets. - **breakdown** (object) - Breakdown of native assets by symbol. - **symbol** (string) - Value of the asset. - **thirdParty** (object) - Assets from external protocols or bridges. - **total** (string) - Total value of third-party assets. - **breakdown** (object) - Breakdown of third-party assets by symbol. - **symbol** (string) - Value of the asset. - **timestamp** (number) - Unix timestamp of the data. #### Response Example ```json { "Ethereum": { "canonical": { "total": "4482065428.83", "breakdown": { "USDT": "2000000000", "USDC": "1500000000" } }, "native": { "total": "10848868127.01", "breakdown": { "ETH": "10000000000" } }, "thirdParty": { "total": "3182802062.49", "breakdown": { "WBTC": "2000000000" } } }, "timestamp": 1752843956 } ``` ``` -------------------------------- ### GET /coins/prices/current/{coins} Source: https://context7_llms Fetches the current prices for a specified list of coins. ```APIDOC ## GET /coins/prices/current/{coins} ### Description Fetches the current prices for a specified list of coins. ### Method GET ### Endpoint `/coins/prices/current/{coins}` ### Parameters #### Path Parameters - **coins** (string) - Required - A comma-separated list of coins, formatted as "chain:address" (e.g., "ethereum:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"). #### Query Parameters - **searchWidth** (string) - Optional - The time range to search for the price (e.g., "4h", "24h"). ### Response #### Success Response (200) - **coins** (object) - An object containing price information for each requested coin. - **coinIdentifier** (object) - Represents a specific coin. - **decimals** (number) - The number of decimal places for the coin's value. - **symbol** (string) - The trading symbol of the coin. - **price** (number) - The current price of the coin in USD. - **timestamp** (number) - Unix timestamp of the price data. - **confidence** (number) - A confidence score for the price data. #### Response Example ```json { "coins": { "ethereum:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48": { "decimals": 6, "symbol": "USDC", "price": 0.999, "timestamp": 1640995200, "confidence": 0.99 } } } ``` ``` -------------------------------- ### GET /etfs/history Source: https://context7_llms Retrieves historical data on ETF flows. ```APIDOC ## GET /etfs/history ### Description Retrieves historical data on ETF flows. ### Method GET ### Endpoint /etfs/history ### Parameters None ### Response #### Success Response (200) - **historyData** (array) - An array of historical ETF flow objects. - **timestamp** (number) - The timestamp of the data. - **timestamp_exact** (number) - The exact timestamp of the data. - **ticker** (string) - The ETF ticker symbol. - **price** (number) - The price of the ETF. - **volume** (number) - The trading volume. - **aum** (number) - The Assets Under Management (AUM). - **underlying** (null) - Information about the underlying asset (currently null). - **shares** (number) - The number of shares. - **underlying_price** (number) - The price of the underlying asset. - **flows** (null) - The net flows into the ETF (currently null). #### Response Example ```json [ { "timestamp": 1704931200, "timestamp_exact": 1705017598, "ticker": "ARKB", "price": 46.76, "volume": 279749462.16, "aum": 46855730.4, "underlying": null, "shares": 1002047.271171942, "underlying_price": 46396, "flows": null } ] ``` ``` -------------------------------- ### GET /api/v2/historicalChainTvl Source: https://context7_llms Retrieves historical TVL data for all chains over time. ```APIDOC ## GET /api/v2/historicalChainTvl ### Description Retrieves historical TVL data for all chains over time. ### Method GET ### Endpoint `/api/v2/historicalChainTvl` ### Parameters #### Query Parameters None ### Response #### Success Response (200) - **date** (number) - Unix timestamp for the data point. - **tvl** (object) - An object containing TVL for each chain at the given date. - **chainName** (number) - TVL for a specific chain in USD. #### Response Example ```json [ { "date": 1640995200, "tvl": { "Ethereum": 150000000000, "BSC": 20000000000 } } ] ``` ``` -------------------------------- ### GET /api/overview/derivatives Source: https://context7_llms Retrieves an aggregation of derivatives market data, including total volumes and open interest. ```APIDOC ## GET /api/overview/derivatives ### Description Retrieves an aggregation of derivatives market data, including total volumes and open interest. ### Method GET ### Endpoint /api/overview/derivatives ### Base URL https://pro-api.llama.fi ### Parameters None ### Response #### Success Response (200) - **totalVolume24h** (number) - The total derivatives trading volume in the last 24 hours. - **totalOpenInterest** (number) - The total open interest in the derivatives market. - **change_1d** (number) - The percentage change in volume over the last 24 hours. - **protocols** (object) - An object containing data for individual derivatives protocols. - **[protocol_slug]** (object) - Data for a specific protocol. - **volume24h** (number) - The trading volume in the last 24 hours for the protocol. - **openInterest** (number) - The open interest for the protocol. - **chains** (array) - A list of chains the protocol is deployed on. #### Response Example ```json { "totalVolume24h": 5000000000, "totalOpenInterest": 2000000000, "change_1d": 10.5, "protocols": { "gmx": { "volume24h": 1000000000, "openInterest": 500000000, "chains": ["Arbitrum", "Avalanche"] } } } ``` ``` -------------------------------- ### GET /etfs/historyEth Source: https://context7_llms Retrieves historical data on Ethereum ETF flows. ```APIDOC ## GET /etfs/historyEth ### Description Retrieves historical data on Ethereum ETF flows. ### Method GET ### Endpoint /etfs/historyEth ### Parameters None ### Response #### Success Response (200) - **historyData** (array) - An array of historical Ethereum ETF flow objects. The structure is similar to `/etfs/history` but specific to Ethereum ETFs. #### Response Example (Similar structure to `/etfs/history` but for Ethereum ETFs) ``` -------------------------------- ### GET /api/summary/fees/{protocol} Source: https://context7_llms Retrieves detailed fee and revenue data for a specific DeFi protocol. ```APIDOC ## GET /api/summary/fees/{protocol} ### Description Retrieves detailed fee and revenue data for a specific DeFi protocol. ### Method GET ### Endpoint /api/summary/fees/{protocol} ### Parameters #### Path Parameters - **protocol** (string) - Required - Protocol slug. #### Query Parameters - **dataType** (string) - Optional - Specifies the type of data to retrieve. Accepted values: "dailyFees" | "dailyRevenue" | "dailyHoldersRevenue" ### Response #### Success Response (200) - **id** (string) - The unique identifier for the protocol. - **name** (string) - The name of the protocol. - **url** (string) - The URL of the protocol. - **referralUrl** (string) - The referral URL for the protocol. - **description** (string) - A brief description of the protocol. - **logo** (string) - The URL of the protocol's logo. #### Response Example ```json { "id": "parent#hyperliquid", "name": "Hyperliquid", "url": "https://hyperliquid.xyz", "referralUrl": "https://app.hyperliquid.xyz/join/DEFILLAMAO", "description": "Hyperliquid is a decentralized perpetual exchange with best-in-class speed, liquidity, and price", "logo": "https://icons.llama.fi/hyperliquid.png" } ``` ``` -------------------------------- ### GET /coins/percentage/{coins} Source: https://context7_llms Fetches the percentage change in price for specified coins. ```APIDOC ## GET /coins/percentage/{coins} ### Description Fetches the percentage change in price for specified coins. ### Method GET ### Endpoint `/coins/percentage/{coins}` ### Parameters #### Path Parameters - **coins** (string) - Required - A comma-separated list of coins, formatted as "chain:address". #### Query Parameters - **timestamp** (number) - Optional - The base Unix timestamp for comparison. - **lookForward** (boolean) - Optional - If true, looks forward instead of backward for the period. - **period** (string) - Optional - The time period for calculating the percentage change (e.g., "1d", "7d"). ### Response #### Success Response (200) - **coins** (object) - An object where keys are coin identifiers. - **coinIdentifier** (object) - Represents a specific coin. - **symbol** (string) - The trading symbol of the coin. - **price** (number) - The current price of the coin in USD. - **change** (number) - The percentage change in price. #### Response Example ```json { "coins": { "ethereum:0x...": { "symbol": "USDC", "price": 0.999, "change": -0.1 } } } ``` ``` -------------------------------- ### GET /api/overview/fees/{chain} Source: https://context7_llms Retrieves protocol fees and revenue data for a specific blockchain chain. ```APIDOC ## GET /api/overview/fees/{chain} ### Description Retrieves protocol fees and revenue data for a specific blockchain chain. ### Method GET ### Endpoint /api/overview/fees/{chain} ### Base URL https://pro-api.llama.fi ### Parameters #### Path Parameters - **chain** (string) - Required - The name of the chain. #### Query Parameters - **excludeTotalDataChart** (boolean) - Optional - Excludes the total data chart from the response. - **excludeTotalDataChartBreakdown** (boolean) - Optional - Excludes the breakdown of total data chart from the response. - **dataType** (string) - Optional - Specifies the type of data to retrieve. Accepted values: "dailyFees" | "dailyRevenue" | "dailyHoldersRevenue" ### Response #### Success Response (200) (Response structure is similar to `/api/overview/fees` but filtered for the specified chain.) ``` -------------------------------- ### Get Account Credits and Usage Source: https://context7_llms Retrieves information about your account's remaining credits, usage statistics, plan details, and rate limits. ```APIDOC ## GET /api/account/credits ### Description Retrieves information about your account's remaining credits, usage statistics, plan details, and rate limits. This endpoint does not require any specific path or query parameters, but it relies on an API key provided in the request headers for authentication. ### Method GET ### Endpoint /api/account/credits ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **creditsRemaining** (integer) - The number of credits currently available. - **creditsUsed** (integer) - The number of credits consumed. - **resetDate** (string) - The date when the credits will reset (YYYY-MM-DD). - **plan** (string) - The name of the current subscription plan (e.g., "pro"). - **rateLimit** (string) - The API rate limit for the current plan (e.g., "1000/hour"). - **endpoints** (array of strings) - A list of endpoints accessible with the current plan. #### Response Example ```json { "creditsRemaining": 95000, "creditsUsed": 5000, "resetDate": "2024-02-01", "plan": "pro", "rateLimit": "1000/hour", "endpoints": ["all"] } ``` ``` -------------------------------- ### GET /api/summary/options/{protocol} Source: https://context7_llms Retrieves specific data for an options trading protocol, including daily volume breakdowns. ```APIDOC ## GET /api/summary/options/{protocol} ### Description Retrieves specific data for an options trading protocol, including daily volume breakdowns. ### Method GET ### Endpoint /api/summary/options/{protocol} ### Parameters #### Path Parameters - **protocol** (string) - Required - Protocol slug. ### Response #### Success Response (200) - **name** (string) - The name of the options protocol. - **premiumVolume24h** (number) - The premium volume in the last 24 hours. - **notionalVolume24h** (number) - The notional volume in the last 24 hours. - **totalPremiumVolume** (number) - The total premium volume. - **totalNotionalVolume** (number) - The total notional volume. - **chains** (array) - A list of chains the protocol is deployed on. - **dailyPremiumVolume** (array) - Daily premium volume data. - **date** (integer) - The Unix timestamp for the date. - **volume** (number) - The premium volume for the day. - **dailyNotionalVolume** (array) - Daily notional volume data. - **date** (integer) - The Unix timestamp for the date. - **volume** (number) - The notional volume for the day. #### Response Example ```json { "name": "Lyra", "premiumVolume24h": 5000000, "notionalVolume24h": 100000000, "totalPremiumVolume": 250000000, "totalNotionalVolume": 5000000000, "chains": ["Ethereum", "Optimism"], "dailyPremiumVolume": [ { "date": 1640995200, "volume": 5000000 } ], "dailyNotionalVolume": [ { "date": 1640995200, "volume": 100000000 } ] } ``` ``` -------------------------------- ### GET /coins/chart/{coins} Source: https://context7_llms Retrieves price chart data for specified coins with configurable intervals. ```APIDOC ## GET /coins/chart/{coins} ### Description Retrieves price chart data for specified coins with configurable intervals. ### Method GET ### Endpoint `/coins/chart/{coins}` ### Parameters #### Path Parameters - **coins** (string) - Required - A comma-separated list of coins, formatted as "chain:address". #### Query Parameters - **period** (string) - Optional - The time period for the chart data (e.g., "1d", "7d", "30d", "90d", "180d", "365d"). - **span** (number) - Optional - The data point interval in hours. - **searchWidth** (string) - Optional - The search width. ### Response #### Success Response (200) - **coins** (object) - An object where keys are coin identifiers. - **coinIdentifier** (object) - Represents a specific coin. - **prices** (array) - An array of price objects with timestamps. - **timestamp** (number) - Unix timestamp. - **price** (number) - Price at the given timestamp. - **symbol** (string) - The trading symbol of the coin. - **confidence** (number) - A confidence score for the price data. #### Response Example ```json { "coins": { "ethereum:0x...": { "prices": [ {"timestamp": 1640995200, "price": 1.01} ], "symbol": "USDC", "confidence": 0.99 } } } ``` ``` -------------------------------- ### GET /api/summary/derivatives/{protocol} Source: https://context7_llms Retrieves specific data for a derivatives trading protocol, including daily volume and open interest. ```APIDOC ## GET /api/summary/derivatives/{protocol} ### Description Retrieves specific data for a derivatives trading protocol, including daily volume and open interest. ### Method GET ### Endpoint /api/summary/derivatives/{protocol} ### Base URL https://pro-api.llama.fi ### Parameters #### Path Parameters - **protocol** (string) - Required - Protocol slug. ### Response #### Success Response (200) - **name** (string) - The name of the derivatives protocol. - **volume24h** (number) - The trading volume in the last 24 hours. - **volume7d** (number) - The trading volume in the last 7 days. - **openInterest** (number) - The open interest for the protocol. - **totalVolume** (number) - The total trading volume. - **chains** (array) - A list of chains the protocol is deployed on. - **dailyVolume** (array) - Daily trading volume and open interest data. - **date** (integer) - The Unix timestamp for the date. - **volume** (number) - The trading volume for the day. - **openInterest** (number) - The open interest for the day. #### Response Example ```json { "name": "GMX", "volume24h": 1000000000, "volume7d": 7000000000, "openInterest": 500000000, "totalVolume": 50000000000, "chains": ["Arbitrum", "Avalanche"], "dailyVolume": [ { "date": 1640995200, "volume": 1000000000, "openInterest": 500000000 } ] } ``` ``` -------------------------------- ### GET /api/emission/{protocol} Source: https://context7_llms Retrieves the detailed vesting schedule for a specific protocol, including token allocation, unlock events, and metadata. ```APIDOC ## GET /api/emission/{protocol} ### Description Retrieves the detailed vesting schedule for a specific protocol. ### Method GET ### Endpoint /api/emission/{protocol} ### Parameters #### Path Parameters - **protocol** (string) - Required - The protocol slug (e.g., "hyperliquid"). ### Request Example None ### Response #### Success Response (200) - **body** (object) - Contains the vesting data. - **documentedData** (object) - Data related to documented unlocks. - **data** (array of objects) - Array of unlock events. - **label** (string) - Label for the unlock event (e.g., "Hyper Foundation Budget"). - **data** (array of objects) - Detailed data for each unlock. - **timestamp** (integer) - Unix timestamp of the unlock. - **unlocked** (number) - Amount unlocked. - **rawEmission** (number) - Raw emission amount. - **burned** (number) - Amount burned. - **tokenAllocation** (object) - Breakdown of token allocation percentages. - **current** (object) - Current allocation percentages. - **final** (object) - Final allocation percentages. - **progress** (object) - Progress percentages of allocations. - **metadata** (object) - Metadata about the vesting schedule. - **notes** (array of strings) - Important notes regarding the vesting schedule. - **token** (string) - The token identifier. - **sources** (array of strings) - URLs to sources for the data. - **protocolIds** (array of strings) - Internal IDs of the protocol. - **total** (number) - Total supply of the token. - **chain** (string) - The blockchain the token is associated with. - **name** (string) - The name of the protocol. - **gecko_id** (string) - The CoinGecko ID for the token. - **defillamaIds** (array of strings) - DefiLlama IDs for the protocol. - **categories** (object) - Categorization of token allocations. #### Response Example ```json { "body": { "documentedData": { "data": [ { "label": "Hyper Foundation Budget", "data": [ { "timestamp": 1732838400, "unlocked": 60000000, "rawEmission": 60000000, "burned": 0 } ] } ], "tokenAllocation": { "current": { "insiders": 16, "noncirculating": 0.8, "publicSale": 0, "airdrop": 82.5, "farming": 0.7 }, "final": { "insiders": 45.8, "noncirculating": 0.5, "publicSale": 0, "airdrop": 47.7, "farming": 6 }, "progress": { "insiders": 20.1, "noncirculating": 100, "publicSale": 100, "airdrop": 100, "farming": 6.5 } } }, "metadata": { "notes": [ "The Community Rewards schedule has been linearly extrapolated using the rate of unlocks as of 4 March 2025.", "The remaining allocation, not shown on the chart, belongs to Community Rewards. It has been excluded here to avoid obscuring the remaining data.", "Most vesting schedules will complete between 2027–2028; some will continue after 2028. Here we have used an end date of end of 2027.", "Although the full allocations for Hyper Foundation Budget and Community Grants were unlocked at TGE it is unclear what their spend rate is." ], "token": "coingecko:hyperliquid", "sources": [ "https://hyperfnd.medium.com/hype-genesis-1830a4dc2e3f" ], "protocolIds": [ "4481", "5448", "5507", "5761" ], "total": 1000000000, "chain": "hyperliquid", "name": "Hyperliquid", "gecko_id": "hyperliquid", "defillamaIds": [ "4481" ], "categories": { "insiders": [ "Core Contributors", "Hyper Foundation Budget" ], "noncirculating": [ "Community Grants" ], "publicSale": [ "HIP-2" ], "airdrop": [ "Genesis Distribution" ], "farming": [ "Community Rewards" ] } } } } ``` ``` -------------------------------- ### GET /dat/institutions Source: https://context7_llms Fetches comprehensive Digital Asset Treasury (DAT) data for all institutions, including NAV calculations. ```APIDOC ## GET /dat/institutions ### Description Fetches comprehensive Digital Asset Treasury (DAT) data for all institutions, including NAV calculations. ### Method GET ### Endpoint `/dat/institutions` ### Parameters None ### Request Example ```json { "example": "GET /dat/institutions" } ``` ### Response #### Success Response (200) - **institutionMetadata** (object) - A dictionary where keys are institution IDs and values contain metadata for each institution. - **institutionId** (integer) - The unique identifier for the institution. - **ticker** (string) - The stock ticker symbol for the institution. - **name** (string) - The name of the institution. - **type** (string) - The type of asset (e.g., "Stock"). - **price** (number) - The current price of the institution's stock. - **priceChange24h** (number) - The change in price over the last 24 hours. - **volume24h** (integer) - The trading volume over the last 24 hours. #### Response Example ```json { "institutionMetadata": { "1": { "institutionId": 1, "ticker": "MSTR", "name": "Strategy, Inc. (Formerly: MicroStrategy Inc.)", "type": "Stock", "price": 171.42, "priceChange24h": -3.25, "volume24h": 42770300 } } } ``` ``` -------------------------------- ### GET /api/inflows/{protocol}/{timestamp} Source: https://context7_llms Provides daily capital flows for a specific protocol, allowing analysis of inflows and outflows over time. ```APIDOC ## GET /api/inflows/{protocol}/{timestamp} ### Description Daily capital flows for a protocol. ### Method GET ### Endpoint /api/inflows/{protocol}/{timestamp} ### Parameters #### Path Parameters - **protocol** (string) - Required - Protocol slug - **timestamp** (number) - Required - Unix timestamp at 00:00 UTC ### Request Example None ### Response #### Success Response (200) - **outflows** (number) - Outflows in USD - **inflows** (number) - Inflows in USD - **oldTokens** (object) - Old tokens data - **currentTokens** (object) - Current tokens data #### Response Example ```json { "outflows": -160563462.23, "inflows": 145234567.89, "oldTokens": { "date": 1700005031, "tvl": {"USDC": 27302168.77, "WETH": 138751.92} }, "currentTokens": { "date": 1752771743, "tvl": {"USDC": 23936602.85, "WETH": 125432.11} } } ``` ``` -------------------------------- ### GET /api/summary/dexs/{protocol} Source: https://context7_llms Retrieves specific DEX protocol volumes, including daily, weekly, and monthly data, along with chain breakdowns. ```APIDOC ## GET /api/summary/dexs/{protocol} ### Description Retrieves specific DEX protocol volumes, including daily, weekly, and monthly data, along with chain breakdowns. ### Method GET ### Endpoint /api/summary/dexs/{protocol} ### Parameters #### Path Parameters - **protocol** (string) - Required - Protocol slug #### Query Parameters - **dataType** (string) - Optional - Specifies the type of data to retrieve. Accepted values: "dailyVolume" | "totalVolume" ### Response #### Success Response (200) - **id** (string) - The unique identifier for the protocol. - **name** (string) - The name of the DEX protocol. - **displayName** (string) - The display name of the DEX protocol. - **volume24h** (number) - The trading volume in the last 24 hours. - **volume7d** (number) - The trading volume in the last 7 days. - **volume30d** (number) - The trading volume in the last 30 days. - **totalVolume** (number) - The total trading volume. - **change_1d** (number) - The percentage change in volume over the last 24 hours. - **change_7d** (number) - The percentage change in volume over the last 7 days. - **chains** (array) - A list of chains the protocol is deployed on. - **chainBreakdown** (object) - Volume breakdown by chain. - **volume24h** (number) - The 24-hour volume for a specific chain. - **dailyVolume** (array) - Daily trading volume data. - **date** (integer) - The Unix timestamp for the date. - **volume** (number) - The trading volume for the day. #### Response Example ```json { "id": "2269", "name": "Uniswap", "displayName": "Uniswap V3", "volume24h": 1500000000, "volume7d": 10500000000, "volume30d": 45000000000, "totalVolume": 800000000000, "change_1d": 3.2, "change_7d": -1.5, "chains": ["Ethereum", "Arbitrum"], "chainBreakdown": { "Ethereum": {"volume24h": 1000000000}, "Arbitrum": {"volume24h": 500000000} }, "dailyVolume": [ { "date": 1640995200, "volume": 1500000000 } ] } ``` ``` -------------------------------- ### API Authentication Examples Source: https://context7_llms Demonstrates how to construct API request URLs for both authenticated Pro endpoints (requiring an API key) and unauthenticated Bridge endpoints. This helps in understanding the correct URL formatting based on the API's access level. ```bash # Pro endpoints (requires API key in URL) GET https://pro-api.llama.fi/abc123key/yields/pools # Bridge endpoints (no key needed) GET https://bridges.llama.fi/bridges ```