# FastAF X (Twitter) Profile Lookup

> FastAF X (Twitter) Profile Lookup is a paid API for AI agents from api.fastaf.co, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Fetches a public X (Twitter) profile by username and returns name, bio, follower count, following count, and post count as JSON.

## Facts

- Endpoint: GET https://api.fastaf.co/x402/v1/x?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastaf-x-twitter-profile-lookup-d0f39f38
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hWW1cInaXRe-_QFCID30k

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 fastaf-x-twitter-profile-lookup-d0f39f38
```

Example prompt: Can you pull up the public X profile for elonmusk — I want to see their follower count, following count, bio, and total posts?

## When to prefer this

Use this endpoint when you need structured profile metadata (follower count, bio, post count) for a specific public X/Twitter account by username. It is faster and cheaper than scraping X directly, requires no Twitter API credentials, and charges only on success. Prefer this over general web scraping endpoints when the specific output fields (name, bio, follower/following/post counts) are exactly what you need.

## Known failure modes

- Username not found or account doesn't exist — returns error response, no charge
- Account is private or suspended — request may fail without charge
- Missing or invalid profileId parameter — validation error
- Username with @ prefix or full URL passed instead of bare handle — may fail to resolve
- Rate limiting or upstream X API unavailability — request fails, no charge per policy

## How this service works

X (Twitter) public profile API for AI agents: look up a username for audience research and profile enrichment. Returns JSON with name, handle, biography, follower, following and post counts when available; public profile data, not tweet search. Provided by FastAF X Public Profiles. Price: $0.005000 USDC per successful call.

## Output

Returns a JSON object containing the account's display name, handle, bio description, follower count, following count, and total post (statuses) count for the requested public X/Twitter username.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "title": "FastAF X Public Profiles",
 "$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",
     "examples": [
      {
       "profileId": "nasa"
      }
     ],
     "required": [
      "profileId"
     ],
     "properties": {
      "profileId": {
       "type": "string",
       "examples": [
        "nasa"
       ],
       "maxLength": 8192,
       "description": "Required public X/Twitter username, e.g. nasa, without @ or a profile URL. No default; retrieves profile data, not an arbitrary post. No option surcharge; 5 credits per successful request."
      }
     },
     "description": "Public X (Twitter) profile lookup by profileId, without an @ prefix.",
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "name": {
       "type": "string"
      },
      "handle": {
       "type": "string"
      },
      "description": {
       "type": "string"
      },
      "statuses_count": {
       "type": "number"
      },
      "followers_count": {
       "type": "number"
      },
      "following_count": {
       "type": "number"
      }
     },
     "description": "Public X profile JSON with name, handle, description, followers_count, following_count and statuses_count when available.",
     "additionalProperties": true
    }
   }
  },
  "docsUrl": {
   "type": "string",
   "format": "uri"
  },
  "website": {
   "type": "string",
   "format": "uri"
  },
  "homepage": {
   "type": "string",
   "format": "uri"
  },
  "openApiUrl": {
   "type": "string",
   "format": "uri"
  }
 },
 "description": "X (Twitter) public profile API for AI agents: look up a username for audience research and profile enrichment. Returns JSON with name, handle, biography, follower, following and post counts when available; public profile data, not tweet search."
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Example",
  "handle": "example",
  "description": "...",
  "statuses_count": 500,
  "followers_count": 1000,
  "following_count": 10
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastaf-x-twitter-profile-lookup-d0f39f38/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastaf.co](https://www.zero.xyz/host/api.fastaf.co/llms.txt)
