Get Tweet Quotes
GET
Get quotes for a specific tweet ID
GET /api/v1/twitter/tweets/:tweetId/quotes
Authorization
X-API-Key
stringrequired
Parameters
Name | Type | Required | Description |
---|---|---|---|
tweetId | string | required | The ID of the tweet to get quotes for |
cursor | string | optional | Pagination cursor for fetching next page of results |
Example Request
curl -X GET \
"https://api.xscraper.xyz/api/v1/twitter/tweets/1722715025402413077/quotes" \
-H "X-API-Key: "
Response
Tweet Quotes
application/json
{
"data": {
"quotes": [
{
"id": "1722915025402413088",
"text": "Interesting take on this topic! Here's my thoughts... https://twitter.com/elonmusk/status/1722715025402413077",
"username": "twitteruser",
"name": "Twitter User",
"userId": "987654321",
"likes": 2500,
"replies": 180,
"retweets": 450,
"views": 75000,
"timeParsed": "2025-04-18T18:30:00.000Z",
"hashtags": ["discussion", "thoughts"],
"mentions": [],
"photos": [],
"videos": [],
"urls": ["https://twitter.com/elonmusk/status/1722715025402413077"],
"isReply": false,
"isRetweet": false,
"isQuoted": true,
"quotedStatusId": "1722715025402413077"
}
],
"next": "cursor_token_for_next_page"
},
"meta": {
"statusCode": 200,
"timestamp": "2025-04-19T15:49:28.824Z"
}
}
Error Responses
401 Unauthorized
{
"statusCode": 401,
"timestamp": "2025-04-19T15:49:28.824Z",
"path": "/api/v1/twitter/tweets/1722715025402413077/quotes",
"method": "GET",
"message": "Invalid or expired API key"
}
404 Not Found
{
"statusCode": 404,
"timestamp": "2025-04-19T15:49:28.824Z",
"path": "/api/v1/twitter/tweets/nonexistenttweetid/quotes",
"method": "GET",
"message": "Quotes not found"
}