402.bot
Recipe
live $0.0100 premium General Research

Cited Research Brief

Search, scrape, and extract a grounded answer with citations for a bounded research question.

$0.0100price
3steps
3sources
180ktokens saved
12tool calls compressed
28362msmedian latency
Stableenrich Exa SearchStableenrich Firecrawl ScrapeGoogle Gemini Flash Structured

Endpoint: /v1/recipes/cited-research-brief/run
Capabilities: research, cited-brief, web-search, memo

Why pay for this?

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

Search the web -> Scrape the top result -> Generate cited answer

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: 50

Usage and trust

Success 30d: 40%
Refund 30d: 0%
Paid runs: 5
Creator recipes: 1
Last run: 2026-03-12 06:19Z

Pipeline

Stage 1

Search the web

fetch_transform

Source: Stableenrich Exa Search
Step id: search

Stage 2

Scrape the top result

fetch_transform

Source: Stableenrich Firecrawl Scrape
Step id: scrape

Stage 3

Generate cited answer

fetch_transform

Source: Google Gemini Flash Structured
Step id: summarize

Recent runs

RunStatusTriggerQueued
00457b7b-9b11-4956-af1a-50a50fb4bafe succeeded recipe_api 2026-03-12T06:18:07.591Z
819a6628-333e-48f2-9914-91c4e3712acd succeeded recipe_api 2026-03-12T05:09:07.839Z
cd435aab-4b4b-4d63-90e8-21e77e773cc5 failed recipe_api 2026-03-12T04:57:54.801Z
cdb44f28-accd-4c98-9730-0e18768b37d9 failed recipe_api 2026-03-12T04:33:53.346Z
a7d938ee-1011-42d4-8dc1-ad46aa85ec6f failed recipe_api 2026-03-12T04:11:24.845Z
View raw step spec

Search the web

{
  "id": "search",
  "kind": "fetch_transform",
  "title": "Search the web",
  "request": {
    "params": {
      "count": 5,
      "query": "{{ $.input.question }}"
    },
    "sourceId": "stableenrich_exa_search",
    "deliveryFormat": "json"
  }
}

Scrape the top result

{
  "id": "scrape",
  "kind": "fetch_transform",
  "title": "Scrape the top result",
  "request": {
    "params": {
      "url": "{{ $.stepsById.search.output.results[0].url }}",
      "formats": [
        "markdown",
        "text"
      ],
      "onlyMainContent": true
    },
    "sourceId": "stableenrich_firecrawl_scrape",
    "deliveryFormat": "json"
  }
}

Generate cited answer

{
  "id": "summarize",
  "kind": "fetch_transform",
  "title": "Generate cited answer",
  "request": {
    "params": {
      "input": {
        "search": "{{ $.stepsById.search.output }}",
        "question": "{{ $.input.question }}",
        "scrapedPage": "{{ $.stepsById.scrape.output }}"
      },
      "prompt": "Answer the research question using only the supplied search and scraped evidence. Keep the memo short, cite only the supplied sources, and state uncertainty plainly when evidence is thin.",
      "responseSchema": {
        "type": "object",
        "required": [
          "question",
          "answer",
          "citations",
          "highlights"
        ],
        "properties": {
          "answer": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "citations": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "sourceId"
              ],
              "properties": {
                "url": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "sourceId": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "highlights": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "sourceId",
                "finding"
              ],
              "properties": {
                "url": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "finding": {
                  "type": "string"
                },
                "sourceId": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "systemInstruction": "You are a grounded research assistant. Use only the supplied evidence and never invent citations."
    },
    "sourceId": "google_gemini_flash_structured",
    "deliveryFormat": "json"
  }
}