Machine Shop
Clean whitespace in scraped text, OCR output or pasted documents before indexing, entity extraction, text comparison or LLM input. Deterministic text cleanup: normalize CRLF/CR to LF, collapse runs of ASCII spaces/tabs within each line, trim each line using Unicode whitespace rules, remove empty lines, preserve nonempty line breaks and letter case. Returns text, chars_before (after newline normalization), and chars_after. This is whitespace cleanup, not OCR, HTML parsing, spelling correction or PII redaction. POST application/json. Limit: 50000 input Unicode characters per request; for comparison, the lengths of a and b are added. Empty strings are accepted. Extra JSON properties are ignored. Errors after payment verification: 413 for the character limit; 422 for missing/non-string fields or malformed JSON, and for URL parsing errors. Unpaid calls return 402 with a base64 JSON PAYMENT-REQUIRED header before input validation. Handler error responses are not settled.
The wallet the 402 directs payment to. Its whole payment record — every payer, every chain — is on the merchant page.
Asset 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
The payTo wallet does not resolve to a registered ERC-8004 agent. That is not a verdict on the service — most of the catalog is unregistered.
Accepts
The payment requirements as published to the catalog. Read the live 402 before paying — a price here is a claim, not a quote.
Pay 0.004 USDC on Base to 0xd8dd…14cb5. The signed payment is good for 5 minutes.
- Paid to
- 0xd8dd…14cb5
- USD Coin contract
- 0x8335…02913
- Payment window
- 5 minutes
- As published
- 4000 smallest units
The catalog’s raw entry
[
{
"asset": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xd8dd9fc8c143207ddbe84e1e9237f11a69814cb5",
"amount": "4000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
}
]Extensions
{
"bazaar": {
"info": {
"input": {
"body": {
"text": " Hello\t world \r\n\r\n Next line. "
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"text": "Hello world\nNext line.",
"chars_after": 22,
"chars_before": 32
}
}
},
"schema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"input"
],
"properties": {
"input": {
"type": "object",
"required": [
"type",
"method",
"bodyType",
"body"
],
"properties": {
"body": {
"type": "object",
"title": "TextIn",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"maxLength": 50000,
"description": "Text to process, including empty text; at most 50000 Unicode characters (413 if exceeded)."
}
}
},
"type": {
"type": "string",
"const": "http"
},
"method": {
"type": "string",
"const": "POST"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"title": "CleanOut",
"required": [
"text",
"chars_before",
"chars_after"
],
"properties": {
"text": {
"type": "string",
"title": "Text",
"description": "Cleaned text, preserving nonempty LF-separated lines and letter case."
},
"chars_after": {
"type": "integer",
"title": "Chars After",
"minimum": 0,
"description": "Unicode character count of returned text."
},
"chars_before": {
"type": "integer",
"title": "Chars Before",
"minimum": 0,
"description": "Character count after CRLF/CR become LF, before whitespace cleanup."
}
},
"additionalProperties": false
}
}
}
}
}
}
}Provenance
- Seen in the source catalog
- 2026-10-18 18:57Z
- Last indexed by Roundhouse
- 2026-10-26 13:46Z
- Last enriched (probe, favicon, geo)
- 2026-10-18 19:45Z
- x402 version
- 2
- Max timeout
- 300s
- Liveness probe
- HTTP 405
Hand this page to an agent
Copy the prompt and paste it into Claude, an MCP client or your own agent — it will vet this service and call it over the free read API. No key, no account.
GET api.roundhouseai.io/v0/endpoints
No per-endpoint history for this service yet, so this is payments indexed to its PROVIDER's wallet over 30 days. Verified volume counts only settlements with an on-chain EIP-3009 marker.
Show the promptHide the prompt
Using Roundhouse, look up the x402 service Machine Shop and tell me whether it is worth paying: what a call costs, whether the endpoint answered when last probed, and what its payment record actually shows. curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Machine%20Shop' curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>' Then call it: read the price from the live 402 at https://api.pay-forge.online/v1/clean-text, never from a cached figure, and pay with an x402 client. The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except /v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further. If you do not have Roundhouse tools or skills installed, read https://roundhouseai.io/skill.md first — it is the whole procedure.