ToolAssay

Xynaptic Code Refactor — working code in, clean readable code out, behavior pres

Xynaptic Code Refactor — working code in, clean readable code out, behavior preserved: { code } -> { refactored_code, behavior_preserved: true, changes: [{ what, why }], readability_score }. Recommend running tests after (test-generate). POST body: { code: <max 12000 chars>, language? }.

Answeringour last check, 2026-11-26
7 of 7checks answered this week
25 msmedian answer time
$0.05listed price per call
$0.05price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.xynaptic.io/v1/code-refactor

CategoryCode and developer
Provider hostapi.xynaptic.io
Networkseip155:137, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days4 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.05 23 ms
2026-11-25 valid payment request 402$0.05 25 ms
2026-11-24 valid payment request 402$0.05 25 ms
2026-11-23 valid payment request 402$0.05 40 ms
2026-11-22 valid payment request 402$0.05 23 ms
2026-11-21 valid payment request 402$0.05 24 ms
2026-11-20 valid payment request 402$0.05 26 ms
2026-11-19 valid payment request 402$0.05 28 ms
2026-11-18 valid payment request 402$0.05 25 ms
2026-11-17 valid payment request 402$0.05 25 ms
2026-11-16 valid payment request 402$0.05 14 ms

Example input (from the provider)

{
  "body": {
    "code": "function f(a){ if(a){ return 1 } else { return 0 } }"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "headers": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE",
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON