Catalog/encoding-tap-code

Encoding

Tap code (Polybius) API

Encodes/decodes the tap (knock) code using a 5x5 Polybius square where K maps to C, emitting row/column dot groups. Answers 'What is the tap code for WATER?', 'Decode this tap-code message.'

Price$0.01per request
MethodPOST
Route/v1/encoding/tap-code
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
tap-codepolybiusknock-codecipherencodedecodepuzzleencoding
API URLhttps://x402.hexl.dev/v1/encoding/tap-code
Integration docs
Example request
{
  "value": "WATER"
}
Example response
{
  "operation": "encode",
  "result": "..... ..  . .  .... ....  . .....  .... ..",
  "interpretation": "Tap-code (Polybius 5x5, K=C) encoded 'WATER'."
}
Input schema
{
  "type": "object",
  "required": [
    "value"
  ],
  "properties": {
    "value": {
      "type": "string",
      "examples": [
        "WATER"
      ]
    },
    "operation": {
      "type": "string",
      "enum": [
        "encode",
        "decode"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}