Reddit political ads disclosure API
Reddit’s political ad transparency posts, each parsed into advertiser, EIN or FEC id, spend and impressions bands, dates, targeting and links to the ads.
GET /v1/reddit/political-ads1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/reddit/political-ads?sort=new",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "ads": { "kind": "Listing", "data": { "after": "t3_193qy1h", "before": null, "dist": 24, "modhash": null, "geo_filter": "", "children": [ { "kind": "political_ad", "data": { "id": "1vmkwy5", "title": "Stop SEC’s reckless plan to blindfold investors!", "advertiser": "Better Markets", "ein": "27-2227363", "fec_id": null, "committee_type": null, "tax_exempt_status": "501(c)(3)", "mailing_address": "2000 Pennsylvania Ave NW, Suite 4008, Washington, DC 20006", "spend_usd": { "…": "3 fields" }, "impressions": { "…": "3 fields" }, "start_date": "2026-06-10", "end_date": "2026-07-26", "geo_targeting": "United States", "interest_targeting": [ "…" ], "subreddit_targeting": [ "…" ], "ad_links": [ "…" ], "category": "Issue Ads", "fields": { "…": "12 fields" }, "post": { "…": "2 fields" } } }, { "kind": "political_ad", "data": { "id": "193t0sg", "title": "Join the Wyoming Outdoor Council in taking action to safeguard vulnerable pronghorn habitat. The Sublette Pronghorn herd…", "advertiser": "Patagonia Inc.", "ein": "95-3526345", "fec_id": null, "committee_type": null, "tax_exempt_status": "For Profit", "mailing_address": "259 W Santa Clara Street, Ventura, CA 93001", "spend_usd": { "…": "3 fields" }, "impressions": { "…": "3 fields" }, "start_date": "2023-12-28", "end_date": "2023-12-31", "geo_targeting": "US-WY, US-CO, US-MT, US-ID, US-SD, US-UT", "interest_targeting": [ "…" ], "subreddit_targeting": [], "ad_links": [ "…" ], "category": "Approved in Error", "fields": { "…": "10 fields" }, "post": { "…": "2 fields" } } }, "… 22 more" ] } }, "skipped": 1}Parameters
| Name | Type | Description |
|---|---|---|
sortquery | "new" | "top" | "hot" | new (default), top or hot. One of new, top, hot. |
tquery | "hour" | "day" | "week" | "month" | "year" | "all" | Time window for top and controversial. Default day. One of hour, day, week, month, year, all. |
limitquery | integer | Items per page, 1 to 100. Default 25. |
afterquery | string | Cursor: the previous page's data.after. Omit for the first page. |
Response fields
200 with a PoliticalAds, in Reddit’s own Things and Listings.
| Field | Type | Description |
|---|---|---|
ads | PoliticalAdListing | |
skipped | number | Posts on the page that are not disclosures. |
Status codes
| Status | Meaning |
|---|---|
200 | A page of disclosures. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The subreddit, post or user does not exist. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Reddit is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Reddit is a trademark of Reddit, Inc. We are not affiliated with or endorsed by Reddit.