Yearn Finance TVL data via x402 micropayment on Base for $0.02/request
What it does
This endpoint returns Yearn Finance Total Value Locked (TVL) data, accessible through the x402 payment protocol on the Base network. It is one of many endpoints offered by lowpaymentfee.com, a platform that provides pay-per-request APIs spanning DeFi data, analytics, AI/ML inference, finance, and utility services — all gated behind x402 micropayments settled in USDC on Base.
The specific endpoint at `/api/v1/defi/yearn/tvl` accepts POST requests and returns JSON. Each call costs 20,000 base units of USDC (0.02 USD, since USDC uses 6 decimals). Payment is made via the x402 `X-PAYMENT` header using the "exact" scheme. No API keys or accounts are required; callers simply attach a valid x402 payment header to each request.
The provider's landing page advertises uniform $0.02 pricing across all endpoints, no rate limits, and no minimum commitments. However, no OpenAPI schema, detailed request/response documentation, or usage examples are available from the crawled pages. The exact structure of the TVL response (e.g., whether it includes historical data, per-vault breakdowns, or just an aggregate number) is unknown from the available material.
Capabilities
Use cases
- —Fetching current Yearn Finance TVL for portfolio dashboards
- —Monitoring DeFi protocol TVL changes programmatically
- —Integrating Yearn TVL data into trading or analytics agents
- —Comparing DeFi protocol TVL across platforms
Fit
Best for
- —Agents needing on-demand DeFi TVL data without API key management
- —Developers building DeFi dashboards who prefer pay-per-call pricing
- —Automated workflows that need Yearn Finance metrics with minimal setup
Not for
- —High-frequency polling where per-request costs would accumulate significantly
- —Users who need detailed Yearn vault-level breakdowns (unclear if supported)
- —Free-tier or bulk-discount data consumers
Quick start
curl -X POST https://lowpaymentfee.com/api/v1/defi/yearn/tvl \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_header>"Endpoint
Quality
The endpoint is live (returns a valid 402 x402 challenge) and pricing is clear ($0.02 USDC on Base). However, there is no OpenAPI schema, no request/response documentation, no examples, and the crawled pages beyond the landing page are empty wallet-connect stubs. The actual data returned by this endpoint is entirely unknown.
Warnings
- —No API documentation or OpenAPI schema available — request and response formats are unknown
- —The endpoint path suggests Yearn TVL data but no details on data freshness, granularity, or structure are documented
- —Other crawled pages (/api, /pricing, /README) returned only 'Connect wallet' with no useful content
- —This endpoint is not listed on the provider's landing page (only generic categories are shown); it may be undocumented or experimental
Citations
- —The endpoint returns a 402 x402 challenge with maxAmountRequired of 20000 base units of USDC on Basehttps://lowpaymentfee.com/api/v1/defi/yearn/tvl
- —The provider advertises $0.02/request pricing, no API keys, no rate limits, and instant access on Base networkhttps://lowpaymentfee.com
- —USDC asset address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base networkhttps://lowpaymentfee.com/api/v1/defi/yearn/tvl