Api Endpoint

AISkills402 API: Mojibake Repair

Mojibake Repair API: undoes broken encoding (UTF-8 read as Windows-1252, Latin-1 or Windows-1251, once or twice) byte by byte. Deterministic code, no language model: mixed, half-damaged or lost-byte text gets a CANNOT REPAIR verdict instead of a guess (still one paid call). $0.004 USDC per call, no account. POST JSON {input}, up to 60000 chars; free example at https://api.aiskills402.com/v1/run/mojibake-repair/example

Open interactive test console

Offering

Provider
api.aiskills402.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Data
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.aiskills402.com/v1/run/mojibake-repair
MIME type
Not provided
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
api, mojibake-repair, mojibake, Encoding, text-repair

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.004 USDC
Atomic price: 4000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "4000",
    "payTo": "0xbc0dcc70d8b5d85541d86ffc68d988fd59c22e68"
  }
]

Observed health

Status
Healthy
Latest latency
1318 ms
Average latency
784 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "input": {
          "description": "The garbled text. Up to 60000 characters.",
          "maxLength": 60000,
          "minLength": 1,
          "type": "string"
        },
        "origin": {
          "default": null,
          "description": "Set to \"windows-1251\" only when the text was written in Windows-1251 (one byte per Cyrillic letter) and read as Windows-1252.",
          "enum": [
            "windows-1251",
            null
          ],
          "type": [
            "string",
            "null"
          ]
        },
        "partial": {
          "default": false,
          "description": "true = in mixed text repair only the groups that reverse cleanly and leave the rest as it is; false = refuse mixed text.",
          "type": "boolean"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ],
      "type": "string"
    },
    "headers": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}