---
title: "Fetch X (Twitter) Article as Clean Markdown"
method: GET
path: "/x/article/{tweet_id}/markdown"
tags: ["Article Endpoints"]
---

# Fetch X (Twitter) Article as Clean Markdown

`GET /x/article/{tweet_id}/markdown`

## Request

- Base URL: `https://api.twexapi.io`
- URL: `https://api.twexapi.io/x/article/{tweet_id}/markdown`
- Auth: HTTP bearer

Retrieves the full content of an X (Twitter) Long-form Article formatted as **clean, valid Markdown**. The response body is delivered as a raw UTF-8 string without markup bloat, optimized for LLM RAG pipelines, AI agent context ingestion, Obsidian, Notion, or static site generators.

## Path parameters

- `tweet_id` string, required: The tweet ID of the article to get.

## Response `200`

Raw Markdown string representing the article content.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/twexapi/apis/twexapi-rest-api.md) · [All operations](https://skmtc.dev/twexapi/apis/twexapi-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/twexapi/apis/twexapi-rest-api/revisions/59a99ac0d8f7?raw)
