Fetch User’s Tweets and Replies
The tweets and replies 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
The username of the user to search for.
The number of tweets to fetch.
Required range:
1 <= x <= 100
Search query. For syntax, check https://docs.datura.ai/guides/capabilities/twitter-queries
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
.