Why pay for this?
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Combines market context, visible liquidity, and a live quote into a compact fragility brief for one trade size.
Combine market context, visible liquidity, and a live quote into a compact fragility brief.
Endpoint: /v1/recipes/liquidity-fragility-trade-brief/run
Capabilities: trading, liquidity-fragility, size-check
This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.
Combines market context, visible liquidity, and a live quote into a compact fragility brief for one trade size.
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: Zapper Token Price
Step id: price
Source: Uniswap Token Liquidity
Step id: liquidity
Source: Uniswap Swap Quote
Step id: quote
Source: Messari Asset Details
Step id: asset
Source: Google Gemini Flash Structured
Step id: summarize
| Run | Status | Trigger | Queued |
|---|---|---|---|
| No recent runs recorded yet. Runs appear here after the first paid execution. | |||
{
"id": "price",
"kind": "fetch_transform",
"title": "Load token price",
"request": {
"params": {
"address": "{{ $.input.tokenAddress }}",
"chainId": "{{ $.input.chainId }}",
"currency": "USD"
},
"sourceId": "zapper_token_price",
"deliveryFormat": "json"
}
}
{
"id": "liquidity",
"kind": "fetch_transform",
"title": "Inspect token liquidity",
"request": {
"params": {
"chainId": "{{ $.input.chainId }}",
"topPools": 3,
"tokenAddresses": [
"{{ $.input.tokenAddress }}"
]
},
"sourceId": "uniswap_token_liquidity",
"deliveryFormat": "json"
}
}
{
"id": "quote",
"kind": "fetch_transform",
"title": "Quote the trade",
"request": {
"params": {
"amount": "{{ $.input.amountUsd }}",
"chainId": "{{ $.input.chainId }}",
"exactSide": "input",
"slippageBps": "{{ $.input.slippageBps }}",
"tokenInAddress": "0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913",
"tokenOutAddress": "{{ $.input.tokenAddress }}"
},
"sourceId": "uniswap_swap_quote",
"deliveryFormat": "json"
}
}
{
"id": "asset",
"kind": "fetch_transform",
"title": "Load asset details",
"request": {
"params": {
"assetId": "{{ $.input.assetSlug }}"
},
"sourceId": "messari_asset_details",
"deliveryFormat": "json"
}
}
{
"id": "summarize",
"kind": "fetch_transform",
"title": "Build liquidity fragility trade brief",
"request": {
"params": {
"input": {
"asset": "{{ $.stepsById.asset.output }}",
"price": "{{ $.stepsById.price.output }}",
"quote": "{{ $.stepsById.quote.output }}",
"chainId": "{{ $.input.chainId }}",
"amountUsd": "{{ $.input.amountUsd }}",
"assetSlug": "{{ $.input.assetSlug }}",
"liquidity": "{{ $.stepsById.liquidity.output }}",
"tokenAddress": "{{ $.input.tokenAddress }}"
},
"prompt": "Build a liquidity fragility trade brief. Focus on whether the requested size looks clear, watch-level, or fragile, the quote, the pool signals, the size warnings, and the next actions.",
"responseSchema": {
"type": "object",
"required": [
"chainId",
"tokenAddress",
"assetSlug",
"fragilityStatus",
"summary",
"quote",
"poolSignals",
"sizeWarnings",
"nextActions"
],
"properties": {
"quote": {
"type": "object",
"required": [
"tokenInSymbol",
"tokenOutSymbol",
"amountIn",
"amountOut",
"priceImpactBps",
"routeHops"
],
"properties": {
"amountIn": {
"type": "string"
},
"amountOut": {
"type": "string"
},
"routeHops": {
"type": "array",
"items": {
"type": "string"
}
},
"tokenInSymbol": {
"type": "string"
},
"priceImpactBps": {
"type": "number"
},
"tokenOutSymbol": {
"type": "string"
}
},
"description": "Reference quote summary.",
"additionalProperties": false
},
"chainId": {
"type": "integer"
},
"summary": {
"type": "string"
},
"assetSlug": {
"type": "string"
},
"nextActions": {
"type": "array",
"items": {
"type": "string"
},
"description": "Suggested next actions."
},
"poolSignals": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"priority",
"note"
],
"properties": {
"note": {
"type": "string"
},
"title": {
"type": "string"
},
"priority": {
"enum": [
"high",
"medium",
"low"
],
"type": "string"
}
},
"additionalProperties": false
},
"description": "Pool or liquidity signals."
},
"sizeWarnings": {
"type": "array",
"items": {
"type": "string"
},
"description": "Warnings tied to the requested size."
},
"tokenAddress": {
"type": "string"
},
"fragilityStatus": {
"enum": [
"clear",
"watch",
"fragile"
],
"type": "string"
}
},
"additionalProperties": false
},
"systemInstruction": "You are compressing size-versus-liquidity review into a bounded operator brief. Stay grounded in the supplied asset, liquidity, and quote context."
},
"sourceId": "google_gemini_flash_structured",
"deliveryFormat": "json"
}
}