Skip to content

Get tweet quotes

GET
/twitter/tweet/quotes
const url = 'https://api.relayxapi.com/twitter/tweet/quotes?tweetId=example';
const options = {
method: 'GET',
headers: { 'X-API-Key': '<api-key>' },
};
try {
const res = await fetch(url, options);
const data = await res.json();
console.log(data);
} catch (err) {
console.error(err);
}

Page through quote posts — reposts that added commentary.

tweetId
required
Tweetid
string
cursor
Cursor
string
x-api-key
X-Api-Key
string

Successful Response

Media typeapplication/json
Example
{
"tweets": [
{
"type": "tweet",
"id": "1900000000000000006",
"url": "https://x.com/i/status/1900000000000000006",
"text": "Example post text.",
"retweetCount": 0,
"replyCount": 0,
"likeCount": 0,
"quoteCount": 0,
"viewCount": "9",
"bookmarkCount": 0,
"createdAt": "Fri Sep 25 13:35:11 +0000 2026",
"lang": "zxx",
"isReply": false,
"inReplyToId": null,
"conversationId": "1900000000000000006",
"displayTextRange": null,
"entities": null,
"quoted_tweet": {
"type": "tweet",
"id": "2103243305685225779",
"url": "https://x.com/i/status/2103243305685225779",
"text": "Welcome to the Artemis Accords, Côte d'Ivoire 🇨🇮\n \nCôte d'Ivoire is the 75th country to sign the Artemis Accords. In doing so, they commit to a common set of principles for a safe, peaceful, and prosperous future in space. https://t.co/lT9f9Kooo2 https://t.co/9Wf1T1ndGz",
"retweetCount": 281,
"replyCount": 109,
"likeCount": 2490,
"quoteCount": 24,
"viewCount": "665904",
"bookmarkCount": 190,
"createdAt": "Thu Sep 24 22:00:55 +0000 2026",
"lang": "en",
"isReply": false,
"inReplyToId": null,
"conversationId": null,
"displayTextRange": [
0,
246
],
"entities": {
"hashtags": [],
"symbols": [],
"urls": [
{
"display_url": "go.nasa.gov/3V1mgyS",
"expanded_url": "https://go.nasa.gov/3V1mgyS",
"indices": [
223,
246
],
"url": "https://t.co/lT9f9Kooo2"
}
],
"user_mentions": [],
"media": [
{
"display_url": "pic.x.com/9Wf1T1ndGz",
"expanded_url": "https://x.com/NASA/status/2103243305685225779/photo/1",
"features": {},
"id_str": "2103243297779003393",
"indices": [
247,
270
],
"media_results": {
"id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAAR0wOKLIVrABCgACHTA4pJ+WETMAAA==",
"result": {
"__typename": "ApiMedia",
"id": "QXBpTWVkaWE6DAABCgABHTA4oshWsAEKAAIdMDikn5YRMwAA",
"media_availability_v2": {
"status": "Available"
},
"media_id": "2103243297779003393",
"media_info": {
"__typename": "ApiImage",
"alt_text": "A graphic featuring the names and flags of the countries which have signed the Artemis Accords. \"ARTEMIS ACCORDS\" is written at the top.",
"color_info": {
"palette": [
{
"percentage": 71.19,
"rgb": {
"blue": 22,
"green": 11,
"red": 4
}
},
{
"percentage": 3.19,
"rgb": {
"blue": 215,
"green": 209,
"red": 211
}
}
]
},
"original_img_height": 3375,
"original_img_url": "https://pbs.twimg.com/media/HTA4oshWsAEdzZL.jpg",
"original_img_width": 6000
}
}
},
"url": "https://t.co/9Wf1T1ndGz"
}
]
},
"quoted_tweet": null,
"author": {
"type": "user",
"userName": "NASA",
"url": "https://x.com/NASA",
"id": "11348282",
"name": "NASA",
"isBlueVerified": true,
"description": "Making the seemingly impossible, possible. ✨",
"location": null,
"followers": 92374422,
"following": 117,
"statusesCount": null,
"createdAt": "Wed Dec 19 20:20:32 +0000 2007",
"profilePicture": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"coverPicture": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
"canDm": false,
"pinnedTweetIds": [],
"profile_bio": {
"description": "Making the seemingly impossible, possible. ✨",
"entities": {
"description": {}
}
}
}
},
"author": {
"type": "user",
"userName": "example_user13",
"url": "https://x.com/example_user13",
"id": "1000000000000000013",
"name": "Example User 13",
"isBlueVerified": false,
"description": "Example bio.",
"location": "",
"followers": 85,
"following": 130,
"statusesCount": null,
"createdAt": "Mon Mar 03 05:49:06 +0000 2025",
"profilePicture": "https://pbs.twimg.com/profile_images/example/avatar_normal.jpg",
"coverPicture": null,
"canDm": false,
"pinnedTweetIds": [],
"profile_bio": null
}
},
{
"type": "tweet",
"id": "1900000000000000007",
"url": "https://x.com/i/status/1900000000000000007",
"text": "Example post text.",
"retweetCount": 0,
"replyCount": 0,
"likeCount": 0,
"quoteCount": 0,
"viewCount": "29",
"bookmarkCount": 0,
"createdAt": "Fri Sep 25 11:45:34 +0000 2026",
"lang": "en",
"isReply": false,
"inReplyToId": null,
"conversationId": "1900000000000000007",
"displayTextRange": null,
"entities": null,
"quoted_tweet": {
"type": "tweet",
"id": "2103243305685225779",
"url": "https://x.com/i/status/2103243305685225779",
"text": "Welcome to the Artemis Accords, Côte d'Ivoire 🇨🇮\n \nCôte d'Ivoire is the 75th country to sign the Artemis Accords. In doing so, they commit to a common set of principles for a safe, peaceful, and prosperous future in space. https://t.co/lT9f9Kooo2 https://t.co/9Wf1T1ndGz",
"retweetCount": 281,
"replyCount": 109,
"likeCount": 2490,
"quoteCount": 24,
"viewCount": "665904",
"bookmarkCount": 190,
"createdAt": "Thu Sep 24 22:00:55 +0000 2026",
"lang": "en",
"isReply": false,
"inReplyToId": null,
"conversationId": null,
"displayTextRange": [
0,
246
],
"entities": {
"hashtags": [],
"symbols": [],
"urls": [
{
"display_url": "go.nasa.gov/3V1mgyS",
"expanded_url": "https://go.nasa.gov/3V1mgyS",
"indices": [
223,
246
],
"url": "https://t.co/lT9f9Kooo2"
}
],
"user_mentions": [],
"media": [
{
"display_url": "pic.x.com/9Wf1T1ndGz",
"expanded_url": "https://x.com/NASA/status/2103243305685225779/photo/1",
"features": {},
"id_str": "2103243297779003393",
"indices": [
247,
270
],
"media_results": {
"id": "QXBpTWVkaWFSZXN1bHRzOgwAAQoAAR0wOKLIVrABCgACHTA4pJ+WETMAAA==",
"result": {
"__typename": "ApiMedia",
"id": "QXBpTWVkaWE6DAABCgABHTA4oshWsAEKAAIdMDikn5YRMwAA",
"media_availability_v2": {
"status": "Available"
},
"media_id": "2103243297779003393",
"media_info": {
"__typename": "ApiImage",
"alt_text": "A graphic featuring the names and flags of the countries which have signed the Artemis Accords. \"ARTEMIS ACCORDS\" is written at the top.",
"color_info": {
"palette": [
{
"percentage": 71.19,
"rgb": {
"blue": 22,
"green": 11,
"red": 4
}
},
{
"percentage": 3.19,
"rgb": {
"blue": 215,
"green": 209,
"red": 211
}
}
]
},
"original_img_height": 3375,
"original_img_url": "https://pbs.twimg.com/media/HTA4oshWsAEdzZL.jpg",
"original_img_width": 6000
}
}
},
"url": "https://t.co/9Wf1T1ndGz"
}
]
},
"quoted_tweet": null,
"author": {
"type": "user",
"userName": "NASA",
"url": "https://x.com/NASA",
"id": "11348282",
"name": "NASA",
"isBlueVerified": true,
"description": "Making the seemingly impossible, possible. ✨",
"location": null,
"followers": 92374422,
"following": 117,
"statusesCount": null,
"createdAt": "Wed Dec 19 20:20:32 +0000 2007",
"profilePicture": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"coverPicture": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
"canDm": false,
"pinnedTweetIds": [],
"profile_bio": {
"description": "Making the seemingly impossible, possible. ✨",
"entities": {
"description": {}
}
}
}
},
"author": {
"type": "user",
"userName": "example_user14",
"url": "https://x.com/example_user14",
"id": "1000000000000000014",
"name": "Example User 14",
"isBlueVerified": false,
"description": "Example bio.",
"location": "",
"followers": 553,
"following": 193,
"statusesCount": null,
"createdAt": "Fri May 13 10:38:03 +0000 2022",
"profilePicture": "https://pbs.twimg.com/profile_images/example/avatar_normal.jpg",
"coverPicture": null,
"canDm": true,
"pinnedTweetIds": [],
"profile_bio": null
}
}
],
"status": "success",
"message": "",
"has_next_page": true,
"next_cursor": "DAADDAABCgABHTEOex0W0LkKAAIdMDnHnFuhjAAIAAIAAAACCAADAAAAAAgABAAAAAAKAAUdMRHlJAAnEAoABh0xEeUj_9jwCwAHAAAA8EVtUEM2d0FBQWZRL2dHSk4wdkdwL0FBQUFCUWRNRi9ybWx1QURoMHc3dUIvMnJBN0hUQ3U3KzRhZ1JRZE1HS3FscGJnVEIwd29nQjBHbUIxSFRDMy9NTVdNTm9kTUorM2dCZGd5QjB3ZDRSRm00RzhIVEQxWkJ5V0FHMGRNRG5IbkZ1aGpCMHdQQnhrMmxIRUhUQ3ZKMzNic0MwZE1QSER1OWZRZEIweERuc2RGdEM1SFRDYVBYV2JFSllkTU5MUnlGcGhUeDB3UFI2QldsRGRIVEE3ajhVWGNXOGRNRUZ6Vkp0aEZSMHdYWTgrbDlFTAAA"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}