Overview
URL-to-Markdown web extraction and context compression for AI agents. Fetch a public web page and return clean, task-relevant, citation-verifiable LLM context with exact excerpts, locators, hashes, and estimated tokens saved. Use before an agent summarizes, answers questions from, or cites a long or noisy URL. Deterministic and model-free. Public HTML only; no PDFs, logins, or JavaScript-only pages.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
Context Relay
Indexed
2026-08-08 03:11:23
Health
Status
healthy
Latency (p50)
653ms
Uptime (30d)
97.0%
Reliability Score
88.5/100
Last Checked
2026-10-31 07:08:44
Last Healthy
2026-10-31 07:08:44
Consecutive Failures
0
Input Schema
{
"body": {
"max_price_usd": 0.005,
"max_tokens": 2000,
"question": "What is x402 designed to enable for agents and APIs?",
"url": "https://docs.cdp.coinbase.com/x402/welcome"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"context": {
"citations": [
{
"excerpt": "x402 enables HTTP-native payments for APIs and agents.",
"excerpt_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"id": "c1",
"locator": "p[2]"
}
],
"estimated_tokens_saved": 1200,
"markdown": "# Welcome to x402\n\n## c1 · p[2]\n\nx402 enables HTTP-native payments for APIs and agents.",
"raw_token_estimate": 1250,
"returned_token_estimate": 50,
"token_estimate_method": "characters_divided_by_4"
},
"context_id": "ctx_0123456789abcdef",
"delivery": {
"cache_status": "miss",
"cost_class": "fresh_static",
"currency": "USDC",
"economics": {
"estimate_basis": "configured_route_estimate",
"estimated_gross_margin": 0.8,
"estimated_gross_profit_usd": 0.004,
"estimated_variable_cost_usd": 0.001
},
"generated_at": "2026-01-01T00:00:00.250Z",
"latency_ms": 250,
"network": "eip155:8453",
"payment": {
"failed_delivery_charge_policy": "not_settled_when_handler_status_is_400_or_higher",
"protocol": "x402",
"settlement_receipt_header": "PAYMENT-RESPONSE",
"settlement_status": "reported_in_response_header",
"verification_status": "verified"
},
"price_usd": 0.005,
"route": "public_html_direct",
"status": "delivered"
},
"receipt_id": "rcpt_01234567-89ab-cdef-0123-456789abcdef",
"safety": {
"prompt_injection_signals": [],
"public_source_only": true,
"robots_policy": "allowed",
"shared_cache_eligible": true,
"source_directives": []
},
"schema_version": "context-receipt.v1",
"source": {
"canonical_url": "https://docs.cdp.coinbase.com/x402/welcome",
"content_sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"content_type": "text/html; charset=utf-8",
"fetched_at": "2026-01-01T00:00:00.000Z",
"final_url": "https://docs.cdp.coinbase.com/x402/welcome",
"requested_url": "https://docs.cdp.coinbase.com/x402/welcome",
"title": "Welcome to x402"
},
"transformation": {
"max_tokens": 2000,
"method": "deterministic_extract",
"model_used": false,
"pipeline_version": "html-deterministic.v1",
"question": "What is x402 designed to enable for agents and APIs?"
}
},
"type": "json"
}