{"uid":"cap_-BllUaeUN0_cEw2wsq9dF","slug":"orders-of-magnitude-ns-compress-eaa76e78","name":"Orders of Magnitude NS Compress","description":"Data and AI services via x402 payment protocol","url":"https://x402-api-production-5133.up.railway.app/ns/compress","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string"}}},"responseSchema":{"type":"object","properties":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_136CMKPpD-HcAVDFUSNBQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses a text string using neural/AI-based compression via the x402 micropayment protocol","exampleAgentPrompt":"Can you compress this text string for me: 'The quick brown fox jumps over the lazy dog and then runs back again across the meadow'?","exampleUseCases":[{"title":"Reduce API payload before storage","prompt":"Take this JSON string and compress it before we store it: '{\"user\":\"alice\",\"action\":\"purchase\",\"items\":[\"widget_a\",\"widget_b\"],\"total\":49.99}'"},{"title":"Shrink log entries for transmission","prompt":"Compress this log line so I can send it more efficiently: 'ERROR 2024-01-15T10:23:45Z service=payments msg=connection timeout host=db.internal retry=3'"},{"title":"Compress long document excerpt","prompt":"I need to compress this paragraph to reduce its size before embedding it in a QR code: 'Our annual sustainability report outlines the company goals achieved in renewable energy adoption, waste reduction initiatives, and community engagement programs across all regional offices.'"}],"resultDescription":"Returns a compressed representation of the input text string. The exact format of the compressed output depends on the service implementation, but is expected to be a reduced-size encoding of the original input.","failureModes":["Missing required 'input' parameter returns a 400 or 422 error","Payment not provided or invalid x402 payment header returns a 402 Payment Required response","Empty string input may return an error or unchanged output","Service unavailability returns 5xx errors","Very large inputs may be rejected or truncated"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-use, micropayment-gated text compression service with no subscription required, using the x402 protocol for per-call USDC payments. Best suited for agents or pipelines that need on-demand string compression without maintaining API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:54:39.336Z","isFirstParty":false}