{"uid":"cap_6AEuq0a_zQS3qsJAtsRJV","slug":"api-defibase-us-c1320259","name":"DeFiBase Onchain Protocol Enrichment","description":"DeFi protocol detail enriched with onchain activity (Base). v0.2-stub: returns DefiLlama TVL plus a placeholder onchain block; real CDP base.events integration lands in v0.1.x.","url":"https://api.defibase.us/protocols/:slug/onchain","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","pathParams":{},"queryParams":{"slug":"uniswap-v3"}}},"response":{"name":"Uniswap V3","slug":"uniswap-v3","chains":["Ethereum","Base","Arbitrum","Binance","Polygon","Optimism","X Layer","xDai","Plasma","Celo","Avalanche","RSK","Monad","Nibiru","0G","World Chain","XDC","Unichain","Boba","zkSync Era","Filecoin","Etherlink","Mantle","Goat","BOB","Telos","Lens","Sonic","Redbelly","Hemi","Scroll","Linea","Blast","Sei","Taiko","Lisk","Corn","Polygon zkEVM","Moonbeam","Manta","LightLink","Tempo","Saga"],"onchain":{"note":"Stub — CDP base.events integration coming in v0.1.x","tx_count_24h":null,"unique_callers_24h":null,"active_addresses_24h":null},"category":"Dexs","tvl_by_chain":{"0G":2702911.6877504773,"BOB":202908.8041954231,"RSK":3463314.9592836704,"Sei":15175.722179406408,"XDC":947188.5483775965,"Base":313629361.97928566,"Boba":421529.13936432934,"Celo":4751906.333171525,"Corn":1354.7574049430839,"Goat":259282.57413529966,"Hemi":25963.71769433884,"Lens":133774.1860089571,"Lisk":6277.376963193607,"Saga":0,"xDai":9900396.840555707,"Blast":15349.741863683339,"Linea":19800.130421299156,"Manta":167.0248415123799,"Monad":3058163.7110821046,"Sonic":74561.61844007853,"Taiko":6827.556074765984,"Telos":135186.19348864057,"Tempo":59.82174075706006,"Mantle":274955.29854174884,"Nibiru":2822349.133802387,"Plasma":8648912.168907512,"Scroll":22056.636779873428,"Binance":92869826.52846366,"Polygon":33546602.464696858,"X Layer":12254414.52275246,"Arbitrum":198953732.0346902,"Ethereum":945097742.8363506,"Filecoin":407878.384047798,"Moonbeam":559.3534333087479,"Optimism":12475557.80630401,"Redbelly":35728.20180142007,"Unichain":830685.8995571783,"Avalanche":3532803.819138197,"Etherlink":327239.3640220962,"LightLink":71.01660861838508,"zkSync Era":418118.8072114625,"World Chain":1650037.3223987587,"Polygon zkEVM":746.0574030435566}}},"exampleRequest":{},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d6KgwUzm5ft7ZJO0kL5-K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns DeFi protocol details combining DefiLlama TVL data with onchain activity metrics (tx count, unique callers, active addresses) on Base for a given protocol slug","exampleAgentPrompt":"Can you pull up the onchain activity and TVL breakdown for Aave on Base — I want to see the 24-hour transaction count, unique callers, and active addresses?","exampleUseCases":null,"resultDescription":"A JSON object containing the protocol name, slug, category, chains supported, TVL broken down by chain, and an onchain block with 24-hour metrics including tx_count_24h, unique_callers_24h, and active_addresses_24h (currently placeholder values per v0.2-stub, with a note field explaining integration status).","failureModes":["Unknown or misspelled protocol slug returns 404 or empty result","Onchain metrics fields (tx_count_24h, unique_callers_24h, active_addresses_24h) return null as CDP base.events integration is not yet live (stub)","Missing x402 payment or insufficient USDC balance returns 402 Payment Required","Rate limiting or upstream DefiLlama API downtime causes 503 or timeout","Invalid path parameter format causes 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need a single enriched view of a DeFi protocol combining TVL data and Base chain onchain activity metrics. Prefer this over raw DefiLlama calls when you specifically need Base-chain onchain context alongside TVL. Note that onchain metrics are currently stub/placeholder; best for TVL lookups with future onchain readiness.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T22:27:46.345Z","isFirstParty":false}