Reddit post details in bulk by post fullnames
tikhub.x.reddit-app-fetch-post-details-batchReddit: fetch post details batch (app)
- Price
- $0.005/successAu prix du fournisseur
- Success rate
- 99,9 %Last 30 days · 845 calls
- Latency p50
- 1.2 sp95 2.5 s
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.reddit-app-fetch-post-details-batch?post_ids=t3_1ojnh50%2Ct3_1ok432f%2Ct3_1nwil8j&need_format=false&include_comment_id=falsePreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
post_ids | chaîne | Obligatoire | Reddit post FULLNAMES (t3_ prefix required) comma-separated, max 5 | t3_1ojnh50,t3_1ok432f,t3_1nwil8j |
comment_id | chaîne | Facultatif | Comment FULLNAME, t1_ prefix required (when include_comment_id is True) | |
need_format | booléen | Facultatif | Whether to clean and format the data | false |
include_comment_id | booléen | Facultatif | Include specific comment ID | false |
- Paramètres de requête
post_idschaîneObligatoireReddit post FULLNAMES (t3_ prefix required) comma-separated, max 5
Exemple :
t3_1ojnh50,t3_1ok432f,t3_1nwil8jcomment_idchaîneFacultatifComment FULLNAME, t1_ prefix required (when include_comment_id is True)
need_formatbooléenFacultatifWhether to clean and format the data
Exemple :
falseinclude_comment_idbooléenFacultatifInclude specific comment ID
Exemple :
false
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.reddit-app-fetch-post-details-batch?post_ids=t3_1ojnh50%2Ct3_1ok432f%2Ct3_1nwil8j&need_format=false&include_comment_id=false' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.reddit-app-fetch-post-details-batch?post_ids=t3_1ojnh50%2Ct3_1ok432f%2Ct3_1nwil8j&need_format=false&include_comment_id=false",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.reddit-app-fetch-post-details-batch?post_ids=t3_1ojnh50%2Ct3_1ok432f%2Ct3_1nwil8j&need_format=false&include_comment_id=false", {
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/success, frais de service inclus.