{
  "x402Version": 2,
  "id": 7582,
  "slug": "7582",
  "resource": "https://ari001.tailb4ac3a.ts.net/v1/context/compact",
  "description": "Use when an agent must fit a public HTTPS page into a token budget. Fetches the URL and compacts it. LLM first; extractive fallback if the bus is down. A failed fetch is not an empty document.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xd94ce1924dedd6f3442380a4f075dc3796fb2875",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "max_tokens": 400,
            "source_url": "https://docs.base.org"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "compact": "Base is an Ethereum L2.",
            "method": "llm",
            "ok": true,
            "service": "context_compact",
            "source_url": "https://docs.base.org"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "focus": {
                    "type": "string"
                  },
                  "max_tokens": {
                    "type": "integer"
                  },
                  "source_url": {
                    "description": "Public https URL to compact",
                    "type": "string"
                  }
                },
                "required": [
                  "source_url"
                ]
              },
              "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": "ari001.tailb4ac3a.ts.net",
  "lastUpdated": "2026-09-07T22:40:02.865Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-07T22:40:01.365Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "ari001.tailb4ac3a.ts.net",
    "manifest_name": "ari001.tailb4ac3a.ts.net",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}