79trust / 100

Tools Clean Web Content

by Web Content Cleaner in Search & web

x402 APIPassing, checked 3 h ago

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.

POST
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

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

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

ParameterTypeRequiredDescription
include_titlebooleanNoIf true, include the page title in the result. Default: true.
itemsarray of CleanWebUrlItem or nullNoBatch of items. Do not also send a single-item field. Default: null.
max_lengthinteger or nullNoMaximum characters of extracted content to return. Default: null.
output_formatCleanOutputFormatNoResult format: text (default) or markdown. Default: "text".
timeoutintegerNoPer-item fetch timeout in seconds. Default: 10.
urlstring (uri) or nullNoPage URL to fetch (https). Default: null.
user_agentstring or nullNoOverride 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 --decode

We 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

WhenResultHTTPTimePrice
3 h agoPassed402500 ms$0.01
8 h agoPassed402570 ms$0.01
12 h agoPassed402429 ms$0.01
17 h agoPassed402445 ms$0.01
22 h agoPassed402424 ms$0.01
Show 10 older checks
26 h agoPassed402493 ms$0.01
30 h agoPassed402422 ms$0.01
35 h agoPassed402465 ms$0.01
39 h agoPassed402471 ms$0.01
43 h agoPassed402200 ms$0.01
47 h agoPassed402501 ms$0.01
2 days agoPassed402501 ms$0.01
2 days agoPassed402490 ms$0.01
3 days agoPassed402165 ms$0.01
3 days agoPassed402461 ms$0.01