# XActions Twitter Profile Scraper

> XActions Twitter Profile Scraper is a paid API for AI agents from xactions.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-15).

Fetches public profile data for any X/Twitter user by username, handle, or profile URL

## Facts

- Endpoint: POST https://xactions.app/api/ai/scrape/profile?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xactions-twitter-profile-scraper-96e74539
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2hf51cUt8xSk-in2q0zjX

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 xactions-twitter-profile-scraper-96e74539 -d '<json body>'
```

Example prompt: Can you pull up the full profile info for the Twitter account @elonmusk — I want to see their follower count, bio, location, and whether they're verified?

## When to prefer this

Choose this endpoint when you need X/Twitter profile metadata without paying for the official Twitter API access fees. It accepts flexible input (bare username, @handle, or full profile URL) and returns comprehensive profile data in a single call. Ideal for AI agents doing influencer research, social proof verification, lead enrichment, or competitive analysis at low cost ($0.001 USDC per call). Prefer this over the official Twitter API when cost or API key availability is a barrier.

## Known failure modes

- Username not found — returns empty or error response if the handle does not exist on X
- Protected/private account — profile data may be limited or unavailable for protected accounts
- Rate limiting — underlying scraping may be throttled if too many requests are made in quick succession
- Invalid input format — malformed usernames or URLs may result in a parsing error
- Account suspended — suspended X accounts will return no data or an error

## How this service works

Free, open-source AI-powered X/Twitter automation tools. Works with Grok, GPT, Claude & MCP servers. Mass unfollow non-followers, auto-liker, growth suite. No API fees, 100% browser-based. The Twitter API alternative.

## Output

Returns a structured profile object containing the user's numeric ID, display name, username, bio text, avatar URL, header image URL, join date, location, website URL, follower count, following count, tweet count, like count, media count, verified status, protected status, and pinned tweet ID. All fields are present; nullable fields like avatar, header, joined, website, and pinnedTweetId may be null if unavailable.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "username"
 ],
 "properties": {
  "username": {
   "type": "string",
   "description": "Handle, @handle, or profile URL."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "profile": {
   "type": "object",
   "properties": {
    "id": {
     "type": "string"
    },
    "bio": {
     "type": "string"
    },
    "name": {
     "type": "string"
    },
    "likes": {
     "type": "integer"
    },
    "media": {
     "type": "integer"
    },
    "avatar": {
     "type": [
      "string",
      "null"
     ]
    },
    "header": {
     "type": [
      "string",
      "null"
     ]
    },
    "joined": {
     "type": [
      "string",
      "null"
     ],
     "format": "date-time"
    },
    "tweets": {
     "type": "integer"
    },
    "website": {
     "type": [
      "string",
      "null"
     ]
    },
    "location": {
     "type": "string"
    },
    "username": {
     "type": "string"
    },
    "verified": {
     "type": "boolean"
    },
    "followers": {
     "type": "integer"
    },
    "following": {
     "type": "integer"
    },
    "protected": {
     "type": "boolean"
    },
    "pinnedTweetId": {
     "type": [
      "string",
      "null"
     ]
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xactions-twitter-profile-scraper-96e74539/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from xactions.app](https://www.zero.xyz/host/xactions.app/llms.txt)
