# Surplus Intelligence X/Twitter Single User Lookup by ID

> Surplus Intelligence X/Twitter Single User Lookup by ID is a paid API for AI agents from www.surplusintelligence.ai, paid per call via x402, $0.0128/call, status unknown (last checked 2026-09-15).

Fetches profile data for a single X/Twitter user by their numeric user ID via the Twitter API v2

## Facts

- Endpoint: GET https://www.surplusintelligence.ai/x402/api/twitter/v2/users/:userId
- Price: $0.0128/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/www-surplusintelligence-ai-b0242243
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aH3UcshPvDU-AnLCeslQS

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 www-surplusintelligence-ai-b0242243
```

Example prompt: Look up the Twitter/X profile for user ID 44196397 and tell me their display name, username, and account details.

## When to prefer this

Use this endpoint when you have a known numeric Twitter/X user ID and need to retrieve that user's profile information in a single API call. Prefer this over username-based lookup when you already have the numeric ID. Cost-effective at 1 unit ($0.0128 USDC) for individual user lookups.

## Known failure modes

- Invalid or non-numeric userId returns an error
- User ID does not exist on X/Twitter returns a not-found error
- Payment failure or insufficient USDC balance blocks the request
- Rate limiting from the underlying Twitter API v2
- Suspended or deactivated account may return limited data

## How this service works

X/Twitter API v2 via Surplus Intelligence: Single user lookup (1 unit)

## Output

Returns a Twitter API v2 user object containing profile data such as name, username, description, follower counts, and other account metadata for the specified user ID.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "pathParams": {
   "userId": "44196397"
  },
  "queryParams": {}
 }
}
```

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "userId"
     ],
     "properties": {
      "userId": {
       "type": "string",
       "description": "Numeric X/Twitter user ID."
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "data": {},
      "meta": {
       "type": "object"
      },
      "errors": {
       "type": "array"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "required": [
    "id",
    "name",
    "username"
   ],
   "properties": {
    "id": {
     "type": "string"
    },
    "name": {
     "type": "string"
    },
    "username": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/www-surplusintelligence-ai-b0242243/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.surplusintelligence.ai](https://www.zero.xyz/host/www.surplusintelligence.ai/llms.txt)
