402.bot
Recipe
live $0.0075 medium Market & Prediction

Liquidity Fragility Trade Brief

Combine market context, visible liquidity, and a live quote into a compact fragility brief.

$0.0075price
5steps
9sources
6ktokens saved
3tool calls compressed
median latency
ZapperMessariUniswapGeminiZapper Token PriceUniswap Token LiquidityUniswap Swap QuoteMessari Asset DetailsGoogle Gemini Flash Structured

Endpoint: /v1/recipes/liquidity-fragility-trade-brief/run
Capabilities: trading, liquidity-fragility, size-check

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.

Creator

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

Usage and trust

Success 30d: 0%
Refund 30d: 0%
Paid runs: 0
Creator recipes: 1
Last run: No recent runs

Pipeline

Stage 1

Load token price

fetch_transform

Source: Zapper Token Price
Step id: price

Stage 2

Inspect token liquidity

fetch_transform

Source: Uniswap Token Liquidity
Step id: liquidity

Stage 3

Quote the trade

fetch_transform

Source: Uniswap Swap Quote
Step id: quote

Stage 4

Load asset details

fetch_transform

Source: Messari Asset Details
Step id: asset

Stage 5

Build liquidity fragility trade brief

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
No recent runs recorded yet. Runs appear here after the first paid execution.
View raw step spec

Load token price

{
  "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"
  }
}

Inspect token liquidity

{
  "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"
  }
}

Quote the trade

{
  "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"
  }
}

Load asset details

{
  "id": "asset",
  "kind": "fetch_transform",
  "title": "Load asset details",
  "request": {
    "params": {
      "assetId": "{{ $.input.assetSlug }}"
    },
    "sourceId": "messari_asset_details",
    "deliveryFormat": "json"
  }
}

Build liquidity fragility trade brief

{
  "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"
  }
}