GroundsocialDocs

API · Reddit

GET /reddit/political-ads

Reddit's political ad disclosures, parsed: advertiser, spend, impressions, targeting, dates.

RequestGET /v1/reddit/political-ads
Operation idreddit.ads.political
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Reddit's political ad disclosures, parsed: advertiser, spend, impressions, targeting, dates.

Query parameters

NameTypeRequiredDescription
sort"new" | "top" | "hot"nonew (default), top or hot. One of new, top, hot.
t"hour" | "day" | "week" | "month" | "year" | "all"noTime window for top and controversial. Default day. One of hour, day, week, month, year, all.
limitintegernoItems per page, 1 to 100. Default 25.
afterstringnoCursor: the previous page's data.after. Omit for the first page.

Responses

StatusMeaningSchema
200A page of disclosures.PoliticalAds
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The subreddit, post or user does not exist.Error
429Too many requests. Wait for Retry-After seconds.Error
503Reddit is temporarily unavailable. Retryable; nothing was charged.Error

PoliticalAds fields

FieldTypeDescription
adsPoliticalAdListing
skippednumberPosts on the page that are not disclosures.

Errors use one shape everywhere; see Errors for every code and what to do.