402.bot
Recipe
live $0.0075 medium Market & Prediction

Sector Rotation Watch

Compare several CoinGecko categories and return a compact sector rotation board with ranked takeaways.

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

Endpoint: /v1/recipes/sector-rotation-watch/run
Capabilities: market-data, category, rotation, 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 comparison -> sector rotation board

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 rotation board

fetch_transform

Source: Coingecko Category Rotation
Step id: rotation_scan

Stage 2

Write sector rotation summary

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 rotation board

{
  "id": "rotation_scan",
  "kind": "fetch_transform",
  "title": "Load category rotation board",
  "request": {
    "params": {
      "categories": "{{ $.input.categories }}",
      "vsCurrency": "{{ $.input.vsCurrency }}",
      "limitPerCategory": "{{ $.input.limitPerCategory }}"
    },
    "sourceId": "coingecko_category_rotation",
    "deliveryFormat": "json"
  }
}

Write sector rotation summary

{
  "id": "brief",
  "kind": "fetch_transform",
  "title": "Write sector rotation summary",
  "request": {
    "params": {
      "input": {
        "rotationSnapshot": "{{ $.stepsById.rotation_scan.output }}"
      },
      "prompt": "Write a compact sector rotation watch from the supplied CoinGecko category comparison. Rank the categories, explain what the breadth and liquidity say, and give the most actionable next steps.",
      "responseSchema": {
        "type": "object",
        "required": [
          "summary",
          "ranking",
          "rotationSignals",
          "nextActions"
        ],
        "properties": {
          "ranking": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "category",
                "takeaway"
              ],
              "properties": {
                "category": {
                  "type": "string"
                },
                "takeaway": {
                  "type": "string"
                },
                "leaderSymbols": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  },
                  "description": "Leading symbols in that category."
                },
                "totalMarketCap": {
                  "type": "number"
                },
                "totalVolume24h": {
                  "type": "number"
                },
                "positiveBreadthPct": {
                  "type": "number"
                },
                "averageChange24hPct": {
                  "type": "number"
                }
              },
              "additionalProperties": false
            }
          },
          "summary": {
            "type": "string"
          },
          "nextActions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Recommended follow-up actions."
          },
          "rotationSignals": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Key rotation signals across the compared categories."
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "Use only the supplied category comparison. Do not invent performance, liquidity, or leader symbols beyond the provided snapshot."
    },
    "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": {
        "ranking": "{{ $.stepsById.brief.output.output.ranking }}",
        "summary": "{{ $.stepsById.brief.output.output.summary }}",
        "categories": "{{ $.input.categories }}",
        "generatedAt": "{{ $.run.startedAt }}",
        "nextActions": "{{ $.stepsById.brief.output.output.nextActions }}",
        "rotationSignals": "{{ $.stepsById.brief.output.output.rotationSignals }}",
        "rotationSnapshot": "{{ $.stepsById.rotation_scan.output }}"
      }
    }
  }
}