402.bot
Recipe
live $0.0075 medium Market & Prediction

Mean Reversion Entry Brief

Combine token price, recent history, liquidity, news, and a live quote into a compact mean-reversion brief.

$0.0075price
6steps
10sources
6ktokens saved
3tool calls compressed
median latency
ZapperMessariUniswapGeminiZapper Token PriceMessari Asset TimeseriesMessari News FeedUniswap Token LiquidityUniswap Swap QuoteGoogle Gemini Flash Structured

Endpoint: /v1/recipes/mean-reversion-entry-brief/run
Capabilities: trading, mean-reversion, dip-buy, entry-brief

Why pay for this?

This recipe turns roughly 3 separate tool operations into one paid endpoint call and saves about ~6k tokens saved.

Combines price, history, liquidity, news, and a live quote into a compact mean-reversion entry brief.

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

Load token price history

fetch_transform

Source: Messari Asset Timeseries
Step id: timeseries

Stage 3

Load recent asset news

fetch_transform

Source: Messari News Feed
Step id: news

Stage 4

Inspect token liquidity

fetch_transform

Source: Uniswap Token Liquidity
Step id: liquidity

Stage 5

Quote the re-entry

fetch_transform

Source: Uniswap Swap Quote
Step id: quote

Stage 6

Build mean reversion entry 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"
  }
}

Load token price history

{
  "id": "timeseries",
  "kind": "fetch_transform",
  "title": "Load token price history",
  "request": {
    "params": {
      "limit": 14,
      "assetId": "{{ $.input.assetSlug }}",
      "frequency": "1d",
      "metricKey": "price_usd"
    },
    "sourceId": "messari_asset_timeseries",
    "deliveryFormat": "json"
  }
}

Load recent asset news

{
  "id": "news",
  "kind": "fetch_transform",
  "title": "Load recent asset news",
  "request": {
    "params": {
      "limit": 5,
      "assetKeys": [
        "{{ $.input.assetSlug }}"
      ]
    },
    "sourceId": "messari_news_feed",
    "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 re-entry

{
  "id": "quote",
  "kind": "fetch_transform",
  "title": "Quote the re-entry",
  "request": {
    "params": {
      "amount": "{{ $.input.entryBudgetUsd }}",
      "chainId": "{{ $.input.chainId }}",
      "exactSide": "input",
      "slippageBps": "{{ $.input.slippageBps }}",
      "tokenInAddress": "0x833589fCD6EDB6E08f4c7C32D4f71b54bdA02913",
      "tokenOutAddress": "{{ $.input.tokenAddress }}"
    },
    "sourceId": "uniswap_swap_quote",
    "deliveryFormat": "json"
  }
}

Build mean reversion entry brief

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Build mean reversion entry brief",
  "request": {
    "params": {
      "input": {
        "news": "{{ $.stepsById.news.output }}",
        "price": "{{ $.stepsById.price.output }}",
        "quote": "{{ $.stepsById.quote.output }}",
        "chainId": "{{ $.input.chainId }}",
        "assetSlug": "{{ $.input.assetSlug }}",
        "liquidity": "{{ $.stepsById.liquidity.output }}",
        "timeseries": "{{ $.stepsById.timeseries.output }}",
        "tokenAddress": "{{ $.input.tokenAddress }}",
        "entryBudgetUsd": "{{ $.input.entryBudgetUsd }}"
      },
      "prompt": "Build a mean-reversion entry brief. Focus on the verdict, the recovery signals, the main risk flags, the quote, and the next actions.",
      "responseSchema": {
        "type": "object",
        "required": [
          "chainId",
          "tokenAddress",
          "assetSlug",
          "verdict",
          "summary",
          "recoverySignals",
          "quote",
          "riskFlags",
          "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"
          },
          "verdict": {
            "enum": [
              "scale_in",
              "watch",
              "skip"
            ],
            "type": "string"
          },
          "assetSlug": {
            "type": "string"
          },
          "riskFlags": {
            "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": "Primary risk flags."
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Suggested next actions."
          },
          "tokenAddress": {
            "type": "string"
          },
          "recoverySignals": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Signals that support or weaken a mean-reversion entry."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are compressing a dip-buy decision into a bounded operator packet. Stay grounded in the supplied price, history, news, liquidity, and quote context."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}