SerpBase

Reddit Post & Comments — API reference

POST
Available
/reddit/post

Reddit Post & Comments

Retrieve full Reddit post content, author details, upvotes, and structured comment threads from a Reddit post URL.

type
reddit_post
result
schemas.source_data
Billing
2 credits

Retrieve full Reddit post content, author details, upvotes, and structured comment threads from a Reddit post URL.

Parameters
url
sample
string

Catalog sample; the API validates required fields.

sample: "https://www.reddit.com/r/technology/comments/1example/new_ai_breakthrough/"

country
optional
string

optional

Public alias for locale.country. Use one spelling at a time; the API validates the parameters and values supported by this product.

cursor
optional
string

optional

Public alias for pagination.cursor. Use one spelling at a time; the API validates the parameters and values supported by this product.

device
optional
string

optional

Public alias for options.device. Use one spelling at a time; the API validates the parameters and values supported by this product.

gl
optional
string

optional

Public alias for locale.country. Use one spelling at a time; the API validates the parameters and values supported by this product.

hl
optional
string

optional

Public alias for locale.language. Use one spelling at a time; the API validates the parameters and values supported by this product.

html
optional
boolean

optional

Public alias for include_html. Use one spelling at a time; the API validates the parameters and values supported by this product.

language
optional
string

optional

Public alias for locale.language. Use one spelling at a time; the API validates the parameters and values supported by this product.

limit
optional
integer

optional

Public alias for pagination.limit. Use one spelling at a time; the API validates the parameters and values supported by this product.

markdown
optional
boolean

optional

Public alias for include_markdown. Use one spelling at a time; the API validates the parameters and values supported by this product.

mobile
optional
boolean

optional

Public alias for options.device. Use one spelling at a time; the API validates the parameters and values supported by this product.

num
optional
integer

optional

Public alias for pagination.limit. Use one spelling at a time; the API validates the parameters and values supported by this product.

page
optional
integer

optional

Public alias for pagination.page. Use one spelling at a time; the API validates the parameters and values supported by this product.

q
optional
string

optional

Public alias for query. Use one spelling at a time; the API validates the parameters and values supported by this product.

json
{
  "url": "https://www.reddit.com/r/technology/comments/1example/new_ai_breakthrough/"
}
Open in Playground

The response follows this product's contract; no recorded response example is published yet.schemas.source_data

Code and response examples
bash
curl -X POST 'https://api.serpbase.dev/reddit/post' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"url":"https://www.reddit.com/r/technology/comments/1example/new_ai_breakthrough/"}'
Notes

Use the catalog sample to get started, then inspect the actual JSON response.

The sample shows example parameters, not the complete request contract. Known fields are validated by the API; additional parameters are allowed.