What you get
| Field | Type |
|---|---|
title |
string |
date |
string |
url |
string |
related_title |
string |
related_url |
string |
locality |
string |
region |
string |
country |
string |
All 14 fields
Key fields
titledateurlrelated_titlerelated_urllocalityregioncountrythemes_urlauthor_death_year
Technical fields
themesoccasion_urlauthorcollection_title
Sample records
2 saved records. This is a saved sample, not a live run.
title |
date |
url |
related_title |
related_url |
locality |
|---|---|---|---|---|---|
| Sick | 2003-01-01T12:00:00Z | poets.org/poem/sick | Shel Silverstein | poets.org/poet/shel-silverstein | New York |
| Self-Portrait at 28 | 2013-08-18T12:00:00Z | poets.org/poem/self-portrait-28 | David Berman | poets.org/poet/david-berman | New York |
Scroll sideways to see more columns.
Inputs
-
searchstring | array of stringOptional. Text for the site's search box. Leave it out to read everything.
-
field_occasion_target_idchoiceOptional. Filters by field occasion target id.
-
field_poem_themes_target_idchoiceOptional. Filters by field poem themes target id.
-
field_form_target_idchoiceOptional. Filters by field form target id.
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_7b16f23c7786216d4c8809c5/endpoints/generated_7b16f23c7786216d4c8809c5_search/run
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_7b16f23c7786216d4c8809c5/endpoints/generated_7b16f23c7786216d4c8809c5_search/run \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: UNIQUE_REQUEST_ID" \
-H "Content-Type: application/json" \
-d '{
"input": {
"field_occasion_target_id": "All"
},
"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.
Changelog
-
v1.0 (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 Poets.org Poems API.
The agent finds the API, runs it and reads the records. Runs are charged like any other run.
Coverage
- Category
- News & content
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 Poets.