# SocialFetch Twitter Profile Lookup

> SocialFetch Twitter Profile Lookup is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-15).

Fetches a public X (Twitter) user profile by their handle, returning profile metadata for the specified account.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/twitter/profiles/:handle
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/socialfetch-twitter-profile-lookup-74e845b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YQCq9FRjPuoHGdoJKJsub

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 socialfetch-twitter-profile-lookup-74e845b9
```

Example prompt: Can you pull up the X profile for @elonmusk — I need their bio, follower count, and account details.

## When to prefer this

Use this endpoint when you need to retrieve structured public profile data for a specific X (Twitter) user by their handle. Ideal for agent workflows that need to enrich contact records, verify account existence, research influencers, or gather social metadata without requiring Twitter API credentials.

## Known failure modes

- Handle not found — account does not exist or has been suspended
- Invalid handle format — non-existent or malformed username
- Payment failure — x402 payment not accepted or insufficient funds
- Rate limiting — too many requests in a short period
- Private or protected account — profile data not publicly accessible

## How this service works

Get an X (Twitter) profile by handle.

## Output

Returns structured profile metadata for the specified X (Twitter) account, including fields such as display name, handle, bio, follower count, following count, profile image, and other public account details.

## 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",
     "required": [
      "handle"
     ],
     "properties": {
      "handle": {
       "type": "string",
       "description": "X (Twitter) profile handle without the leading @, or a numeric user id."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "by": {
       "enum": [
        "id",
        "handle"
       ],
       "type": "string",
       "description": "Treat the path value as a handle or a numeric user id. Defaults to id when the value is all digits."
      }
     }
    }
   },
   "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/socialfetch-twitter-profile-lookup-74e845b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
