{"uid":"cap_D8GMwt9TFMHWm78BcaQVf","slug":"halowerk-defiwerk-defi-yield-normalizer-e933f091","name":"HALOWERK defiwerk – DeFi Yield Normalizer","description":"Resolves a pool in a public yield directory by chain, protocol and pool id or symbol, then rebuilds the number a buyer actually needs. Advertised total APY and a conservative APY are reported separately: the conservative figure uses the trailing seven-day realised base yield and deliberately excludes token emissions, because emissions are only worth what the reward token is worth. Every reward token is priced at the moment of the call and that price is stated as the assumption it is; the end of ","url":"https://defi.halowerk.com/yield/normalize","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pool":{"type":"string","description":"Directory pool id (uuid) or the pool symbol, for example \"WETH-USDC\"."},"chain":{"enum":["base","ethereum","arbitrum","optimism","polygon"],"type":"string"},"protocol":{"type":"string","description":"Protocol id as the directory names it, for example \"aave-v3\", \"uniswap-v3\", \"aerodrome-v1\"."},"stake_sizes_usd":{"type":"array","items":{"type":"number","maximum":100000000,"minimum":1},"maxItems":8,"description":"Stake sizes for net_apy_after_gas. Default 200, 1000, 10000, 100000."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pK2HyChLzOWeFRUvRspjd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves a DeFi pool by chain, protocol, and ID/symbol, then returns both the advertised total APY and a conservative APY (7-day realized base yield excluding token emissions), with reward tokens priced at call time and net APY adjusted for gas costs across configurable stake sizes.","exampleAgentPrompt":"What's the real yield on the WETH-USDC pool on Aerodrome v1 on Base? I want to see both the advertised APY and the conservative 7-day base yield without emissions, and calculate net APY after gas for stake sizes of $1,000 and $10,000.","exampleUseCases":[{"title":"Conservative yield check before committing capital","prompt":"Before I put $50,000 into the USDC-WBTC pool on Aave v3 on Ethereum, can you show me the conservative APY using only the 7-day realized base yield — no token emissions — and tell me what the reward tokens are actually worth right now?"},{"title":"Gas-adjusted return comparison across stake sizes","prompt":"I want to compare net APY after gas for staking $200, $1,000, $10,000, and $100,000 in the WETH-USDC pool on Uniswap v3 on Arbitrum — show me both the headline and conservative yield figures."},{"title":"Sanity-checking an inflated farm APY","prompt":"This Aerodrome v1 pool on Base is advertising 120% APY but I suspect most of it is emission rewards. Can you normalize the yield and show me what the actual 7-day base APY is, separate from the token emissions, and tell me what those reward tokens are currently priced at?"}],"resultDescription":"Returns the pool's advertised total APY alongside a conservative APY derived from the trailing 7-day realized base yield with emissions excluded. Each reward token is priced at call time and explicitly flagged as a point-in-time assumption. For each configured stake size (default: $200, $1,000, $10,000, $100,000), a net APY after estimated gas costs is returned, allowing the caller to understand how gas drag scales with position size.","failureModes":["Pool not found in directory for the given chain/protocol/symbol — returns 404 or empty result","Unsupported chain value outside the allowed enum — returns validation error","Reward token price unavailable at call time — may return null price or degrade the APY calculation","Protocol ID unrecognized or misspelled — fails to resolve pool","Stake size outside allowed range (1–100,000,000 USD) or more than 8 values provided — validation error","On-chain data temporarily unavailable for the requested network — timeout or upstream error"],"whenToPreferThis":"Choose this endpoint when you need a yield figure that separates real base yield from inflationary token emissions, or when you need APY adjusted for gas costs at specific position sizes. It is the right choice when the advertised APY from a protocol dashboard seems suspiciously high and you want a conservative, emission-stripped estimate. Prefer it over raw protocol APIs when you need reward tokens priced at call time and gas-drag modeled across stake sizes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:05.080Z","isFirstParty":false}