Total value locked (TVL) in DeFi from DefiLlama
aipaygen.com/v1/defi_tvl
Total value locked (TVL) in DeFi from DefiLlama: the top chains ranked by TVL, one chain's TVL and rank, or one protocol's TVL (aave, uniswap, lido, ...). Use it to compare ecosystems or size a protocol.
GET
https://aipaygen.com/v1/defi_tvlUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://aipaygen.com/v1/defi_tvl?chain=Base");
console.log(await res.json());Example input
{
"chain": "Base"
}More from AIPayGen
- aipaygen.com/v1/ask_llmSend a prompt to an open-weight LLM (Llama 3.3 70B, or Llama 3.1 8B for speed) and get the answer. Pay per call with no account or API key: drafting, rewriting, reasoning, code help, brainstorming.0.004
- aipaygen.com/v1/book_searchFind books by title, author, subject or ISBN across 40M+ records in Open Library: authors, first published year, editions, page count, ISBNs, subjects, ratings and cover image.0.001
- aipaygen.com/v1/classify_textSort text into your own labels (support ticket routing, intent, topic, spam, lead quality) or, with no labels, get its sentiment (positive, negative, neutral). Returns the best label, a confidence and a one-line reason.0.002
- aipaygen.com/v1/clinical_trialsSearch 500k+ clinical studies worldwide on ClinicalTrials.gov by condition, drug or keyword: status (recruiting, completed...), phase, sponsor, enrollment, start date, countries and the study link.0.002
- aipaygen.com/v1/country_infoFacts about any of 250 countries and territories by name or ISO code: official name, capital, region, currencies, languages, calling codes, internet domain, neighbors, area, coordinates and flag.0.001
- aipaygen.com/v1/crypto_priceNear-live (up to 60 s old) USD price, 24h change, market cap and volume for any cryptocurrency by ticker or name (BTC, ETH, SOL, PEPE... 15,000+ coins), plus the market-wide Fear & Greed index.0.001
- aipaygen.com/v1/currency_convertConvert money between 30+ currencies (USD, EUR, GBP, JPY, CAD, AUD, CHF, CNY, INR, BRL, MXN...) at European Central Bank reference rates, for today or any date back to 1999.0.001
- aipaygen.com/v1/date_calcDate math agents get wrong: days and business days between two dates (skipping weekends and a country's public holidays), add or subtract days or business days, and facts about a date (weekday, ISO week, quarter, day of year, leap year).0.001
- aipaygen.com/v1/dex_tokenLive on-chain market data for any token on 80+ chains and DEXes (Uniswap, Raydium, PancakeSwap, Aerodrome...): price, liquidity, 24h volume, buys vs sells, market cap and pair age. Search by name/ticker or look up a contract address.0.001
- aipaygen.com/v1/dns_lookupResolve DNS records for a domain (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA; A, AAAA, MX, NS and TXT by default), identify its DNS host and email provider from its NS and MX records, and say whether the name resolves at all.0.001
- aipaygen.com/v1/domain_availableCheck whether a domain name is free to register across many extensions at once (.com, .net, .org, .io, .ai, .app, .dev, .xyz and 1,000+ more) using the registries' own RDAP data. Shows registrar and expiry for taken names.0.002
- aipaygen.com/v1/earthquakesRecent earthquakes worldwide or near a location from the USGS: magnitude, place, time, depth, tsunami flag and alert level. Filter by minimum magnitude, days back and radius around a point.0.001
