X (Twitter) user posts by numeric user id
justoneapi.x.twitter-get-user-posts-v1Retrieves posts published by an X (Twitter) user identified by Rest ID, with cursor pagination.
- Price
- $0.01476/successZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 121 calls
- Latency p50
- 2.9 sp95 4.2 s
- Last verified
- 28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.twitter-get-user-posts-v1?cursor=0&restId=44196397PreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
cursor | Zeichenkette | Optional | Pagination cursor for navigating through long timelines. | |
restId | Zeichenkette | Erforderlich | The unique numeric identifier (Rest ID) for the X user. | 44196397 |
- Abfrageparameter
cursorZeichenketteOptionalPagination cursor for navigating through long timelines.
restIdZeichenketteErforderlichThe unique numeric identifier (Rest ID) for the X user.
Beispiel:
44196397
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.twitter-get-user-posts-v1?cursor=0&restId=44196397' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.twitter-get-user-posts-v1?cursor=0&restId=44196397",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.twitter-get-user-posts-v1?cursor=0&restId=44196397", {
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.01476/success einschließlich Servicegebühr abgerechnet.