x-api-key; see Discover yields and Enter and exit flows for the full walkthroughs these are pulled from.
List USDC yields across networks
FilterGET /v1/yields by inputTokens and a comma-separated networks list, then page through with offset until you’ve collected total items.
Portfolio across networks in one call
Send one query per network in a singlePOST /v1/yields/balances call instead of one request per network.
cURL
{ items, errors }, with items covering both networks’ non-empty balances in one response.
Claim every claimable reward
Fetch the portfolio, then run everyCLAIM_REWARDS pending action it offers through POST /v1/actions/manage.
arguments schema, fill it before calling manage.
Exit a full position with useMaxAmount
Some yields’ exit schema offersuseMaxAmount so you redeem the whole position without computing an exact amount. Check mechanics.arguments.exit.fields before relying on it: not every yield exposes it.
Estimate gas before entering
POST /v1/actions/enter/simulate takes the same body as POST /v1/actions/enter and returns a gas estimate without creating or persisting an action.
cURL
gas.amount and gas.token for the aggregate cost, plus a per-transaction breakdown in gas.transactions[]. A 200 here does not guarantee the real action succeeds on-chain.
Next steps
Enter and exit flows
The full sign, submit, and poll loop these recipes call into.
Tracking balances
Read and group balances beyond a single claim or exit call.

