searchRecentPosts

2 credits per call

Search X posts from the last 7 days. Returns 10 results. Supports operators: from:user, to:user, #hashtag, @mention, has:images, has:links, -is:retweet, lang:en, url:domain, etc.

Try it

Open in playground
kirha tools run x_searchRecentPosts \
  --input '{
    "query": "<query>"
  }'

Uses the key saved by kirha auth login.

  • querystring, required

    Search query with optional operators

  • sortOrderstring, default "recency"

    One of recency, relevancy

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot