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

Claude Code · Social Media

How to Use Threads account posts in Claude Code

Returns an account's available posts with text, author information, media information, and like counts. Use it to review publishing themes within roughly 25 returned items; pagination cannot extend the history.

Prompts to try with Threads account posts in Claude Code

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

Use Threads account posts for @duolingo, resolving its public account ID first, and create a table of returned post text and like counts. Label the roughly 25-item coverage limit.

Threads account postsClaude Code
Try asking
  • Use Threads account posts to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Threads account posts and tell me what changed since last week.

  • Check Threads account posts and summarize what you find in three bullet points.

  • Pull the newest data from Threads account posts and give me the result as a table.

How to set up Threads account posts in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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 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 Threads account posts

    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": "tikhub",
        "model": "tikhub/threads-web-fetch-user-posts",
        "input": {
          "user_id": "63625256886"
        }
      }'

Then paste one of the prompts above: Claude Code finds Threads account posts on Spiral, shows the price and runs it.

Threads account posts providers and prices

Spiral runs Threads account posts through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
Threads Web · Get user posts (no pagination)
tikhub/threads-web-fetch-user-posts

What can you do with Threads account posts in Claude Code?

Build an internal Threads research view that connects public account context with post content and conversations. Preserve the distinction between posts, account replies, reposts, and comments when mapping responses into your project's data structures.

Product launch review

Build an internal launch brief from brand profiles, account posts, replies, reposts, keyword matches, post details, engagement counts, and sampled comments. Separate the brand's messages from the questions appearing beneath them.

Brand voice comparison

Compare how public brands describe themselves, write posts, answer conversations, and select content to repost. Use post details and comment samples to connect writing choices with the reactions returned.

Editorial research brief

Research a public organization's announcement using its profile, original posts, replies, reposts, and topic search results. Add individual post content, conversation context, engagement counts, and sampled comments to support an editor's review.

Owned brand account review

Review a brand's profile presentation, publishing themes, public replies, and repost choices. Combine topic searches and post-level evidence to identify messages worth explaining more clearly in the next content plan.

Announcement media inventory

List the images and videos attached to returned brand posts and keyword matches. Inspect individual posts to distinguish text-only announcements from posts supported by media.

Questions about Threads account posts in Claude Code

Can Claude Code use Threads account posts?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Threads account posts like any built-in tool.

How much does Threads account posts cost in Claude Code?

$0.0026 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need a TikHub account to use Threads account posts in Claude Code?

No. Spiral runs Threads account posts on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up Threads account posts in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Threads account posts runs?

Threads account posts runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

Can I retrieve a complete Threads posting or comment history?

The documented account post and reply lists return roughly 25 available items without pagination. Post comments have the same approximate limit, so these results cannot establish a complete history.

How many comments can I inspect on one Threads post?

TikHub documents roughly 25 available comments per call and no way to retrieve more through pagination.

Does a Threads post detail response include every reply?

The conversation detail response includes only a small first-screen subset of replies. The dedicated comment retrieval is also bounded at roughly 25 available items.

Which Threads engagement counts are available?

The compact post response documents five counts: likes, replies, reposts, quotes, and views. It also includes the post text and publication timestamp.

Get started

Start using Threads account posts in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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