Social API
Is this X (Twitter) account a crypto project or a person
What kind of crypto account an X account is, e.g. "Crypto Project" or "Crypto Person".
/api/external/social/social-account-category/{username}What it returns
What kind of crypto account one X (Twitter) account is — for example "Crypto Project" or "Crypto Person". The same label the follower lists carry as category. Not scoped to any chain. A username no tracked account has, or an account not classified, answers 404.
Chains
This endpoint is not tied to a chain: it takes no chain in its request.
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/social/social-account-category/<username>"
| Parameter | Description |
|---|---|
usernamepath · string · required | An X (Twitter) account by its username, with or without the leading "@" (e.g. "solana"), in any case — 1 to 15 letters, digits or underscores. Not a wallet address, and not scoped to any chain. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
username | string | The username, without "@". |
category | string | What kind of account it is, e.g. "Crypto Project" or "Crypto Person". |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key