Api Endpoint

Relaystation Color Convert

$0.0002/call. Convert colors between hex, RGB, and HSL — exact values back as JSON. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

Open interactive test console

Offering

Provider
api.relaystation.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.relaystation.ai/v1/codes/color-convert
MIME type
Not provided
First seen
2026-10-16T01:51:30.109Z
Last seen
Tags
color-conversion, hex, rgb, design-tools, utilities

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
10000 atomic units
Atomic price: 10000 · Network: eip155:8453 · Asset: 0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
    "amount": "10000",
    "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A"
  }
]

Observed health

Status
Healthy
Latest latency
39 ms
Average latency
225 ms
HTTP status
204
Last checked
Reachability
100% over 13 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": {
      "properties": {
        "color": {
          "description": "Any recognized hex/rgb()/hsl() form (incl. alpha).",
          "minLength": 1,
          "type": "string"
        },
        "to": {
          "enum": [
            "hex",
            "rgb",
            "hsl"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ],
      "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"
}