Home timeline tweets, newest first, by user id
x.x.get-users-timelineGet Users Timeline
- Price
- $0.005/resultAt provider cost
- Success rate
- 97%Last 30 days · 66 calls
- Latency p50
- 374 msp95 1.8 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/x.x.get-users-timelinePreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Path parameters | ||||
id | string | Required | ||
| Query parameters | ||||
exclude | array | Optional | ||
end_time | string | Optional | Must be on or after 2010-11-06. | |
since_id | string | Optional | ||
until_id | string | Optional | ||
start_time | string | Optional | Must be on or after 2010-11-06. | |
max_results | integer | Optional | ||
pagination_token | string | Optional | A base32hex-encoded pagination token. | |
- Path parameters
idstringRequired- Query parameters
excludearrayOptionalend_timestringOptionalMust be on or after 2010-11-06.
since_idstringOptionaluntil_idstringOptionalstart_timestringOptionalMust be on or after 2010-11-06.
max_resultsintegerOptionalpagination_tokenstringOptionalA base32hex-encoded pagination token.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/x.x.get-users-timeline' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/x.x.get-users-timeline",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/x.x.get-users-timeline", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.005/result, including the service fee.