Tools Clean Web Content
by Web Content Cleaner in Search & web
Use to extract the main article or document text from a single-page URL. Not for homepages or hubs (Web Index Cleaner) and not a link inventory (Link Extractor). Server HTML only; JavaScript is not run. Output is text or markdown. If the requested extract has no main content, the other profile is tried once in the same request. The HTTP body has correlation_id and data. The item array is data.results.
https://api.qocgpiywhm.com/api/v1/tools/clean_web_content- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 471 ms
- 1.1 s slowest 5%
- Last check
- Passed
- 3 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://api.qocgpiywhm.com/api/v1/tools/clean_web_content
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://api.qocgpiywhm.com/api/v1/tools/clean_web_content
content-type: application/json
{
"include_title": true,
"output_format": "text",
"url": "https://en.wikipedia.org/wiki/HTTP_402"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
include_title | boolean | No | If true, include the page title in the result. Default: true. |
items | array of CleanWebUrlItem or null | No | Batch of items. Do not also send a single-item field. Default: null. |
max_length | integer or null | No | Maximum characters of extracted content to return. Default: null. |
output_format | CleanOutputFormat | No | Result format: text (default) or markdown. Default: "text". |
timeout | integer | No | Per-item fetch timeout in seconds. Default: 10. |
url | string (uri) or null | No | Page URL to fetch (https). Default: null. |
user_agent | string or null | No | Override User-Agent for this request. Omit to use the platform default. Default: null. |
Example response
The provider's example. We can't check it without paying.
Example response, 30 lines
{
"correlation_id": "00000000-0000-4000-8000-000000000001",
"data": {
"results": [
{
"data": {
"content": "This article lists standard and notable non-standard HTTP response status codes. 402 Payment Required is reserved for future use.",
"format": "text",
"title": "List of HTTP status codes - Wikipedia",
"word_count": 20
},
"detail": null,
"error": null,
"meta": {
"content_type": "text/html; charset=UTF-8",
"extraction_profile": "content",
"extraction_profile_requested": "content",
"fallback_used": false,
"final_url": "https://en.wikipedia.org/wiki/HTTP_402",
"javascript_rendered": false,
"retries": 0,
"status_code": 200,
"truncated": false,
"url": "https://en.wikipedia.org/wiki/HTTP_402",
"via_proxy": false
}
}
]
}
}Call it from code
The curl command shows the payment challenge.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.qocgpiywhm.com/api/v1/tools/clean_web_content' \
-H 'content-type: application/json' \
--data-raw '{"include_title":true,"output_format":"text","url":"https://en.wikipedia.org/wiki/HTTP_402"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.qocgpiywhm.com/api/v1/tools/clean_web_content' \
-H 'content-type: application/json' \
--data-raw '{"include_title":true,"output_format":"text","url":"https://en.wikipedia.org/wiki/HTTP_402"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeWe don't show code that pays this service: it uses a payment scheme other than exact, which needs a different client setup.
Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 500 ms | $0.01 |
| 8 h ago | Passed | 402 | 570 ms | $0.01 |
| 12 h ago | Passed | 402 | 429 ms | $0.01 |
| 17 h ago | Passed | 402 | 445 ms | $0.01 |
| 22 h ago | Passed | 402 | 424 ms | $0.01 |
Show 10 older checks
| 26 h ago | Passed | 402 | 493 ms | $0.01 |
| 30 h ago | Passed | 402 | 422 ms | $0.01 |
| 35 h ago | Passed | 402 | 465 ms | $0.01 |
| 39 h ago | Passed | 402 | 471 ms | $0.01 |
| 43 h ago | Passed | 402 | 200 ms | $0.01 |
| 47 h ago | Passed | 402 | 501 ms | $0.01 |
| 2 days ago | Passed | 402 | 501 ms | $0.01 |
| 2 days ago | Passed | 402 | 490 ms | $0.01 |
| 3 days ago | Passed | 402 | 165 ms | $0.01 |
| 3 days ago | Passed | 402 | 461 ms | $0.01 |