{"uid":"cap_l-wcqHWlSzQ8Od0AVsbwc","slug":"ciel-m2m-api-context-compress-8be3c14c","name":"CIEL M2M API - Context Compress","description":"50+ micro-services for AI agents: data parsing, crypto analytics, security scanning, code tools, and more. Pay per call via x402 (USDC on Base) or RapidAPI subscription.","url":"https://169.58.38.67.sslip.io/api/context-compress","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"result":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"summary":"Compressed summary...","compression_ratio":8.5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DgCjIwbRbp2iz5hFK0XwT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses and summarizes HTTP-fetched content into a concise summary with a reported compression ratio","exampleAgentPrompt":"Can you fetch and compress the content from that documentation page using a GET request so I get a short summary without losing the key information?","exampleUseCases":[{"title":"Shrinking LLM context from web pages","prompt":"This documentation page is way too long to fit in my prompt — can you compress its content into a tight summary using a GET request so I can include it without hitting the token limit?"},{"title":"Digest API response for downstream agent","prompt":"I'm getting a huge JSON blob back from a public API via GET — can you compress and summarize it so my next agent step only sees the essential parts?"},{"title":"Summarize news article for briefing","prompt":"Pull the content from this news article URL via GET and compress it down to the core points — I want a quick digest with a high compression ratio."}],"resultDescription":"A JSON object containing a 'summary' string (the compressed version of the fetched content) and a 'compression_ratio' number indicating how much the content was reduced (e.g. 8.5 means 8.5x reduction).","failureModes":["Invalid or unsupported HTTP method (only GET, HEAD, DELETE accepted) returns a validation error","Target URL unreachable or returns non-200 status causes fetch failure","Input type must be 'http'; other values are rejected","Empty or non-text content at the target URL may produce poor or empty summaries","Payment failure via x402/USDC blocks the request before processing"],"whenToPreferThis":"Choose this endpoint when you need to reduce the token footprint of HTTP-fetched content before passing it to an LLM or downstream agent step. It is especially useful when working within tight context windows, summarizing verbose API responses, or building pipelines where many URLs must be digested cheaply at $0.05 per call via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:47:13.785Z","isFirstParty":false}