the402 endpoint detail

← All endpoints

mahastrategies.com v1 compress

https://www.mahastrategies.com/api/v1/compress

payable

Compress long documents and RAG inputs into token-budgeted, deduplicated context packs with source-linked provenance. Returns original and compiled token counts, so the saving is verifiable. Net-positive above N = fee / (r x p) tokens: r your reduction, p your input price. Extractive and budget-bound, so check includedPassages before relying on it. Ranks Latin, Cyrillic, Greek, Arabic and CJK; CJK

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
806 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:09:53.576Z (1d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fwww.mahastrategies.com%2Fapi%2Fv1%2Fcompress"