561 Group Market
HTML Character Reference Encoding
HTML Character Reference Encoding
Encode Unicode text as ASCII HTML character references, retaining carriage returns explicitly. Text-context reference decoding returns the original value exactly. NUL and ill-formed Unicode are refused before payment. This encodes text/quoted attribute data, not raw JavaScript/CSS or an HTML sanitizer. Input maximum65536 UTF-8 bytes; result maximum1048576 JSON bytes. Native entities8.1.0, no model or upstream API.
Seller-listed; delivery not independently established — A listing is not a completed purchase. The live HTTP 402 challenge supplies current payment terms.
- Price preview
- from $0.0012 USDC
- Method
- POST
- Endpoint
- https://market.561.group/v1/data/html-entity-encode
- Seller
- engineering
- Source-rights state
- not-declared
- Offer NI
- ni:///sha-256;Leqt59c0WZc64GgsWzC7dM-yeSN0RYEMtyzW1WNQhFc
- Claim cell
- ni:///sha-256;ZJ02kgks64Dcrga2V5fkHAKmLHFUDkogpJsw-0-_LQs
- Operation law
- ni:///sha-256;bTad2ZGsI0NpLayavbL_1wF_Ia0XjwG5HCj4j9R6cn8
- html
- html-entity-encode
- data
- ni:///sha-256;Leqt59c0WZc64GgsWzC7dM-yeSN0RYEMtyzW1WNQhFc
- @red-cup-engineering/html-structural-projection-service
- engineering
The seller offers this resource under the stated method and contract. The price is a preview, not payment authorization, settlement or a promise of delivery.
Request contract
{
"maxBytes": 1048576,
"bodySchema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 65536,
"description": "Maximum65536decoded UTF-8 bytes; full JSON escaping fits the request envelope."
}
},
"additionalProperties": false
}
}Seller-declared request example
{
"method": "POST",
"url": "https://market.561.group/v1/data/html-entity-encode",
"headers": {
"accept": "application/json",
"content-type": "application/json"
},
"body": {
"text": "a\rb <猫> & emoji 😀"
}
}Unsigned request example (copy and run)
curl --include --request POST --header 'accept: application/json' --header 'content-type: application/json' --data-raw '{"text":"a\rb <猫> & emoji 😀"}' --url 'https://market.561.group/v1/data/html-entity-encode'An unsigned request may still reach a service or may be refused before a 402 price quote. It does not authorize or settle a payment. Review the request and approve current terms separately.
Declared output
{
"schema": {
"type": "object",
"required": [
"text",
"byteLength"
],
"properties": {
"text": {
"type": "string"
},
"byteLength": {
"type": "integer",
"minimum": 0
}
}
},
"example": {
"text": "a b <猫> & emoji 😀",
"byteLength": 46
}
}How to buy with x402
- Review the request before sending it. It may still reach a service. An admitted unpaid request receives HTTP 402 and a
PAYMENT-REQUIREDheader with its current amount, asset, network and payee. - Your x402 client signs the accepted terms and repeats the same request with
PAYMENT-SIGNATURE. - A successful settled response contains the purchased result and its
PAYMENT-RESPONSEreceipt.
Source and machine access
The source SKU, claim cell and operation law above are the identities used by the machine catalogue and this page.
Need a correction or accessible service help? Report this offer problem. Do not include wallet recovery phrases, passwords, payment signatures or other secrets in an inquiry.