# AgentBodega X User Profile Lookup

> AgentBodega X User Profile Lookup is a paid API for AI agents from agentbodega.store, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Looks up a public X (Twitter) user profile by username, returning follower counts, post counts, verification status, and account ID.

## Facts

- Endpoint: POST https://agentbodega.store/api/social-media/x/user-profile
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbodega-x-user-profile-lookup-b5d2bb42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Wf2ErMWp8XMBwVessOhFJ

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 agentbodega-x-user-profile-lookup-b5d2bb42 -d '<json body>'
```

Example prompt: Can you pull up the X profile for the username 'elonmusk' and tell me their follower count, whether they're verified, and how many posts they've made?

## When to prefer this

Choose this endpoint when you need quick, pay-per-call access to X (Twitter) public profile data without managing your own Twitter API credentials or OAuth flow. Ideal for agents that only occasionally need profile lookups and want simple x402 micropayment billing at $0.03 per call. Prefer this over direct Twitter API integration when you lack developer credentials or want to avoid API quota management.

## Known failure modes

- Username not found — returns success:false or empty profile
- Username field missing in request body — validation error
- Private or suspended accounts may return limited or no data
- Rate limiting or upstream X API unavailability causing errors
- Typos in username returning wrong user or not-found response

## How this service works

Small x402-payable utility APIs for agents: endpoint inspection, launch checks, and hosted artifacts.

## Output

Returns a JSON object containing the account's numeric user ID, display name, username, verification status (boolean), and social metrics including total posts, follower count, and following count. Also echoes back the requested username and indicates success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "fields": [
      {
       "name": "username",
       "type": "string",
       "required": true
      }
     ],
     "required": [
      "username"
     ],
     "fieldCount": 1,
     "contentType": "application/json",
     "optionalPreview": [],
     "omittedFieldCount": 0
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": {
   "id": "x-user-profile",
   "name": "X User Profile Lookup",
   "department": "Social Media"
  },
  "profile": {
   "id": "44196397",
   "name": "OpenAI",
   "metrics": {
    "posts": 1000,
    "followers": 1000000,
    "following": 0
   },
   "username": "OpenAI",
   "verified": true
  },
  "success": true,
  "requested": {
   "username": "OpenAI"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbodega-x-user-profile-lookup-b5d2bb42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbodega.store](https://www.zero.xyz/host/agentbodega.store/llms.txt)
