Profile
curl --request GET \
--url https://api.example.com/api/v1/scrape/twitter/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/twitter/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/twitter/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/twitter/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/twitter/profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/twitter/profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/twitter/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyTwitter Scraper
Profile
Retrieves a Twitter user’s profile by handle, including account metadata and statistics. Returns name, screen_name, description, followers_count, friends_count, statuses_count, favourites_count, location, profile_image_url_https, and is_blue_verified. Also includes verification_info, tipjar_settings, highlights_info, and creator_subscriptions_count.
GET
/
api
/
v1
/
scrape
/
twitter
/
profile
Profile
curl --request GET \
--url https://api.example.com/api/v1/scrape/twitter/profile \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/scrape/twitter/profile"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/scrape/twitter/profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/scrape/twitter/profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/scrape/twitter/profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/v1/scrape/twitter/profile")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/scrape/twitter/profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_bodyQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
handle | string | Yes | Twitter handle |
Response Example
{
"success": true,
"data": {
"__typename": "User",
"id": "VXNlcjoyMjE4MzgzNDk=",
"rest_id": "221838349",
"affiliates_highlighted_label": {
"label": {
"url": {
"url": "https://twitter.com/bloomtech",
"urlType": "DeepLink"
},
"badge": {
"url": "https://pbs.twimg.com/profile_images/1542996246477938688/PR4UFtE6_bigger.jpg"
},
"description": "Bloom Institute of Technology",
"userLabelType": "BusinessLabel",
"userLabelDisplayType": "Badge"
}
},
"is_blue_verified": true,
"profile_image_shape": "Circle",
"legacy": {
"created_at": "Wed Dec 01 19:13:23 +0000 2010",
"default_profile": false,
"default_profile_image": false,
"description": "CEO https://t.co/m6TigM5azr & https://t.co/NuPTghEZ1I (part of @bloomtech). We help teams maximize productivity using AI. Will tweet as I wish and suffer the consequences.",
"entities": {
"description": {
"urls": [
{
"display_url": "GauntletAI.com",
"expanded_url": "http://GauntletAI.com",
"url": "https://t.co/m6TigM5azr",
"indices": [
4
]
}
]
},
"url": {
"urls": [
{
"display_url": "gauntletai.com",
"expanded_url": "http://gauntletai.com",
"url": "https://t.co/nCe0AdT8D4",
"indices": [
0
]
}
]
}
},
"fast_followers_count": 0,
"favourites_count": 80812,
"followers_count": 377608,
"friends_count": 1051,
"has_custom_timelines": true,
"is_translator": false,
"listed_count": 3959,
"location": "Austin, TX",
"media_count": 3843,
"name": "Austen Allred",
"normal_followers_count": 377608,
"pinned_tweet_ids_str": [
"1882816395400073367"
],
"possibly_sensitive": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/221838349/1622098809",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/1608281295918096385/D2kh-M28_normal.jpg",
"profile_interstitial_type": "",
"screen_name": "Austen",
"statuses_count": 46114,
"translator_type": "regular",
"url": "https://t.co/nCe0AdT8D4",
"verified": false,
"withheld_in_countries": []
},
"tipjar_settings": {
"is_enabled": false,
"bandcamp_handle": "",
"bitcoin_handle": "",
"cash_app_handle": "",
"ethereum_handle": "",
"gofundme_handle": "",
"patreon_handle": "",
"pay_pal_handle": "",
"venmo_handle": ""
},
"legacy_extended_profile": {},
"is_profile_translatable": false,
"has_hidden_subscriptions_on_profile": false,
"verification_info": {
"is_identity_verified": false,
"reason": {
"description": {
"text": "This account is verified because it's an affiliate of @bloomtech on X. Learn more",
"entities": [
{
"from_index": 54,
"to_index": 64,
"ref": {
"url": "https://twitter.com/bloomtech",
"url_type": "ExternalUrl"
}
}
]
},
"verified_since_msec": "1473330227634"
}
},
"highlights_info": {
"can_highlight_tweets": true,
"highlighted_tweets": "482"
},
"user_seed_tweet_count": 0,
"business_account": {},
"creator_subscriptions_count": 3
}
}
Last modified on September 21, 2026

