x_profile
Fetch a public X (Twitter) profile's name, handle, bio, and follower counts as JSON by providing a username or user ID.
Instructions
Scrape an X (Twitter) profile via Scrapingdog (/x/profile). Returns the profile's name, handle, follower counts, bio, and other public metadata as JSON. Pass a username or user ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Override the configured Scrapingdog API key for this call. If omitted, the key is read from SCRAPINGDOG_API_KEY or a local .env file. | |
| profileId | Yes | The user ID or username of the X profile to scrape, e.g. 'elonmusk' or 'nasa'. |