# Orders of Magnitude Stream Dedup API

> Orders of Magnitude Stream Dedup API 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).

Removes duplicate entries from a streamed text input using AI processing via x402 micropayment protocol

## Facts

- Endpoint: GET https://x402-api-production-5133.up.railway.app/ns/stream-dedup
- 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-stream-dedup-api-febea8fc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XiQtbzve2RzzEmEAV7vnp

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-stream-dedup-api-febea8fc
```

Example prompt: Can you deduplicate this stream of text for me and return only the unique entries: 'apple
banana
apple
orange
banana
grape'?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use deduplication of streamed text data without setting up your own infrastructure. It is well-suited for lightweight, one-off deduplication tasks where cost per call ($0.01 USDC) is acceptable and you want a real-time result over a micropayment channel using the x402 protocol.

## Known failure modes

- Missing required 'input' parameter returns a 400 or similar error
- Payment not provided or x402 payment fails resulting in a 402 Payment Required response
- Empty string input may return empty or trivial output
- Very large input strings may time out or be rejected
- Response schema is underspecified so output format may be unpredictable

## How this service works

Data and AI services via x402 payment protocol

## Output

Returns a processed version of the input string with duplicate entries removed, leaving only unique items from the stream in their original order.

## 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-stream-dedup-api-febea8fc/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)
