Twitter User Info
/api/v2/twitter/user_info
API endpoint allows you to scrape Twitter user: website, followers, following...
API Parameters
Name | Title | Type | Description |
---|---|---|---|
query * | Twitter url or slug | parameter | A twitter url `https://twitter.com/elonmusk` or slug like `elonmusk` or `@elonmusk`. |
x_api_key * | Piloterr API key | parameter | Parameter defines the Piloterr private key to use. |
Endpoint
GET https://piloterr.com/api/v2/twitter/user_info?query=https://twitter.com/elonmusk&x_api_key=xxxxxx
Example
{
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"avatar": "https://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg",
"banner": "https://pbs.twimg.com/profile_banners/44196397/1576183471",
"description": null,
"website": null,
"private": false,
"verified": true,
"followers": 124995067,
"following": 167
}