POST/v1/data/twitter/profile

Twitter Profile

Get a Twitter/X user profile including follower/following counts, tweet count, verification status, bio, location, and profile images.

Target Latency

1.2s - 4.5s

Credits

1 cr/req

Parameters

NameTypeRequirementDescription
usernamestringREQUIREDTwitter/X username without @ prefix. 1-50 characters.

cURL Example

curl -X POST "https://api.datablue.dev/v1/data/twitter/profile" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "username": "naval"
}'

System Responses

200 OK

Request processed successfully.

401 UNAUTHORIZED

Missing or invalid API key.

429 RATE LIMIT

System capacity exceeded.

500 SYSTEM FAILURE

Internal core exception.

EXAMPLE RESPONSE
{
  "success": true,
  "time_taken": 1.82,
  "user": {
    "id": "745273",
    "username": "naval",
    "name": "Naval",
    "description": "Angel investor, founder of AngelList. Building the future.",
    "followers_count": 2100000,
    "following_count": 1847,
    "tweet_count": 18400,
    "like_count": 42000,
    "listed_count": 12500,
    "verified": true,
    "created_at": "2006-12-19T00:00:00Z",
    "profile_image_url": "https://pbs.twimg.com/profile_images/naval_400x400.jpg",
    "profile_banner_url": "https://pbs.twimg.com/profile_banners/745273/1600x600.jpg",
    "location": "San Francisco, CA",
    "url": "https://nav.al"
  }
}