WEB DATA
Twitter user timeline
Retrieve public posts and profile details from one Twitter account.
https://api.sukidata.com/v1/twitterQUICKSTART
Make a request
Identify the account by username or numeric user ID. The default page contains up to 20 posts.
curl --request POST \
--url https://api.sukidata.com/v1/twitter \
--header "Authorization: Bearer $SUKIDATA_API_KEY" \
--header 'Content-Type: application/json' \
--data '{
"username": "Cloudflare",
"max_results": 20
}'REQUEST BODY
Parameters
Provide exactly one of username or user_id.
usernamestring · one requiredTwitter username with or without a leading @.
user_idstring · one requiredNumeric Twitter user ID.
max_resultsintegerMaximum posts returned in this page, from 1 to 100. The default is 20.
cursorstringThe opaque next_cursor value from the preceding response.
asyncbooleanSet to true to receive the search ID immediately and query the result later. Defaults to false.
RESPONSE
Timeline result
A completed response contains the account, its posts, and a cursor when another page is available.
search_metadataRequest status, identifiers, timing, and result file links.search_parametersAccount identifier and page settings used.userPublic profile fields for the requested account.tweetsReturned public posts, including text and available engagement details.next_cursorOpaque value used to request the next page.search_metadata.status is Queued or Processing, query GET /v1/twitter/{search_id} using search_metadata.id.BILLING
Credit usage
Twitter uses Web Data credits. Read X-Sukidata-Credits-Used for the final charge. See Web Data billing for rates and free responses.
Need help with a request? Email support@sukidata.com and include the X-Request-ID response header.