Api Endpoint

api.strale.io

Prompt Compression: Shorten a prompt towards a requested reduction while aiming to preserve its meaning. Returns the shorter text and estimated savings.

Open interactive test console

Offering

Provider
api.strale.io
Method
GET
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.strale.io/x402/v2/prompt-compress
MIME type
application/json
First seen
2026-10-16T01:58:26.121Z
Last seen
Tags
developer-tools

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
41 ms
Average latency
174 ms
HTTP status
402
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

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "required": [
        "prompt_text"
      ],
      "properties": {
        "prompt_text": {
          "type": "string"
        },
        "target_reduction_percent": {
          "type": "integer",
          "description": "Default 30"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "prompt_text": {
              "type": "string"
            },
            "target_reduction_percent": {
              "description": "Default 30",
              "type": "integer"
            }
          },
          "required": [
            "prompt_text"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}