Quote tweets of a post by post id
x.x.get-posts-quoted-postsGet Posts Quoted Posts
- Price
- $0.005/resultAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 45 calls
- Latency p50
- 189 msp95 379 ms
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/x.x.get-posts-quoted-postsPreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de chemin | ||||
id | chaîne | Obligatoire | ||
| Paramètres de requête | ||||
exclude | tableau | Facultatif | ||
max_results | entier | Facultatif | ||
pagination_token | chaîne | Facultatif | A base32hex-encoded pagination token. | |
- Paramètres de chemin
idchaîneObligatoire- Paramètres de requête
excludetableauFacultatifmax_resultsentierFacultatifpagination_tokenchaîneFacultatifA base32hex-encoded pagination token.
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/x.x.get-posts-quoted-posts' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/x.x.get-posts-quoted-posts",
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-posts-quoted-posts", {
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.005/result, frais de service inclus.