Skip to content

Get list tweets

GET
/twitter/list/tweets_timeline
const url = 'https://api.relayxapi.com/twitter/list/tweets_timeline?listId=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);
}

Return the timeline of posts from a List, newest first.

listId
required
Listid
string
cursor
Cursor
string
x-api-key
X-Api-Key
string

Successful Response

Media typeapplication/json
Example
{
"tweets": [],
"status": "success",
"message": "",
"has_next_page": false,
"next_cursor": ""
}

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"
}
]
}