Get Article
curl --request GET \
--url https://api.omnixapi.com/api/v1/twitter/article/get \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.omnixapi.com/api/v1/twitter/article/get', 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/article/get"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": true,
"data": {
"article": {
"id": "<string>",
"author": {
"type": "user",
"id": "44196397",
"userName": "elonmusk",
"name": "Elon Musk",
"url": "<string>",
"twitterUrl": "<string>",
"isVerified": true,
"isBlueVerified": true,
"verifiedType": "<string>",
"profilePicture": "<string>",
"coverPicture": "<string>",
"description": "<string>",
"location": "<string>",
"followers": 123,
"following": 123,
"favouritesCount": 123,
"statusesCount": 123,
"mediaCount": 123,
"canDm": true,
"createdAt": "<string>",
"pinnedTweetIds": [
"<string>"
]
},
"replyCount": 123,
"likeCount": 123,
"quoteCount": 123,
"viewCount": 123,
"createdAt": "<string>",
"title": "<string>",
"preview_text": "<string>",
"cover_media_img_url": "<string>",
"contents": [
{
"type": "unstyled",
"text": "<string>",
"url": "<string>",
"width": 123,
"height": 123,
"inlineStyleRanges": [
{}
]
}
],
"tweet_id": "<string>",
"lifecycle": "<string>"
}
},
"error": null
}{
"status": false,
"data": null,
"error": "Tweet not found: 1899999999999999999"
}Articles
Get Article
Read an Article publicly by its wrapper tweet id, or read your own (incl. drafts) by article_id (the entity rest_id).
GET
/
article
/
get
Get Article
curl --request GET \
--url https://api.omnixapi.com/api/v1/twitter/article/get \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.omnixapi.com/api/v1/twitter/article/get', 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/article/get"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": true,
"data": {
"article": {
"id": "<string>",
"author": {
"type": "user",
"id": "44196397",
"userName": "elonmusk",
"name": "Elon Musk",
"url": "<string>",
"twitterUrl": "<string>",
"isVerified": true,
"isBlueVerified": true,
"verifiedType": "<string>",
"profilePicture": "<string>",
"coverPicture": "<string>",
"description": "<string>",
"location": "<string>",
"followers": 123,
"following": 123,
"favouritesCount": 123,
"statusesCount": 123,
"mediaCount": 123,
"canDm": true,
"createdAt": "<string>",
"pinnedTweetIds": [
"<string>"
]
},
"replyCount": 123,
"likeCount": 123,
"quoteCount": 123,
"viewCount": 123,
"createdAt": "<string>",
"title": "<string>",
"preview_text": "<string>",
"cover_media_img_url": "<string>",
"contents": [
{
"type": "unstyled",
"text": "<string>",
"url": "<string>",
"width": 123,
"height": 123,
"inlineStyleRanges": [
{}
]
}
],
"tweet_id": "<string>",
"lifecycle": "<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.
Wrapper tweet ID (public read).
Article entity rest_id (owner-only read; also needs auth_token).
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.