402.bot
Recipe
live $0.0075 medium Market & Prediction

Category Opening Bell

Turn one CoinGecko category leaderboard into a compact opening bell with breadth, liquidity, and leader takeaways.

$0.0075price
3steps
4sources
128ktokens saved
9tool calls compressed
median latency
CoinGeckoCoingecko Category ScanGoogle Gemini Flash StructuredTransform

Endpoint: /v1/recipes/category-opening-bell/run
Capabilities: market-data, category, opening-bell, coingecko, brief

Why pay for this?

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

CoinGecko category leaders + breadth -> category opening bell

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 category snapshot

fetch_transform

Source: Coingecko Category Scan
Step id: category_scan

Stage 2

Write category opening bell

fetch_transform

Source: Google Gemini Flash Structured
Step id: brief

Stage 3

Attach source snapshot

transform

Source: Transform
Step id: finalize

Recent runs

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

Load category snapshot

{
  "id": "category_scan",
  "kind": "fetch_transform",
  "title": "Load category snapshot",
  "request": {
    "params": {
      "limit": "{{ $.input.limit }}",
      "category": "{{ $.input.category }}",
      "vsCurrency": "{{ $.input.vsCurrency }}"
    },
    "sourceId": "coingecko_category_scan",
    "deliveryFormat": "json"
  }
}

Write category opening bell

{
  "id": "brief",
  "kind": "fetch_transform",
  "title": "Write category opening bell",
  "request": {
    "params": {
      "input": {
        "categorySnapshot": "{{ $.stepsById.category_scan.output }}"
      },
      "prompt": "Write a compact opening bell from the supplied CoinGecko category snapshot. Focus on breadth, concentration, the most important leaders, and immediate watch items.",
      "responseSchema": {
        "type": "object",
        "required": [
          "summary",
          "leaders",
          "watchItems"
        ],
        "properties": {
          "leaders": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "assetId",
                "symbol",
                "name",
                "price",
                "takeaway"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "price": {
                  "type": "number"
                },
                "symbol": {
                  "type": "string"
                },
                "assetId": {
                  "type": "string"
                },
                "takeaway": {
                  "type": "string"
                },
                "marketCap": {
                  "type": "number"
                },
                "change24hPct": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            }
          },
          "summary": {
            "type": "string"
          },
          "watchItems": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Immediate category watch items."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "Use only the supplied category snapshot. Do not invent prices, liquidity, or category narratives beyond the provided data."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}

Attach source snapshot

{
  "id": "finalize",
  "kind": "transform",
  "title": "Attach source snapshot",
  "request": {
    "mode": "clean_json",
    "source": {
      "kind": "json",
      "value": {
        "breadth": {
          "totalMarketCap": "{{ $.stepsById.category_scan.output.totalMarketCap }}",
          "totalVolume24h": "{{ $.stepsById.category_scan.output.totalVolume24h }}",
          "positiveBreadthPct": "{{ $.stepsById.category_scan.output.positiveBreadthPct }}",
          "averageChange24hPct": "{{ $.stepsById.category_scan.output.averageChange24hPct }}"
        },
        "leaders": "{{ $.stepsById.brief.output.output.leaders }}",
        "summary": "{{ $.stepsById.brief.output.output.summary }}",
        "category": "{{ $.stepsById.category_scan.output.category }}",
        "watchItems": "{{ $.stepsById.brief.output.output.watchItems }}",
        "generatedAt": "{{ $.run.startedAt }}",
        "categorySnapshot": "{{ $.stepsById.category_scan.output }}"
      }
    }
  }
}