Skip to Content

Single account profile

Returns a single public profile. `data` is an object, not an array.

GET
/v1/users/:username

Returns a single public profile. data is an object, not an array.

Authorization

headerX-API-KEY<token>

Path Parameters

username*string

X handle, letters, digits and underscores, 1–15 characters

Range1 <= value <= 15

Query Parameters

raw?string

Pass 1 or true to get the upstream's raw JSON instead of the flat payload (used for benchmark comparisons)

Response Body

OK

application/json
  1. response
data*
meta?
Example Request
curl -X GET 'https://api.agenttweet.com/v1/users/:username'
Example Response
{  "data": {    "id": "string",    "username": "string",    "name": "string",    "description": "string",    "followers": 0,    "following": 0,    "tweets": 0,    "verified": true,    "protected": true,    "created_at": "string",    "avatar_url": "string",    "banner_url": "string",    "location": "string",    "website": "string"  },  "meta": {    "count": 0,    "cursor": "string",    "provider": "string",    "cached": true,    "tokens_raw": 0,    "tokens_flat": 0,    "tokens_saved": 0,    "tokens_saved_pct": 0,    "tokens_billed": 0,    "cost_usd": 0,    "balance_usd": 0,    "request_id": "string"  }}