# x402.twit.sh X Article Content Retriever

> x402.twit.sh X Article Content Retriever is a paid API for AI agents from x402.twit.sh, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17, last successful call 2026-05-21).

Fetches the full content of an X (Twitter) Article by tweet ID, returning title, preview, cover image, publish date, and full Markdown body

## Facts

- Endpoint: GET https://x402.twit.sh/articles/by/id?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Last successful call: 2026-05-21
- Success rate: 50% of calls made through Zero
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-twit-sh-71b7917f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a35XiANTUL4Ba16yauJD7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-twit-sh-71b7917f
```

Example prompt: Can you get me the full content of this X Article — tweet ID 2010751592346030461 — and show me the title, publish date, and the article body in Markdown?

## When to prefer this

Use this endpoint when you need the full structured Markdown content of an X Article that is not accessible via the official X/Twitter API. Ideal when an agent needs to read, summarize, or analyze long-form articles posted on X given only the tweet ID of the hosting post.

## Known failure modes

- Tweet ID does not correspond to an X Article post — returns error or empty content
- Invalid or malformed tweet ID — returns 400 or error response
- Article has been deleted or is no longer publicly accessible — returns 404 or empty
- Rate limiting or payment failure — returns 402 Payment Required
- Tweet exists but is not an Article-type post — returns no article content

## How this service works

Retrieve the full content of an X Article by the tweet ID of the post that hosts it. Returns article title, preview text, cover image, publish date, and full article_content as Markdown (headings, bold, italic, lists, images). Not available in the official X API. Query param: id (string, required) - numeric tweet ID of the article post, e.g. GET /articles/by/id?id=2010751592346030461.

## Output

Returns the article title, a short preview text snippet, the cover image URL, the publish date, and the full article body formatted as Markdown (with headings, bold, italic, lists, and inline images).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "id": "1234567890"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Numeric tweet ID of the X Article post"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "id": "1110302988",
   "text": "Running bitcoin",
   "author": {
    "id": "9253672",
    "name": "Hal Finney",
    "username": "halfin"
   },
   "article": {
    "id": "abc123",
    "title": "My X Article",
    "modified_at": "2025-01-02T00:00:00.000Z",
    "preview_text": "A short preview of the article content.",
    "published_at": "2025-01-01T00:00:00.000Z",
    "article_content": "# My X Article\n\nParagraph one.\n\nParagraph two with **bold** text.",
    "cover_image_url": "https://pbs.twimg.com/media/example.jpg"
   },
   "created_at": "2009-01-11T03:39:18.000Z",
   "public_metrics": {
    "like_count": 134000,
    "quote_count": 3500,
    "reply_count": 5400,
    "retweet_count": 32000
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-twit-sh-71b7917f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.twit.sh](https://www.zero.xyz/host/x402.twit.sh/llms.txt)
