# X (Twitter) User Search

<p>Search public accounts by keyword.</p>

- **Documentation:** [https://scrappa.co/docs/x-twitter/x_twitter_search_users](https://scrappa.co/docs/x-twitter/x_twitter_search_users)
- **API group:** X (Twitter) API
- **Endpoint:** `GET https://scrappa.co/api/x-twitter/search/users`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | <p>Search query.</p> |
| `cursor` | string | No | <p>Opaque cursor from the previous page. Pagination is driven by this value; the returned result count is the authoritative page size.</p> |
| `count` | integer | No | <p>Requested page size. Advisory only: the upstream sets the page size, so the returned result count is what matters.</p> |
| `lang` | string | No | <p>Result language code.</p> |

## Example response

```json
{
    "count": 1,
    "cursor": "DAABCgACF__sample_opaque_cursor",
    "results": [
        {
            "url": "https://x.com/example",
            "name": "NASA",
            "rest_id": "44196397",
            "verified": true,
            "followers": 12840000,
            "following": 2400,
            "screen_name": "example"
        }
    ]
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
