Search

Search Top

Description

This endpoint retrieves the top results for a given query, making it ideal for finding the most popular tweets related to a specific keyword or topic.

Endpoint

GET api/v1/realtime/social/twitter/v1/search/top?query={{keyword}}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term used to find X (Twitter) top.

cursor

No

Query Param

This optional parameter points to the starting point of your search. If this is your first request, this parameter can be omitted. In subsequent requests, use the cursor returned by the previous request to paginate through results.

Limitation

Subject
Value

Results per Request

<20 results

Total Results

~370 results

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/twitter/v1/search/top?query=elon musk' \
--header 'Authorization: Basic <credential string>'
Example Response

Search Latest

Description

Retrieves the most recent results for given keywords or advanced queries without limits.

Endpoint

GET api/v1/realtime/social/twitter/v1/search/latest?query={{keyword}}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term used to find X (Twitter) latest.

cursor

No

Query Param

This optional parameter points to the starting point of your search. If this is your first request, this parameter can be omitted. In subsequent requests, use the cursor returned by the previous request to paginate through results.

Limitation

Subject
Value

Results per Request

<20 results

Total Results

No Limit

Example Request
Example Response

Search Photos

Description

Retrieves photos related to a given query. This endpoint is useful when you want to discover photos related to a certain keyword or topic.

Endpoint

GET api/v1/realtime/social/twitter/v1/search/photos?query={{keyword}}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term used to find X (Twitter) photos.

cursor

No

Query Param

This optional parameter points to the starting point of your search. If this is your first request, this parameter can be omitted. In subsequent requests, use the cursor returned by the previous request to paginate through results.

Limitation

Subject
Value

Results per Request

<20 results

Total Results

~400

Example Request
Example Response

Search Videos

Description

Retrieves videos related to a given query. This endpoint is useful when you want to find videos related to a certain keyword or topic.

Endpoint

GET api/v1/realtime/social/twitter/v1/search/latest?videos={{keyword}}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term used to find X (Twitter) videos.

cursor

No

Query Param

This optional parameter points to the starting point of your search. If this is your first request, this parameter can be omitted. In subsequent requests, use the cursor returned by the previous request to paginate through results.

Limitation

Subject
Value

Results per Request

<20 results

Total Results

~400

Example Request
Example Response

Search People

Description

Retrieves profiles related to a given query. This endpoint is helpful when you want to find users related to a certain name, keyword or topic.

Endpoint

GET api/v1/realtime/social/twitter/v1/search/latest?people={{keyword}}

Parameters

Param
Required
Param Type
Description

query

Yes

Query Param

String | The search term used to find X (Twitter) people.

cursor

No

Query Param

This optional parameter points to the starting point of your search. If this is your first request, this parameter can be omitted. In subsequent requests, use the cursor returned by the previous request to paginate through results.

Limitation

Subject
Value

Results per Request

<20 results

Total Results

~1000

Example Request
Example Response

Last updated