# Twitter/X Public Profile Scraper (x402 Pay-per-call)

> Twitter/X Public Profile Scraper (x402 Pay-per-call) is a paid API for AI agents from x402.186-241-26-229.sslip.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-02).

Scrapes public Twitter/X profile posts and direct post URLs into structured JSON, charged per successful call via x402 micropayments.

## Facts

- Endpoint: POST https://x402.186-241-26-229.sslip.io/v1/twitter?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twitter-x-public-profile-scraper-x402-pay-per-call-3d35cf7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NL1Xque8EjEOq0O_5mIhr

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 twitter-x-public-profile-scraper-x402-pay-per-call-3d35cf7b -d '<json body>'
```

Example prompt: Pull the last 20 public posts from the Twitter handles @elonmusk and @sama — I need the post text, timestamps, and retweet counts as structured data.

## When to prefer this

Choose this endpoint when you need structured tweet data from public Twitter/X profiles without managing Twitter API credentials or OAuth flows. It is ideal for AI agents that need pay-per-call access (no subscription), especially when scraping a handful of profiles or specific post URLs. Prefer this over the official Twitter API when you want micropayment billing (only pay for successful results), need no API key setup, or are operating in an x402-enabled agent environment. Note: limited to publicly visible posts (typically up to 5 recent posts per anonymous profile view).

## Known failure modes

- Empty result set (not charged) — profile may have no public posts visible to anonymous visitors
- Private or suspended accounts return no data
- Search URLs and list URLs are not supported and will fail
- General keyword search terms (not from:handle) are unavailable without login
- Rate limiting or blocking by Twitter/X may return empty results
- Malformed handle or URL input may produce zero results

## How this service works

Pay-per-call structured web data. Failed or empty runs are not charged.

## Output

Returns a JSON object with a count of items and an array of post objects, each containing the post ID, URL, Twitter URL, language code, text content, post type, creation timestamp, and retweet count. Only successful, non-empty results are charged.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "maxItems": {
   "type": "integer",
   "default": 30,
   "minimum": 0,
   "description": "Maximum number of unique posts across all inputs. Set 0 for no output cap; each profile still exposes only its public first page."
  },
  "startUrls": {
   "type": "array",
   "description": "Public twitter.com or x.com profile and direct post URLs. Search and list URLs are unavailable."
  },
  "searchTerms": {
   "type": "array",
   "description": "Single from:handle terms only. General keyword search requires sign-in and is unavailable."
  },
  "twitterHandles": {
   "type": "array",
   "description": "Public account handles. Each profile currently exposes up to five recent posts to anonymous visitors."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "items": [
   {
    "id": null,
    "url": null,
    "lang": null,
    "text": null,
    "type": null,
    "createdAt": null,
    "twitterUrl": null,
    "retweetCount": null
   }
  ],
  "product": "twitter"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twitter-x-public-profile-scraper-x402-pay-per-call-3d35cf7b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.186-241-26-229.sslip.io](https://www.zero.xyz/host/x402.186-241-26-229.sslip.io/llms.txt)
