# X Tweet Fetch

> Fetch a specific tweet by URL or ID. Use when user shares an X/Twitter URL (https://x.com/... or https://twitter.com/...), asks "get this tweet", "fetch tweet", "what does this tweet say", "read this X post". Requires X_BEARER_TOKEN.

- Skill: `b-open-io-prompts/x-tweet-fetch` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add b-open-io-prompts/x-tweet-fetch`
- Raw SKILL.md: https://api.skillmd.com/api/skills/b-open-io-prompts/x-tweet-fetch/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: b-open-io (https://skillmd.com/u/b-open-io-prompts)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/b-open-io-prompts/x-tweet-fetch

---


# X Tweet Fetch

Get a specific tweet by URL or ID.

## Setup

```bash
export X_BEARER_TOKEN="your-token"  # https://developer.x.com/en/portal/dashboard
```

## Usage

```bash
${CLAUDE_SKILL_DIR}/scripts/fetch.sh <url_or_id>
```

## Examples

```bash
# By URL
${CLAUDE_SKILL_DIR}/scripts/fetch.sh "https://x.com/kurtwuckertjr/status/1234567890"

# By ID
${CLAUDE_SKILL_DIR}/scripts/fetch.sh 1234567890
```

## Response Fields

- `text` - Tweet content
- `created_at` - Post timestamp
- `public_metrics` - Likes, retweets, replies, views
- `author` - User info (expanded)
- `entities` - URLs, mentions, hashtags

## References

- https://docs.x.com/llms.txt
- https://developer.x.com/en/docs/x-api/tweets/lookup

