Reddit post details in bulk by post fullnames
tikhub.x.reddit-app-fetch-post-details-batchReddit: fetch post details batch (app)
- Price
- $0.005/successZum Anbieterpreis
- Success rate
- 99,9 %Last 30 days · 845 calls
- Latency p50
- 1.2 sp95 2.5 s
- Last verified
- 28.07.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 onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
post_ids | Zeichenkette | Erforderlich | Reddit post FULLNAMES (t3_ prefix required) comma-separated, max 5 | t3_1ojnh50,t3_1ok432f,t3_1nwil8j |
comment_id | Zeichenkette | Optional | Comment FULLNAME, t1_ prefix required (when include_comment_id is True) | |
need_format | Boolean | Optional | Whether to clean and format the data | false |
include_comment_id | Boolean | Optional | Include specific comment ID | false |
- Abfrageparameter
post_idsZeichenketteErforderlichReddit post FULLNAMES (t3_ prefix required) comma-separated, max 5
Beispiel:
t3_1ojnh50,t3_1ok432f,t3_1nwil8jcomment_idZeichenketteOptionalComment FULLNAME, t1_ prefix required (when include_comment_id is True)
need_formatBooleanOptionalWhether to clean and format the data
Beispiel:
falseinclude_comment_idBooleanOptionalInclude specific comment ID
Beispiel:
false
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.005/success einschließlich Servicegebühr abgerechnet.