# ReadX Media Timeline

> ReadX Media Timeline is a paid API for AI agents from readx.sh, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a user's X/Twitter timeline filtered to only tweets that contain media (photos, videos, GIFs).

## Facts

- Endpoint: GET https://readx.sh/api/:name/with_media
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/readx-media-timeline-618ff5ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BrP73U_9lfkl51m85_dEA

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 readx-media-timeline-618ff5ee
```

Example prompt: Can you pull the media-only timeline for the X account 'NASA' — just the tweets that have photos or videos attached — and show me the first page?

## When to prefer this

Use this endpoint when you specifically need only media-containing tweets from a user's timeline, avoiding the noise of text-only tweets. It is ideal for agents building media galleries, monitoring a user's visual content, or analyzing image/video output from an X account. Prefer over the general timeline endpoint when media filtering is required to reduce post-processing.

## Known failure modes

- Invalid or non-alphanumeric username returns a validation error
- User account does not exist or is suspended — likely 404 or empty result
- Private/protected account — tweets may not be accessible
- Invalid pagination cursor — returns error or resets to first page
- Payment failure (x402) — endpoint requires $0.01 USDC per call; insufficient balance causes rejection
- Rate limiting — too many requests in a short period

## How this service works

A user's timeline filtered to tweets with media. Example: GET /api/jack/with_media

## Output

Returns a paginated JSON list of tweets from the specified user that include media (images, videos, GIFs), with tweet content, media URLs, metadata, and a pagination cursor (pagination.bottom) for fetching subsequent pages.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_]+$",
       "minLength": 1,
       "description": "X handle without the leading @ (alphanumeric and underscore)."
      },
      "cursor": {
       "type": "string",
       "description": "Pagination cursor from a previous response's pagination.next_cursor (the conversation endpoint at /api/{name}/tweets/{id} instead takes its own nested reply cursor — see that endpoint)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/readx-media-timeline-618ff5ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from readx.sh](https://www.zero.xyz/host/readx.sh/llms.txt)
