X Search
Search X Posts by User
The X posts search by user API allows users to search for relevant links or tweets based on X search queries without leveraging AI-powered models. This API analyze links from X posts that match the given prompt.
GET
Authorizations
Query Parameters
User to search for
Search query. For syntax, check https://docs.datura.ai/guides/capabilities/twitter-queries
Number of tweets to retrieve
Required range:
1 <= x <= 100
Response
200
application/json
A JSON object mapping Twitter Search to its search results.
Example:
"987654321"
Example:
"This is an example tweet."
Example:
10
Example:
5
Example:
100
Example:
1000
Example:
2
Example:
1500
Example:
3
Example:
"https://twitter.com/example_tweet"
Example:
"2023-01-01T00:00:00Z"
Example:
false
Example:
false
Example:
[]
Example:
"987654321"
Example:
"This is an example tweet."
Example:
10
Example:
5
Example:
100
Example:
1000
Example:
2
Example:
1500
Example:
3
Example:
"https://twitter.com/example_tweet"
Example:
"2023-01-01T00:00:00Z"
Example:
false
Example:
false
Example:
[]
The response is of type object
.