# X (Twitter) Bulk User Profile Lookup

> X (Twitter) Bulk User Profile Lookup is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Looks up one or more X (Twitter) user profiles by username or user ID, returning public account metadata including bio, follower counts, and verification status.

## Facts

- Endpoint: POST https://x402.agentutility.ai/users?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x-twitter-bulk-user-profile-lookup-c926ae34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K0A6SZAbNMOJwVf2J_YJo

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 x-twitter-bulk-user-profile-lookup-c926ae34 -d '<json body>'
```

Example prompt: Can you look up the public profiles for these Twitter accounts — @elonmusk, @OpenAI, and @sama — and give me their follower counts, bios, and whether they're verified?

## When to prefer this

Choose this endpoint when you need to bulk-fetch public profile metadata (follower counts, bios, verification, account age) for one or more X/Twitter accounts by username or ID in a single call. It is ideal for influencer research, social graph enrichment, username-to-ID resolution, and any read-only social analytics workflow. Prefer it over scraping or direct X API integration when you need a simple, USDC-settled, agent-callable interface without managing OAuth or X developer credentials.

## Known failure modes

- Invalid or non-existent username/user ID returns an error or empty result for that entry
- Missing or invalid X_BEARER_TOKEN causes authentication failure
- Rate limits from the underlying X API v2 may throttle bulk requests
- Suspended or deactivated accounts may return partial or no data
- Exceeding batch size limits may cause request rejection

## How this service works

Users API / bulk X user lookup / Twitter users lookup by usernames or IDs. Read-only X API v2 users lookup route matching market demand for bulk public profiles. Pass usernames or user_ids/ids and receive id, username, display name, bio, verification fields, created_at, followers, following, tweet count, and listed count. Requires X_BEARER_TOKEN; no posting, following, DM access, or account mutation.

## Output

Returns an array of user objects, each containing: user ID, username, display name, bio/description, verification fields, account creation date, follower count, following count, tweet count, and listed count. Read-only; no posting or account mutation.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {
      "ids": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Alias for user_ids."
      },
      "mode": {
       "enum": [
        "users"
       ],
       "type": "string",
       "description": "Use 'users' for bulk public profile lookup."
      },
      "user_ids": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Numeric X user IDs. Up to 100."
      },
      "usernames": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "X/Twitter handles, with or without @. Up to 100."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "mode": {
       "type": "string"
      },
      "users": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "username": {
          "type": "string"
         },
         "public_metrics": {
          "type": "object",
          "properties": {
           "followers_count": {
            "type": "integer"
           }
          }
         }
        }
       }
      },
      "lookup": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "requested": {
       "type": "integer"
      },
      "result_count": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "users",
  "users": [
   {
    "id": "99",
    "username": "bankrbot",
    "public_metrics": {
     "followers_count": 1234
    }
   }
  ],
  "lookup": "usernames",
  "source": "X API v2 users lookup",
  "requested": 2,
  "result_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x-twitter-bulk-user-profile-lookup-c926ae34/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
