About this API
Each record holds title, url, image url, author, replies, views and 2 more fields.
What you can filter
Choose what a run reads with daysprune and sort.
- Output fields
- 8
- Inputs
- 2
Sample record
Saved sample, not a live run.
title- Good News (Updated Daily)
author- Mr_Geek
replies- 1578
views- 403238
opening_post- I'm going to post a good news story each and every day. Cop Spends His Last Day…
typed_views- 403238
Try it
Records
Saved sample, not a live run.
title |
url |
image_url |
author |
replies |
views |
opening_post |
typed_views |
|---|---|---|---|---|---|---|---|
| Good News (Updated Daily) | city-data.com/forum/current-events/241278… | pics3.city-data.com/forum/images/statusic… | Mr_Geek | 1578 | 403238 | I'm going to post a good news story each and every day. Cop Spends His Last Day… | 403238 |
| The Current Events Forum is strictly for non-political discussions. No partisan… | city-data.com/forum/current-events/182872… | pics3.city-data.com/forum/images/statusic… | Administrator | 4 | 34519 | Please don't bring politics into any topic on this forum. The Politics and Othe… | 34519 |
| The unsure where should I post my topic guide | city-data.com/forum/current-events/262272… | pics3.city-data.com/forum/images/statusic… | mjlo | 1 | 28095 | There are so many current events it seems logical to post them in the "Current … | 28095 |
| Who dumped more than 300 piles of human remains in the desert outside Las Vegas? | city-data.com/forum/current-events/351922… | pics3.city-data.com/forum/images/statusic… | elnina | 28 | 9751 | The federal investigation into who dumped more than 300 piles of human remains … | 9751 |
| MD Social Worker Arrested for Harassing Linemen | city-data.com/forum/current-events/354168… | pics3.city-data.com/forum/images/statusic… | JONOV | 3 | 93 | A Maryland Social worker is going viral after absolutely losing it on an out of… | 93 |
| Mother Allegedly Held Stepson Captive for 20 Years | city-data.com/forum/current-events/350054… | pics3.city-data.com/forum/images/statusic… | elnina | 181 | 12250 | ...before he lit fire to escape: 'Something Out of a Horror Movie' "He lit that… | 12250 |
| Watch your airport bags -- couple framed & jailed as drug smugglers | city-data.com/forum/current-events/354137… | pics3.city-data.com/forum/images/statusic… | Igor Blevin | 33 | 739 | Holy cow. How would you like to be flying for vacation when customs pulls you o… | 739 |
| Stranded by FAA’s grounding, she bought a car | city-data.com/forum/current-events/354116… | pics3.city-data.com/forum/images/statusic… | Vision67 | 8 | 669 | Stranded by FAA’s grounding, she bought a car and drove 27 hours to get home 'I… | 669 |
| Police called to 3 year old's soccer game because he was "too good" | city-data.com/forum/current-events/353986… | pics3.city-data.com/forum/images/statusic… | ClaraC | 89 | 3178 | I've read several different media accounts, and this appears to be the most com… | 3178 |
| Mats Matter, sleeping mats for the homeless | city-data.com/forum/current-events/354127… | pics3.city-data.com/forum/images/statusic… | ClaraC | 12 | 708 | What a beautiful win win story. Seniors living in a senior facility weave mats … | 708 |
Scroll sideways to see more columns.
Output fields
| Field | Description | Example | Type | Returned |
|---|---|---|---|---|
title |
— | Good News (Updated Daily) | string | Required |
url |
Link | city-data.com/forum/current-events/241278… | string | Required |
image_ |
Image link | pics3.city-data.com/forum/images/statusic… | string | Optional |
author |
— | Mr_Geek | string | Optional |
replies |
— | 1578 | integer | Optional |
views |
— | 403238 | integer | Optional |
opening_ |
— | I'm going to post a good news story each and every day. Cop Spends His Last Day… | string | Optional |
typed_ |
— | 403238 | integer | Optional |
Inputs
-
sortchoiceOrder of the collection, as the site's own sort control offers it; omitted keeps the site's default order.
-
daysprunechoiceOptional. Filters by daysprune.
enrich_records is on by default and adds the fields that only appear on each record's detail page. Send false to read list fields only. See Run an API.
Request
POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_b61c2932ce9a08b707652520/endpoints/generated_b61c2932ce9a08b707652520_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_b61c2932ce9a08b707652520/endpoints/generated_b61c2932ce9a08b707652520_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {},
"version": 1,
"max_items": 25
}'
Save the Idempotency-Key before you send, and reuse it only to retry the same request. The key needs the run scope. See Run a catalog API.
version pins major v1, whose newest minor (1.0) answers. Leave it out and the call runs on the latest major.
Use it from an AI agent
Open in your coding agent
Add CleanedWeb to your agent as an MCP server, such as a custom connector in Claude or ChatGPT, then sign in with your CleanedWeb account. An API key with the read and run scopes works too.
https://api.cleanedweb.com/mcp?profile=catalog
Then ask, for example: Use CleanedWeb to get 25 records from the Data Threads API.
The agent finds the API, runs it and reads the records. Runs are charged like any other run.
Coverage
- Version
- v1 1.0
- Category
- Social & communities
- Updated
A run stops when the source has no more records, or when it reaches a limit you set: the number of records, the time, or your budget.
CleanedWeb is not affiliated with City Data.
Changelog
-
v1.0 (major) ·