Twitter / X
Query public users, posts, communities and trends.
Get Tweets by IDs
Fetch the full content of specific tweets when you already know their numeric tweet IDs (accepts multiple IDs in one call). Use this to expand IDs surfaced by search, timelines, or replies into complete objects. Returns text, author, source client, language, creation time, and engagement counts (likes, retweets, replies, quotes, bookmarks, views). If you do not have IDs yet, start with get_twitter_tweet_advanced_search.
- Тип: array string[]tweet
_ids обязательноComma-separated list of tweet IDs.
- Тип: object200
Successful response
- Тип: integercode
Integer numbers.
- Тип: stringmsg
- Тип: stringstatus
- Тип: array object[] · Tweet[]tweets
- authorТип: object · User
- automatedТип: string
By - canТип: boolean
Dm - coverТип: string
Picture - createdТип: string
At - descriptionТип: string
- favouritesТип: integer
Count Integer numbers.
- followersТип: integer
Integer numbers.
- followingТип: integer
Integer numbers.
- hasТип: boolean
Custom Timelines - idТип: string
- isТип: boolean
Automated - isТип: boolean
Blue Verified - isТип: boolean
Translator - locationТип: string
- mediaТип: integer
Count Integer numbers.
- messageТип: string
- nameТип: string
- pinnedТип: array string[]
Tweet Ids - possiblyТип: boolean
Sensitive - profileТип: object
_bio - descriptionТип: string
- entitiesТип: object
- descriptionТип: object
- urlsТип: array object[]
- displayТип: string
_url - expandedТип: string
_url - indicesТип: array integer[]
- urlТип: string
- urlТип: object
- urlsТип: array object[]
- displayТип: string
_url - expandedТип: string
_url - indicesТип: array integer[]
- urlТип: string
- profileТип: string
Picture - statusesТип: integer
Count Integer numbers.
- typeТип: string
- unavailableТип: boolean
- unavailableТип: string
Reason - urlТип: string
- userТип: string
Name - verifiedТип: string
Type - withheldТип: array string[]
In Countries
- bookmarkТип: integer
Count Integer numbers.
- conversationТип: string
Id - createdТип: string
At - displayТип: array integer[]
Text Range - entitiesТип: object
- hashtagsТип: array object[]
- indicesТип: array integer[]
- textТип: string
- urlsТип: array object[]
- displayТип: string
_url - expandedТип: string
_url - indicesТип: array integer[]
- urlТип: string
- userТип: array object[]
_mentions - idТип: string
_str - nameТип: string
- screenТип: string
_name
- idТип: string
- inТип: string
Reply To Id - inТип: string
Reply To User Id - inТип: string
Reply To Username - isТип: boolean
Limited Reply - isТип: boolean
Reply - langТип: string
- likeТип: integer
Count Integer numbers.
- quoteТип: integer
Count Integer numbers.
- quotedТип: string
_tweet - replyТип: integer
Count Integer numbers.
- retweetТип: integer
Count Integer numbers.
- retweetedТип: string
_tweet - sourceТип: string
- textТип: string
- typeТип: string
- urlТип: string
- viewТип: integer
Count Integer numbers.
application/json - 400
The request could not be processed. Check the request parameters.
- 401
A valid Felo API key is required.
- 402
The request cannot proceed because a billing requirement is not met.
- 403
The account is not permitted to perform this operation.
- 429
A request or spending limit has been reached.
- 502
The service could not complete the request.
- 503
The API or billing service is temporarily unavailable.
- 504
The service timed out while processing the request.
- default
The operation failed. Keep the response request ID when contacting Felo support.
curl 'https://openapi.felo.ai/v1/beta/twitter/tweets?tweet_ids=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"tweets": [
{
"type": "string",
"id": "string",
"url": "string",
"text": "string",
"source": "string",
"retweetCount": 1,
"replyCount": 1,
"likeCount": 1,
"quoteCount": 1,
"viewCount": 1,
"createdAt": "string",
"lang": "string",
"bookmarkCount": 1,
"isReply": true,
"inReplyToId": "string",
"conversationId": "string",
"displayTextRange": [
1
],
"inReplyToUserId": "string",
"inReplyToUsername": "string",
"author": {
"type": "string",
"userName": "string",
"url": "string",
"id": "string",
"name": "string",
"isBlueVerified": true,
"verifiedType": "string",
"profilePicture": "string",
"coverPicture": "string",
"description": "string",
"location": "string",
"followers": 1,
"following": 1,
"canDm": true,
"createdAt": "string",
"favouritesCount": 1,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 1,
"statusesCount": 1,
"withheldInCountries": [
"string"
],
"possiblySensitive": true,
"pinnedTweetIds": [
"string"
],
"isAutomated": true,
"automatedBy": "string",
"unavailable": true,
"message": "string",
"unavailableReason": "string",
"profile_bio": {
"description": "string",
"entities": {
"description": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
},
"url": {
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
]
}
}
}
},
"entities": {
"hashtags": [
{
"indices": [
1
],
"text": "string"
}
],
"urls": [
{
"display_url": "string",
"expanded_url": "string",
"indices": [
1
],
"url": "string"
}
],
"user_mentions": [
{
"id_str": "string",
"name": "string",
"screen_name": "string"
}
]
},
"quoted_tweet": "string",
"retweeted_tweet": "string",
"isLimitedReply": true
}
],
"status": "string",
"msg": "string",
"code": 1
}