{
  "x402Version": 2,
  "id": 4592,
  "slug": "4592",
  "resource": "https://api.relaystation.ai/v1/office/rescue",
  "description": "$0.008/call. Rescue exotic or legacy Office files into PDF via LibreOffice — opens what modern Office won't. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5F7254f252eF9b9f92B6B4F2cF91205eD7A96C7A",
      "asset": "0x60a3E35Cc302bFA44Cb288Bc5a4F316Fdb1adb42",
      "amount": "10000",
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "file": {},
            "filename": "string",
            "options": {
              "landscape": true,
              "losslessImageCompression": true,
              "maxImageResolution": 75,
              "pageRanges": "string",
              "quality": 1,
              "reduceImageResolution": true
            }
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "ok": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "file": {
                    "description": "cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key, ≤ 50 MB> }.",
                    "type": "object"
                  },
                  "filename": {
                    "description": "Source filename; its extension must be in the rescue roster (GET /v1/office/formats).",
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "options": {
                    "additionalProperties": false,
                    "description": "Optional LibreOffice export controls (mirrors /v1/pdf/from-office); absent fields take the engine default.",
                    "properties": {
                      "landscape": {
                        "description": "Force landscape orientation.",
                        "type": "boolean"
                      },
                      "losslessImageCompression": {
                        "type": "boolean"
                      },
                      "maxImageResolution": {
                        "description": "DPI ceiling for embedded images (closed ladder).",
                        "enum": [
                          75,
                          150,
                          300,
                          600,
                          1200
                        ],
                        "type": "integer"
                      },
                      "pageRanges": {
                        "description": "Page subset, e.g. \"1-5,8\".",
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      "quality": {
                        "description": "JPEG quality (1–100) for embedded images.",
                        "maximum": 100,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "reduceImageResolution": {
                        "description": "Gate for maxImageResolution; must be true for maxImageResolution to apply.",
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  }
                },
                "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": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.relaystation.ai",
  "lastUpdated": "2026-09-18T17:05:04.761Z",
  "quality": {
    "calls30d": 19,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-18T17:05:04.525Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.relaystation.ai",
    "manifest_name": "api.relaystation.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}