Get User Info By ID
curl --request GET \
--url https://api.omnixapi.com/api/v1/twitter/user/info_by_id \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.omnixapi.com/api/v1/twitter/user/info_by_id', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.omnixapi.com/api/v1/twitter/user/info_by_id"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": true,
"data": {
"id": "44196397",
"name": "Elon Musk",
"userName": "elonmusk",
"location": "<string>",
"url": "<string>",
"description": "<string>",
"protected": true,
"isVerified": true,
"isBlueVerified": true,
"verifiedType": "<string>",
"followers": 200000000,
"following": 1000,
"favouritesCount": 123,
"statusesCount": 123,
"mediaCount": 123,
"listedCount": 123,
"createdAt": "2009-06-02T20:12:29.000Z",
"coverPicture": "<string>",
"profilePicture": "<string>",
"canDm": true,
"pinnedTweetIds": [
"<string>"
]
},
"error": null
}{
"status": false,
"data": null,
"error": "Tweet not found: 1899999999999999999"
}Users
Get User Info By ID
Full profile for a user by numeric ID.
GET
/
user
/
info_by_id
Get User Info By ID
curl --request GET \
--url https://api.omnixapi.com/api/v1/twitter/user/info_by_id \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.omnixapi.com/api/v1/twitter/user/info_by_id', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.omnixapi.com/api/v1/twitter/user/info_by_id"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": true,
"data": {
"id": "44196397",
"name": "Elon Musk",
"userName": "elonmusk",
"location": "<string>",
"url": "<string>",
"description": "<string>",
"protected": true,
"isVerified": true,
"isBlueVerified": true,
"verifiedType": "<string>",
"followers": 200000000,
"following": 1000,
"favouritesCount": 123,
"statusesCount": 123,
"mediaCount": 123,
"listedCount": 123,
"createdAt": "2009-06-02T20:12:29.000Z",
"coverPicture": "<string>",
"profilePicture": "<string>",
"canDm": true,
"pinnedTweetIds": [
"<string>"
]
},
"error": null
}{
"status": false,
"data": null,
"error": "Tweet not found: 1899999999999999999"
}Authorizations
Your OmniX API key, e.g. omnix_live_.... Billed per call.
Query Parameters
The X account auth_token cookie the action runs as.
The numeric user ID.
Optional outbound proxy for this call (http:// or https://, optionally user:pass@host:port). The X request runs through it — useful for geo-routing or spreading calls across IPs. SOCKS proxies are not supported.