[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [YouTube community post](https://spiral.ai/integrations/codex/youtube-community-post)

# How to Use YouTube community post in Codex

Fetch one YouTube community post’s text, images, likes, publish time, channel details, and linked video when present. Use it to inspect a specific announcement or compare changes to a post you already know.

|  |  |
| --- | --- |
| Model | YouTube community post |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with YouTube community post in Codex

- Use YouTube community post to fetch Starter Story’s post at https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8 and add its text, channel, likes, and publication time to our internal content report.
- Use YouTube community post for https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8 and compare its text with the Starter Story campaign copy in this project. Show wording differences.
- Use YouTube community post for Starter Story’s https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8 and update our report component to display the returned image URLs and linked video when present.
- Use YouTube community post to retrieve https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8 and compare its likes with the previous Starter Story observation saved in this project. Calculate the difference if an earlier observation exists.
- Use YouTube community post for https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8 and add the returned channel details and publication time to the Starter Story entry in our editorial dataset.

## How to set up YouTube community post in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
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.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run YouTube community post**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "scrapecreators",
    "model": "scrapecreators/youtube-community-post",
    "input": {
      "url": "https://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## YouTube community post tools and prices

- [YouTube · Community Post Details](https://spiral.ai/tools/scrapecreators/scrapecreators/youtube-community-post) (ScrapeCreators): Up to $0.0013 per run.

## What can you do with YouTube community post in Codex?

Build a report that pairs a selected YouTube announcement’s text with its likes, publication time, and attachments. A coding agent can compare the returned post with campaign copy or earlier observations in your project.

### Prepare an announcement brief

Turn a known public business post into a short brief containing its message, publication time, channel, and any linked video.

### Check campaign wording

Compare a public campaign post’s returned text with an approved message to flag changed dates, offers, or calls to action.

### Measure likes between checks

Revisit a selected creator or business post and calculate the change in likes from your own earlier observations.

### Review announcement attachments

List the image URLs and linked video returned for a selected announcement so an editor can review the accompanying material.

### Build an internal editorial reference

Organize selected public posts by channel, publication time, and message topic for a team’s content planning.

### Check a post cited in a report

Retrieve the cited public post and compare its text and channel details with the claims made in a draft report.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Codex guides](https://spiral.ai/integrations/codex)

## YouTube community post in other agents

- [Amp](https://spiral.ai/integrations/amp/youtube-community-post)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/youtube-community-post)
- [Claude](https://spiral.ai/integrations/claude-desktop/youtube-community-post)
- [Claude Code](https://spiral.ai/integrations/claude-code/youtube-community-post)
- [Cline](https://spiral.ai/integrations/cline/youtube-community-post)
- [Cursor](https://spiral.ai/integrations/cursor/youtube-community-post)
- [Devin](https://spiral.ai/integrations/devin/youtube-community-post)
- [dots](https://spiral.ai/integrations/dots/youtube-community-post)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/youtube-community-post)
- [Gemini](https://spiral.ai/integrations/gemini/youtube-community-post)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/youtube-community-post)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/youtube-community-post)
- [goose](https://spiral.ai/integrations/goose/youtube-community-post)
- [Grok](https://spiral.ai/integrations/grok/youtube-community-post)
- [Grok Build](https://spiral.ai/integrations/grok-build/youtube-community-post)
- [Hermes](https://spiral.ai/integrations/hermes/youtube-community-post)
- [Instinct](https://spiral.ai/integrations/instinct/youtube-community-post)
- [Manus](https://spiral.ai/integrations/manus/youtube-community-post)
- [Muse](https://spiral.ai/integrations/muse/youtube-community-post)
- [Muse Code](https://spiral.ai/integrations/muse-code/youtube-community-post)
- [n8n](https://spiral.ai/integrations/n8n/youtube-community-post)
- [Notion](https://spiral.ai/integrations/notion/youtube-community-post)
- [OpenClaw](https://spiral.ai/integrations/openclaw/youtube-community-post)
- [opencode](https://spiral.ai/integrations/opencode/youtube-community-post)
- [Perplexity](https://spiral.ai/integrations/perplexity/youtube-community-post)
- [Raycast](https://spiral.ai/integrations/raycast/youtube-community-post)
- [VS Code](https://spiral.ai/integrations/vscode/youtube-community-post)
- [Windsurf](https://spiral.ai/integrations/windsurf/youtube-community-post)
- [Zapier](https://spiral.ai/integrations/zapier/youtube-community-post)

## More Codex guides

- [YouTube community comment replies](https://spiral.ai/integrations/codex/youtube-community-comment-replies)
- [YouTube community post comments](https://spiral.ai/integrations/codex/youtube-community-post-comments)
- [YouTube comment replies](https://spiral.ai/integrations/codex/youtube-comment-replies)
- [YouTube community post details](https://spiral.ai/integrations/codex/youtube-community-post-details)
- [YouTube channel videos ScrapeCreators](https://spiral.ai/integrations/codex/youtube-channel-videos-scrapecreators)
- [YouTube community posts](https://spiral.ai/integrations/codex/youtube-community-posts)

## Questions about YouTube community post in Codex

**Can Codex use YouTube community post?**

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

**How much does YouTube community post cost in Codex?**

Up to $0.0013 per run. 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 ScrapeCreators account to use YouTube community post in Codex?**

No. Spiral runs YouTube community post on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up YouTube community post in Codex?**

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

**Does Codex wait while YouTube community post runs?**

YouTube community post runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**Does this retrieve a whole channel’s post history?**

It retrieves one community post identified by its post URL. The result concerns that post, rather than a channel-wide archive.

**What content comes back besides the post text?**

The documented details include attached images, like count, publish date, and channel information. A linked video is also returned when the post includes one.

**How is the publication time represented?**

The documented response includes both a relative label, such as “5 days ago,” and a timestamp. Those describe publication time, rather than a history of edits.

**How fresh are the post details?**

ScrapeCreators says it fetches the latest available YouTube information when you make a request. That describes request-time retrieval rather than a daily or weekly data release.

**Will an old post always remain available?**

No. YouTube lets creators set a post to expire after 24 hours, so a saved post link does not guarantee continued public availability.

