---
title: "X User Search"
method: GET
path: "/v1/x/users/search"
tags: ["x"]
---

# X User Search

`GET /v1/x/users/search`

## Request

- Base URL: `https://chatterapi.com`
- URL: `https://chatterapi.com/v1/x/users/search`
- Auth: HTTP bearer

Find X accounts by keyword in their name or bio, for example 'founder saas' or 'growth marketer'. Returns profiles with follower counts and DM availability. Costs 3 credits per page of about 20. Tip: X search matches bios loosely; check bio text before treating a result as a fit. Costs 3 credits.

## Query parameters

- `q` string, required
- `limit` integer
- `cursor` string

## Response `200`

Success

- object
  - `data` XUser[], required
    - `id` string, required
    - `handle` string, required
    - `name` string, required
    - `bio` string, nullable, required
    - `followers` number, nullable, required
    - `following` number, nullable, required
    - `tweets` number, nullable, required
    - `verified` boolean, nullable, required
    - `blueVerified` boolean, nullable, required
    - `canDm` boolean, nullable, required
    - `protected` boolean, nullable, required
    - `location` string, nullable, required
    - `url` string, nullable, required
    - `avatarUrl` string, nullable, required
    - `createdAt` string, nullable, required: ISO 8601 UTC timestamp
  - `page` PageInfo
    - `nextCursor` string, nullable, required
    - `hasMore` boolean, required
  - `credits` Credits, required
    - `charged` integer, required
    - `remaining` integer, required
  - `requestId` string, required
  - `cached` boolean, required
  - `warnings` Warning[]
    - `code` 'partial_data' | 'stale_data' | 'platform_unavailable' | 'source_unavailable', required
    - `platform` 'reddit' | 'x'
    - `source` string
    - `fields` string[]

## Other responses

- `400`: Bad request: invalid_input
- `401`: Unauthorized: missing_key, invalid_key, key_revoked
- `402`: Payment required: insufficient_credits
- `403`: Forbidden: account_suspended, scope_denied
- `404`: Not found: not_found
- `429`: Too many requests: rate_limited
- `500`: Internal error: internal
- `502`: Bad gateway: upstream_error
- `504`: Gateway timeout: upstream_timeout

---

[API](https://skmtc.dev/chatterapi/apis/chatterapi-api.md) · [All operations](https://skmtc.dev/chatterapi/apis/chatterapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatterapi/apis/chatterapi-api/revisions/74036d6f908a?raw)
