Api Endpoint

x402-agents-production.up.railway.app

Compress long AI-agent context into a concise summary, facts, or episodic memory while preserving key entities.

Open interactive test console

Offering

Provider
x402-agents-production.up.railway.app
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Web Search Research
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-agents-production.up.railway.app/context-compressor
MIME type
Not provided
First seen
2026-10-16T01:58:03.323Z
Last seen
Tags
None supplied

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
264 ms
Average latency
787 ms
HTTP status
204
Last checked
Reachability
100% over 15 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": {
      "additionalProperties": false,
      "properties": {
        "language": {
          "default": "en",
          "description": "Output language.",
          "enum": [
            "en",
            "ja"
          ],
          "type": "string"
        },
        "mode": {
          "default": "summary",
          "enum": [
            "summary",
            "facts",
            "episodes"
          ],
          "type": "string"
        },
        "target_tokens": {
          "default": 500,
          "maximum": 2000,
          "minimum": 100,
          "type": "integer"
        },
        "text": {
          "description": "Context to compress.",
          "maxLength": 50000,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "text"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "additionalProperties": true,
      "description": "Structured JSON result.",
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}