Skip to main content
POST
/
api
/
twitter
/
user
/twitter/user
curl --request POST \
  --url https://api.anysite.io/api/twitter/user \
  --header 'Content-Type: application/json' \
  --header 'access-token: <access-token>' \
  --data '{
  "timeout": 300,
  "user": "CoinDesk"
}'
[
  {
    "@type": "TwitterUser",
    "internal_id": "<string>",
    "rest_id": "<string>",
    "name": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "description": "<string>",
    "location": "<string>",
    "follower_count": 123,
    "following_count": 123,
    "tweet_count": 123,
    "listed_count": 123,
    "favorites_count": 123,
    "media_count": 123,
    "image": "<string>",
    "banner_url": "<string>",
    "verified": false,
    "verified_type": "<string>",
    "is_blue_verified": false,
    "created_at": 123,
    "professional": {
      "@type": "TwitterUserProfessional",
      "rest_id": "<string>",
      "professional_type": "<string>",
      "categories": [
        {}
      ]
    },
    "verification_info": {
      "@type": "TwitterUserVerification",
      "is_identity_verified": false,
      "verified_since": "<string>",
      "reason_description": "<string>"
    },
    "profile_urls": [],
    "mentions": [],
    "birthdate": {
      "@type": "TwitterUserBirthdate",
      "day": 123,
      "month": 123,
      "year": 123,
      "visibility": "",
      "year_visibility": "",
      "timestamp": 123
    },
    "is_profile_translatable": false,
    "has_hidden_subscriptions": false,
    "can_highlight_tweets": false,
    "highlighted_tweets_count": 0,
    "user_seed_tweet_count": 0,
    "premium_gifting_eligible": false,
    "creator_subscriptions_count": 0
  }
]

Headers

access-token
string
required

Body

application/json
user
string
required

User Alias or URL

Examples:

"CoinDesk"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

internal_id
string
required
rest_id
string
required
name
string
required
alias
string
required
url
string
required
@type
string
default:TwitterUser
description
string | null
location
string | null
follower_count
integer | null
following_count
integer | null
tweet_count
integer | null
listed_count
integer | null
favorites_count
integer | null
media_count
integer | null
image
string | null
banner_url
string | null
verified
boolean
default:false
verified_type
string | null
is_blue_verified
boolean
default:false
created_at
integer | null
professional
object | null
verification_info
object | null
profile_urls
TwitterUrl · object[]
mentions
TwitterUserMention · object[]
birthdate
object | null
is_profile_translatable
boolean
default:false
has_hidden_subscriptions
boolean
default:false
can_highlight_tweets
boolean
default:false
highlighted_tweets_count
integer
default:0
user_seed_tweet_count
integer
default:0
premium_gifting_eligible
boolean
default:false
creator_subscriptions_count
integer
default:0
I