# Orders of Magnitude NS Compress

> Orders of Magnitude NS Compress is a paid API for AI agents from x402-api-production-5133.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Compresses a text string using neural/AI-based compression via the x402 micropayment protocol

## Facts

- Endpoint: GET https://x402-api-production-5133.up.railway.app/ns/compress
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orders-of-magnitude-ns-compress-eaa76e78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-BllUaeUN0_cEw2wsq9dF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability orders-of-magnitude-ns-compress-eaa76e78
```

Example prompt: 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'?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Data and AI services via x402 payment protocol

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orders-of-magnitude-ns-compress-eaa76e78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api-production-5133.up.railway.app](https://www.zero.xyz/host/x402-api-production-5133.up.railway.app/llms.txt)
