Sign inTry it

Search Science Fiction & Fantasy questions.

Searches Science Fiction & Fantasy (Stack Exchange), the Q&A site for science fiction and fantasy enthusiasts, like its search page: question title, link, excerpt, votes and answer count. First page of results (up to 30), questions only.

Health unavailableRead-only, no login
Site
Science Fiction & Fantasy, United States
Version
v1
Runs, last 7 days
Unavailable
sha256
51afb3e6d696…
Try it nowRuns on Wield's servers. No key, no install.
Try:

Run it with your agent

after installing Wield

Ask in plain words. Your agent finds this recipe and calls it:

“Search Science Fiction & Fantasy questions.”

Read-only: it changes nothing on the site. No login needed.

{
  "tool": "run",
  "arguments": {
    "recipe_id": "scifi.stackexchange.com/search-questions",
    "params": {
      "query": "story identification"
    }
  }
}

Requests

sent from your browser, in order
  1. 1GET/search?qScience Fiction & Fantasy's search results page, questions only. Each result is a div.s-post-summary card.

Parameters

from your agent
querystringrequiredWords to search Science Fiction & Fantasy questions for, e.g. 'story identification'

Returns

to your agent
itemsobject[]answers, excerpt, title, url, votes
querystring

Where it can send

  • scifi.stackexchange.com

Anything else is blocked by the extension.

Reads from your session

Nothing. Your browser attaches the site's cookies by itself.

Used only in requests to the addresses on the left. Never sent to wield.run or your agent.

Checks

a run passes when
  • length(output.items) > `0`
  • length(output.items[?starts_with(url, 'https://scifi.stackexchange.com/questions/')]) == length(output.items)
  • length(output.items[?title != `null`]) == length(output.items)

Raw recipe

Served as canonical JSON from /api/v1/recipes/scifi.stackexchange.com/search-questions, so its sha256 matches the ETag and the index.

Check it yourself
curl -s https://wield.run/api/v1/recipes/scifi.stackexchange.com/search-questions | shasum -a 256
# 51afb3e6d69673f9b35f8801d5f721f32c43af45d8233199b0a96f91c62d3c06
scifi.stackexchange.com/search-questions.json, v1
{
  "description": "Searches Science Fiction & Fantasy (Stack Exchange), the Q&A site for science fiction and fantasy enthusiasts, like its search page: question title, link, excerpt, votes and answer count. First page of results (up to 30), questions only.",
  "effect": "read",
  "id": "scifi.stackexchange.com/search-questions",
  "keywords": [
    "science fiction & fantasy",
    "scifi.stackexchange.com",
    "stack exchange",
    "q&a",
    "questions",
    "answers",
    "science",
    "fiction",
    "fantasy",
    "enthusiasts",
    "story-identification",
    "harry-potter",
    "star-wars",
    "star-trek",
    "short-stories"
  ],
  "output": {
    "schema": {
      "properties": {
        "items": {
          "items": {
            "properties": {
              "answers": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "excerpt": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "title": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "votes": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "required": [
              "title",
              "url"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "query": {
          "type": "string"
        }
      },
      "required": [
        "query",
        "items"
      ],
      "type": "object"
    },
    "value": "{query: params.query, items: steps.search.entries[?title != `null` && href != `null`][].{title: title, url: join('', ['https://scifi.stackexchange.com', href]), excerpt: excerpt, votes: to_number(votes), answers: to_number(answers)}}"
  },
  "params": {
    "additionalProperties": false,
    "properties": {
      "query": {
        "description": "Words to search Science Fiction & Fantasy questions for, e.g. 'story identification'",
        "maxLength": 200,
        "minLength": 2,
        "type": "string"
      }
    },
    "required": [
      "query"
    ],
    "type": "object"
  },
  "provenance": {
    "method": "har",
    "notes": "Stack Exchange sites share one front end; the template was checked on Server Fault and each site was verified live with its three most popular tags.",
    "recorded_at": "2026-11-08T17:38:40.945Z",
    "recorded_by": "wield-forge family stackexchange (template from serverfault.com, checked by hand)"
  },
  "requires_login": false,
  "schema": "https://wield.run/schema/recipe/v1.json",
  "site": {
    "country": "US",
    "id": "scifi.stackexchange.com",
    "language": "en",
    "name": "Science Fiction & Fantasy",
    "origin": "https://scifi.stackexchange.com",
    "origins": [
      "https://scifi.stackexchange.com"
    ]
  },
  "steps": [
    {
      "description": "Science Fiction & Fantasy's search results page, questions only. Each result is a div.s-post-summary card.",
      "expect": {
        "content_type": "html",
        "status": [
          200
        ]
      },
      "extract": {
        "html_items": {
          "entries": {
            "fields": {
              "answers": {
                "selector": "div.s-post-summary--stats-item.has-answers .s-post-summary--stats-item-number"
              },
              "excerpt": {
                "selector": "div.s-post-summary--content-excerpt"
              },
              "href": {
                "attr": "href",
                "selector": "h3.s-post-summary--content-title a.s-link"
              },
              "title": {
                "selector": "h3.s-post-summary--content-title a.s-link"
              },
              "votes": {
                "selector": "div.s-post-summary--stats-item__emphasized .s-post-summary--stats-item-number"
              }
            },
            "max": 30,
            "selector": "div.s-post-summary"
          }
        }
      },
      "id": "search",
      "request": {
        "headers": {
          "Accept": "text/html"
        },
        "method": "GET",
        "query": {
          "q": "{{ params.query }} is:question"
        },
        "url": "/search"
      }
    }
  ],
  "task": "Search Science Fiction & Fantasy questions",
  "tos": {
    "notes": "Not reviewed. One search page per call, the same page a visitor loads. Stack Exchange content is CC BY-SA; attribute the linked question.",
    "reviewed": false
  },
  "verify": {
    "checks": [
      "length(output.items) > `0`",
      "length(output.items[?starts_with(url, 'https://scifi.stackexchange.com/questions/')]) == length(output.items)",
      "length(output.items[?title != `null`]) == length(output.items)"
    ],
    "example_params": {
      "query": "story identification"
    },
    "max_ms": 5000
  },
  "version": 1
}