Spiral gives your agent every tool with one account. Browse the tools →

OpenClaw · Social Media

How to Use X post search in OpenClaw

Returns sourced research about public X posts matching a topic. Use it to discover announcements, compare claims, or collect evidence across posts before inspecting a specific conversation.

Prompts to try with X post search in OpenClaw

Copy an example into OpenClaw, or ask in your own words.

Every weekday morning, use X post search to research @Cloudflare's public incident updates from the previous day and summarize stated symptoms, workarounds, and recovery notices.

X post searchOpenClaw
Try asking
  • Every Monday, use X post search to summarize @github's public GitHub Actions announcements from the previous week, linking each finding to its source post.

  • Each evening, use X post search to research @NASA's public Artemis updates from that day and prepare a short announcement brief.

  • Every Monday at 9am: use X post search to look this up and give me the result as a table.

  • Pull the latest numbers from X post search and tell me what changed since last week.

How to set up X post search in OpenClaw

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send OpenClaw this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add the server

    On the machine that runs OpenClaw's Gateway:

    openclaw mcp add spiral \
      --url https://api.spiral.ai/mcp \
      --transport streamable-http \
      --auth oauth
  2. Sign in

    In Settings › MCP, select Sign in on the Spiral server, sign in to Spiral and click Authorize. No API key.

    openclaw mcp login spiral
  3. Reload and check

    A running Gateway may keep its old tool list: restart it, or Save & Publish in the Control UI.

    openclaw mcp reload
    openclaw mcp doctor spiral --probe

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run X post search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "x-com/posts/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: OpenClaw finds X post search on Spiral, shows the price and runs it.

X post search providers and prices

Spiral runs X post search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSocial Media
X · Search posts
x-com/posts/search

Settings you can ask for

Ask OpenClaw for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 105

Maximum output records, not a bound on upstream fetched items.

Every API field of X · Search posts is on its tool page: open its card above.

What can you do with X post search in OpenClaw?

Produce recurring briefs from public X announcements and available follow-up discussion. A scheduled agent can revisit an organization's topic or a known post and report newly retrieved statements with their supporting links.

Check a product announcement

Find a company's launch posts with X post search, or examine a known announcement with X post details. Build a brief that separates the original announcement from later replies and clarifications.

Investigate a service incident

Research public incident updates from a service's official account, or inspect a known incident post and available replies. Extract the stated symptoms, workarounds, and recovery updates for a support brief.

Prepare a competitor briefing

Find a competitor's public product announcements, or examine a specific announcement already flagged by the team. Summarize the claims and available clarifications with links to the supporting posts.

Verify a reported claim

Search for the original public business or organization statement, or inspect its known post. Compare the available wording and conversation context with the claim in a draft article.

Collect product feedback examples

Discover public discussions of a product, or examine replies available around its announcement. Group concrete complaints and feature requests as examples for review without presenting them as a representative survey.

Research conference announcements

Find an organizer's public event updates, or inspect a known schedule announcement. Pull out stated session changes and clarifications to help prepare an attendee briefing.

Questions about X post search in OpenClaw

Can OpenClaw use X post search?

Yes. Add Spiral to OpenClaw as an MCP server, and OpenClaw can find and run X post search like any built-in tool.

How much does X post search cost in OpenClaw?

$0.005238 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your OpenClaw plan is separate.

Do I need an Alexandria account to use X post search in OpenClaw?

No. Spiral runs X post search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up X post search in OpenClaw?

About two minutes: add the server, then sign in, then reload and check.

Does OpenClaw wait while X post search runs?

X post search runs in the background. OpenClaw starts the run, checks on it and gives you the json when it's ready.

Which X posts are public?

Public posts are visible to anyone, including people without an X account. Protected posts are searchable only by their author and followers, so public research does not cover those conversations.

Does X research include every matching post?

No. X explicitly says it may omit posts from search results, and its safe search mode filters potentially sensitive content. A collection of returned posts cannot establish the total number of posts about a topic.

Can X research find current posts?

X Search accesses real-time X content. That supports research into current announcements and discussions, but the documentation's real-time description is not a measured guarantee of how quickly each new post appears.

What conversation context can a post fetch include?

X Search documents thread fetch as retrieving one post with parent posts and replies. That context can help distinguish an opening announcement from a reply that depends on an earlier statement.

Does every returned source link support the summary?

Not necessarily. xAI distinguishes encountered source URLs from sources directly referenced in the final answer, so check which post supports each claim.

Get started

Start using X post search in OpenClaw

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into OpenClaw:

Set up OpenClaw

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options