AgentDiet RAG Token Diet – URL Content Compression & Retrieval is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-22).
Fetches a URL and returns a semantically compressed, token-efficient summary of its content with a compression ratio proof for RAG pipelines.
Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.
Returns a JSON object with a `data` field containing the compressed semantic content of the fetched URL, a `status` field confirming success, and a `roi_proof` object showing the `compression_ratio_pct` (e.g. 91.4%) achieved versus the raw content.
GEThttps://mcp-gateway.agentdiet.dev/v1/rag-token-diet?utm_source=zero.xyzChoose this endpoint when you need to fetch web content and dramatically reduce its token footprint before embedding, storing in a vector DB, or injecting into a prompt. It is especially useful in RAG pipelines where token costs matter and you want a provable compression ratio. Prefer it over raw web fetching when you need a lightweight, agent-optimized representation rather than full HTML.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"data": {},
"status": "ok",
"roi_proof": {
"compression_ratio_pct": 91.4
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"