{"uid":"cap_xCl3cPHdiXZhUBudihHTg","slug":"scrapling-x402-defi-pool-lookup-2b3a4217","name":"Scrapling x402 DeFi Pool Lookup","description":"Details for one DeFi yield pool by DefiLlama pool id: APY split into base/reward, 30-day mean APY, TVL, impermanent-loss risk and 0-100 risk score. Example: pool_id=aa70268e-4b52-42bf-a116-608b370f9501. Refreshed about every 30 min","url":"https://scraplingdata.xyz/v1/lookup/pool?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["pool_id"],"properties":{"pool_id":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"apy_pct":4.2,"pool_id":"aa70268e-...","project":"aave-v3","tvl_usd":1200000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E4dQBpF-WY17qHNFki8Qp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up DeFi liquidity pool data (TVL, APY, project) by pool ID via a pay-per-call HTTP 402 endpoint","exampleAgentPrompt":"What's the current APY and TVL for the Aave V3 liquidity pool with ID aa70268e? Pull the pool stats for me.","exampleUseCases":[{"title":"Monitor DeFi pool yield for trading bot","prompt":"Fetch the current APY and TVL for the pool with ID aa70268e — I want to know if the yield is still above 4% before my bot rebalances."},{"title":"Compare DeFi pool performance across projects","prompt":"Look up the stats for pool ID aa70268e on Aave V3 — I need the APY percentage and total value locked so I can compare it against other pools I'm tracking."},{"title":"Alert when pool TVL drops significantly","prompt":"Check the TVL and APY for liquidity pool aa70268e and let me know if the total value locked has dropped below $1 billion."}],"resultDescription":"Returns a JSON object with pool_id, project name (e.g. 'aave-v3'), tvl_usd (total value locked in USD), and apy_pct (annual percentage yield as a float).","failureModes":["Missing or invalid pool_id returns an error","Unknown pool_id returns empty or 404 response","Payment failure (HTTP 402) if USDC payment is not settled correctly","Rate limiting or access denial if payment protocol is not followed"],"whenToPreferThis":"Use this endpoint when you need on-demand DeFi pool metrics (TVL and APY) for a specific pool by ID, especially within an x402 pay-per-call agent workflow where micropayment-gated data access is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:19.770Z","isFirstParty":false,"canonicalSlug":"scrapling-x402-defi-pool-lookup-2b3a4217"}