Reddit Post API
Reddit Post: query public data. Empty results and failed requests are free. Page size uses the service default and cannot be supplied.
Query public data using explicit parameters and saved real response examples.
Open the product page and testPOST https://api.goanyapi.com/api/v1/reddit/post/detailRequest and authentication
Synchronous POST JSON endpoint; no task creation or polling. Authenticate with Authorization: Bearer YOUR_API_KEY. There are no Path or Query parameters.
Input parameters
| Parameter | Location | Type | Required | Default | Constraints and meaning |
|---|---|---|---|---|---|
| Authorization | Header | string | Yes | — | Bearer YOUR_API_KEY |
| Content-Type | Header | string | Yes | application/json | application/json |
| url | JSON body | string | Yes | — | Full Reddit post URL. Use a complete resource URL as the primary input. Only https resource links on the documented platform are accepted; unrelated hosts and resource types are rejected. maxLength: 2048 |
Prefer complete resource URLs. Threads user endpoints also accept a username or @username; no separate identifier lookup or additional charge is required. first, count and limit are not public inputs; the service default page size is used and actual results may be fewer.
Request example
POST /api/v1/reddit/post/detail
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://www.reddit.com/r/wallstreetbets/comments/1xy3kap/"
}Output fields
Success returns HTTP 200 with business data in data.result. Null, empty strings, empty arrays and missing fields are preserved without fabricated data. False and zero are valid business values, not empty results.
| Field | Type | Meaning |
|---|---|---|
| code | string | ok on success; public error code on failure |
| message | string | Request status message |
| data.result | object / null | Public result; may be empty or null |
| data.creditsUsed | integer | Actual credits charged; zero for empty results, database-configured rate otherwise |
| data.remainingCredits | number | Account credit balance after settlement |
| data.result.author | string | Public business field; null, empty and missing values are preserved |
| data.result.authorId | string | Public business field; null, empty and missing values are preserved |
| data.result.awardCount | number | Public business field; null, empty and missing values are preserved |
| data.result.commentCount | number | Public business field; null, empty and missing values are preserved |
| data.result.contentUrl | string | Public business field; null, empty and missing values are preserved |
| data.result.createdAt | string | Public business field; null, empty and missing values are preserved |
| data.result.domain | string | Public business field; null, empty and missing values are preserved |
| data.result.id | string | Public business field; null, empty and missing values are preserved |
| data.result.images | array | Public business field; null, empty and missing values are preserved |
| data.result.language | string | Public business field; null, empty and missing values are preserved |
| data.result.score | number | Public business field; null, empty and missing values are preserved |
| data.result.state | null | Public business field; null, empty and missing values are preserved |
| data.result.subreddit | string | Public business field; null, empty and missing values are preserved |
| data.result.subredditId | string | Public business field; null, empty and missing values are preserved |
| data.result.text | string | Public business field; null, empty and missing values are preserved |
| data.result.title | string | Public business field; null, empty and missing values are preserved |
| data.result.type | string | Public business field; null, empty and missing values are preserved |
| data.result.upvoteRatio | number | Public business field; null, empty and missing values are preserved |
| data.result.url | string | Public business field; null, empty and missing values are preserved |
| data.result.video | null | Public business field; null, empty and missing values are preserved |
Pagination and result boundaries
This endpoint accepts no pagination parameters and does not automatically fetch more pages.
Real response example
Captured at: 2026-11-18T09:31:51Z
Saved from a real successful request, preserving all public result records. data.creditsUsed and data.remainingCredits are omitted; live responses include the current configured charge and balance. Displaying saved examples sends no query or charge; media URLs may expire.
{
"code": "ok",
"message": "ok",
"data": {
"result": {
"id": "t3_1xy3kap",
"title": "United Airlines says it has a widespread system outage just days after nationwide ground stop",
"author": "Craneteam",
"authorId": "t2_kobmm",
"score": 8166,
"upvoteRatio": 0.9773535220539828,
"commentCount": 663,
"createdAt": "2026-11-16T22:38:02.286000+0000",
"type": "link",
"domain": "apnews.com",
"contentUrl": "https://apnews.com/article/united-airlines-outage-5a5e5f75bb07f11ffb8750901f0076ff",
"url": "https://www.reddit.com/r/wallstreetbets/comments/1xy3kap/united_airlines_says_it_has_a_widespread_system/",
"subreddit": "r/wallstreetbets",
"subredditId": "t5_2th52",
"awardCount": 3,
"language": "en",
"state": null,
"text": "Lol the outages will continue until portfolios tank\n \n \n \n \n \n \n Read more",
"images": [
"https://styles.redditmedia.com/t5_2th52/styles/communityIcon_vqqah3m0bn8c1.png?width=96&height=96&frame=1&auto=webp&s=9fdf2d3df11d539eb8fbc92424ecee4feb33fa89",
"https://external-preview.redd.it/united-airlines-says-it-has-a-widespread-system-outage-just-v0-bAO2pUBtoDLDqgGzEoV7ltLwUSnyzVr-u79IFH2M0Ko.jpeg?width=640&crop=smart&auto=webp&s=01262e5134496da8b404cb107c94147881973848",
"https://external-preview.redd.it/united-airlines-says-it-has-a-widespread-system-outage-just-v0-bAO2pUBtoDLDqgGzEoV7ltLwUSnyzVr-u79IFH2M0Ko.jpeg?width=640&crop=smart&auto=webp&s=01262e5134496da8b404cb107c94147881973848"
],
"video": null
}
}
}Billing
…
Only nonempty successful results are charged at the current database-configured rate. Empty results and failures are free; internal identifier handling has no additional charge. Each page settles separately. Valid false and zero results are not treated as empty.
Status codes
| HTTP | Meaning |
|---|---|
| 200 | Success, including free empty results |
| 400 | Invalid JSON, parameters or resource URL |
| 401 | Authentication required or invalid credentials |
| 402 | Insufficient credits |
| 429 | Rate limited; follow Retry-After |
| 502 | Data request failed |
| 503 | API or pricing is not configured |