Skip to content

Search tweets from all communities

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

Not available yet. This endpoint currently returns HTTP 501 and is never charged. Search posts across all public Communities by keyword or hashtag.

query
required
Query
string
queryType
Querytype
string
default: Latest
cursor
Cursor
string
x-api-key
X-Api-Key
string

Successful Response

Media typeapplication/json
Examplegenerated
example

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