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

Codex · Social Media

How to Use Threads post details in Codex

Returns a post's text, author information, images, videos, and like count in a nested structure. Use it when your analysis needs the content and media behind an engagement number.

Prompts to try with Threads post details in Codex

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

Use Threads post details for post 3349029093483693129 and map its returned text, author, images, videos, and like count into this project's post model.

Threads post detailsCodex
Try asking
  • Use Threads post details to look this up and give me the result as a table. Save the result in ./assets.

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

  • Check Threads post details and summarize what you find in three bullet points.

  • Pull the newest data from Threads post details and give me the result as a table.

How to set up Threads post details in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 post details

    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-post-detail",
        "input": {
          "post_id": "3349029093483693129"
        }
      }'

Then paste one of the prompts above: Codex finds Threads post details on Spiral, shows the price and runs it.

Threads post details providers and prices

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

TikHubSocial Media
Threads Web · Get post detail
tikhub/threads-web-fetch-post-detail

What can you do with Threads post details in Codex?

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 post details in Codex

Can Codex use Threads post details?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Threads post details like any built-in tool.

How much does Threads post details cost in Codex?

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

Do I need a TikHub account to use Threads post details in Codex?

No. Spiral runs Threads post details 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 post details in Codex?

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

Does Codex wait while Threads post details runs?

Threads post details runs in the background. Codex 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 post details in Codex

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

Paste this into Codex:

Set up Codex

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