Why pay for this?
This recipe turns roughly 9 separate tool operations into one paid endpoint call and saves about ~128k tokens saved.
DefiLlama yield scan -> goal-aware shortlist
Turn a filtered DefiLlama yield scan into a compact shortlist for a specific operator goal.
Endpoint: /v1/recipes/defi-yield-shortlist/run
Capabilities: yield, defi, apy, stablecoins, research
This recipe turns roughly 9 separate tool operations into one paid endpoint call and saves about ~128k tokens saved.
DefiLlama yield scan -> goal-aware shortlist
Name: 402.bot
Wallet: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
Payout: 0xff443725bcFa9e85e7da20b59D26E39B1eFa26B4
ERC-8004: verified
Identity: 30379
Bio: 402.bot managed workflow marketplace recipes.
ERC-8004 reputation: 0.0
Creator score: 21
Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs
Source: Defillama Yield Scan
Step id: yield_scan
Source: Google Gemini Flash Structured
Step id: brief
Source: Transform
Step id: finalize
| Run | Status | Trigger | Queued |
|---|---|---|---|
| No recent runs recorded yet. Runs appear here after the first paid execution. | |||
{
"id": "yield_scan",
"kind": "fetch_transform",
"title": "Load yield scan",
"request": {
"params": {
"chain": "{{ $.input.chain }}",
"limit": "{{ $.input.limit }}",
"sortBy": "{{ $.input.sortBy }}",
"exposure": "{{ $.input.exposure }}",
"projects": "{{ $.input.projects }}",
"minTvlUsd": "{{ $.input.minTvlUsd }}",
"stablecoinOnly": "{{ $.input.stablecoinOnly }}"
},
"sourceId": "defillama_yield_scan",
"deliveryFormat": "json"
}
}
{
"id": "brief",
"kind": "fetch_transform",
"title": "Write yield shortlist",
"request": {
"params": {
"input": {
"goal": "{{ $.input.goal }}",
"yieldScan": "{{ $.stepsById.yield_scan.output }}"
},
"prompt": "Build a DeFi yield shortlist for the user's goal from the supplied DefiLlama scan. Balance APY with TVL, stablecoin status, exposure, and IL risk, and keep the output concise.",
"responseSchema": {
"type": "object",
"required": [
"summary",
"shortlist",
"watchItems"
],
"properties": {
"summary": {
"type": "string"
},
"shortlist": {
"type": "array",
"items": {
"type": "object",
"required": [
"poolId",
"project",
"chain",
"takeaway"
],
"properties": {
"apy": {
"type": "number"
},
"chain": {
"type": "string"
},
"ilRisk": {
"type": "string"
},
"poolId": {
"type": "string"
},
"symbol": {
"type": "string"
},
"tvlUsd": {
"type": "number"
},
"apyBase": {
"type": "number"
},
"project": {
"type": "string"
},
"exposure": {
"type": "string"
},
"takeaway": {
"type": "string"
},
"apyReward": {
"type": "number"
},
"stablecoin": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"watchItems": {
"type": "array",
"items": {
"type": "string"
},
"description": "Yield risks or follow-up checks."
}
},
"additionalProperties": false
},
"systemInstruction": "Only use pools and metrics from the supplied scan. Do not invent protocols, rates, or risk flags."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}
{
"id": "finalize",
"kind": "transform",
"title": "Attach yield snapshot",
"request": {
"mode": "clean_json",
"source": {
"kind": "json",
"value": {
"goal": "{{ $.input.goal }}",
"summary": "{{ $.stepsById.brief.output.output.summary }}",
"shortlist": "{{ $.stepsById.brief.output.output.shortlist }}",
"watchItems": "{{ $.stepsById.brief.output.output.watchItems }}",
"generatedAt": "{{ $.run.startedAt }}",
"yieldSnapshot": "{{ $.stepsById.yield_scan.output }}"
}
}
}
}