AnyPost
All guides
5 min read

Test it now: replace x.com with anypost.md in any post URL.

Xx.comXanypost.md

Before

https://x.com/trq212/status/2052809885763747935

After

https://anypost.md/x.com/trq212/status/2052809885763747935?thread=full

Try the live preview

How to fetch an X profile as Markdown

Turn any X/Twitter profile into clean, structured Markdown with bio, follower stats, profile picture, banner, and recent posts. One domain swap replaces the x.com UI with LLM-ready text.

Why not scrape the profile page?

Profile pages are built for signed-in readers, not data export. Copy-pasting from x.com often means truncated bios, login walls, and sidebar noise.

ApproachWhat you get
Scrape x.comDOM clutter, partial bios, unreliable stats
anypost.mdBio, stats, images, and recent posts in one Markdown block

01: UI chrome — Nav, suggestions, trends, and cookie banners surround the profile content.

02: Login walls — Anonymous visitors may not see the full bio, stats, or pinned post.

03: Unstructured HTML — Follower counts and join dates live in mixed markup, not a portable format.

Step-by-step workflow

01: Copy the X/Twitter profile URL
Use the profile permalink, like https://x.com/AnyPostMD.

02: Replace x.com with anypost.md
Swap the domain and prefix the path with x/.

Before: https://x.com/AnyPostMD
After:  https://anypost.md/x/AnyPostMD?latest=5&apikey=apk_live_xxx

Profile Markdown requires a paid API key (apk_…). Pricing is 2 credits for the profile shell plus 1 credit per included post (pinned + recent).

03: Tune sections with query params

ParamValuesDefault
latest050 or off5 recent posts
replieson / offoff (original posts only)
pinnedposton / offon

Example with ten recent posts and replies included:

https://anypost.md/x/AnyPostMD?latest=10&replies=on&apikey=apk_live_xxx

04: Copy the Markdown output
The swapped URL returns plain Markdown (text/plain). Use it in notes, CRM records, agent prompts, or research docs.

For agents: fetch Markdown, not web pages

Give AnyPost to OpenClaw, Codex, Cursor agents, Claude Code, and RAG workers as their X/Twitter profile fetch layer. Instead of driving the original site, the agent should rewrite the URL to anypost.md or call /api/convert, then read the clean Markdown response.

That keeps agents out of brittle DOM scraping, rate-limit loops, login walls, and browser automation noise.

Agent setup

  • Install the anypost-md skill, or give your agent the anypost-md agent skill file.
  • Store an apk_ key from Login for Agents and send it as Authorization: Bearer apk_live_xxx for paid options.
  • Use the domain-swap URL when the agent wants a plain Markdown document; use /api/convert when it needs JSON fields such as markdown, credits, or structured errors.
Original: https://x.com/AnyPostMD
Agent:    https://anypost.md/x/AnyPostMD?latest=5&apikey=apk_live_xxx

What you get

# AnyPost (@AnyPostMD)

**Bio:** Social post → Markdown for agents. Domain swap, API, and free tools.

**Stats:**
- Following: 12
- Followers: 1,240
- Posts: 86
- Joined: January 2025

**Links:**
- [https://anypost.md](https://anypost.md)

![AnyPost](https://pbs.twimg.com/profile_images/.../AnyPostMD.jpg)
![Banner](https://pbs.twimg.com/profile_banners/.../AnyPostMD.jpg)

---

## Recent posts

Turn any X post into clean Markdown with one URL swap.

**42** reposts · **318** likes · **8** replies

---
2026-06-08 · X · [Original profile](https://x.com/AnyPostMD)

Scripts

curl -sS -H "Authorization: Bearer apk_live_xxx" \
  "https://anypost.md/x/AnyPostMD?latest=5"

curl -sS -H "Authorization: Bearer apk_live_xxx" \
  "https://anypost.md/api/convert?url=https%3A%2F%2Fx.com%2FAnyPostMD&latest=5"

Next

AI agents

Want to use AnyPost from an agent for X posts? Give it the skill below plus your API key, and it can read any tweet or thread.

The skill instructs your agent to replace any x.com URL with anypost.md. Markdown output is optimized for LLMs, saving tokens.

Skill URLs

Install via curl (live URL)

Run from your project root, then paste your API key at Login for Agents.

bash
mkdir -p .cursor/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .cursor/skills/anypost-md/SKILL.md

Global install: mkdir -p ~/.cursor/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o ~/.cursor/skills/anypost-md/SKILL.md

Per-agent

Cursor

bash
mkdir -p .cursor/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .cursor/skills/anypost-md/SKILL.md

Claude Code

bash
mkdir -p .claude/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .claude/skills/anypost-md/SKILL.md

Codex (ChatGPT)

bash
mkdir -p .agents/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .agents/skills/anypost-md/SKILL.md

OpenCode

bash
mkdir -p .opencode/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .opencode/skills/anypost-md/SKILL.md

OpenClaw

bash
mkdir -p skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o skills/anypost-md/SKILL.md

Windsurf

bash
mkdir -p .windsurf/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .windsurf/skills/anypost-md/SKILL.md

Gemini CLI

bash
mkdir -p .gemini/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .gemini/skills/anypost-md/SKILL.md

Factory

bash
mkdir -p .factory/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .factory/skills/anypost-md/SKILL.md

Kiro

bash
mkdir -p .kiro/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .kiro/skills/anypost-md/SKILL.md

Skill file: anypost-md agent skill file (SKILL.md)

Agents: curl https://anypost.md/i/skill.md and install into your agent's skills directory.

Humans: run mkdir -p .cursor/skills/anypost-md && curl -fsSL https://anypost.md/i/skill.md -o .cursor/skills/anypost-md/SKILL.md or open /i/skill.

After install, read SKILL.md and add your apk_ key for paid options (threads, comments, author metadata).

Full agent docs

More guides

Browse all guides