URL-to-Markdown web extraction and context compression for AI agents
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.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
407 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://context-relay.contextrelay.workers.dev/api/v1/context
| Category | Code and developer |
|---|---|
| Provider host | context-relay.contextrelay.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.005 | 407 ms |
Example input (from the provider)
{
"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"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"freshness_seconds": {
"default": 3600,
"maximum": 86400,
"minimum": 60,
"type": "integer"
},
"max_price_usd": {
"description": "Abort before retrieval if the fixed service price exceeds this amount.",
"minimum": 0,
"type": "number"
},
"max_tokens": {
"default": 4000,
"maximum": 12000,
"minimum": 250,
"type": "integer"
},
"question": {
"description": "Optional task or question used to rank relevant passages.",
"maxLength": 2000,
"type": "string"
},
"url": {
"description": "Public HTTP or HTTPS page to retrieve.",
"format": "uri",
"maxLength": 4096,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"additionalProperties": false,
"properties": {
"context": {
"additionalProperties": false,
"properties": {
"citations": {
"items": {
"additionalProperties": false,
"properties": {
"excerpt": {
"type": "string"
},
"excerpt_sha256": {
"pattern": "^[a-f0-9]{64}$",
"type": "string"
},
"id": {
"type": "string"
},
"locator": {
"type": "string"
}
},
"required": [
"id",
"locator",
"excerpt",
"excerpt_sha256"
],
"type": "object"
},
"minItems": 1,
"type": "array"
},
"estimated_tokens_saved": {
"minimum": 0,
"type": "integer"
},
"markdown": {
"type": "string"
},
"raw_token_estimate": {
"minimum": 1,
"type": "integer"
},
"returned_token_estimate": {
"minimum": 1,
"type": "integer"
},
"token_estimate_method": {
"const": "characters_divided_by_4"
}
},
"required": [
"markdown",
"citations",
"raw_token_estimate",
"returned_token_estimate",
"estimated_tokens_saved",
"token_estimate_method"
],
"type": "object"
},
"context_id": {
"type": "string"
},
"delivery": {
"additionalProperties": false,
"properties": {
"cache_status": {
"enum": [
"hit",
"miss"
]
},
"cost_class": {
"enum": [
"cached",
"fresh_static"
]
},
"currency": {
"const": "USDC"
},
"economics": {
"additionalProperties": false,
"properties": {
"estimate_basis": {
"const": "configured_route_estimate"
},
"estimated_gross_margin": {
"type": "number"
},
"estimated_gross_profit_usd": {
"type": "number"
},
"estimated_variable_cost_usd": {
"minimum": 0,
"type": "number"
}
},
"required": [
"estimate_basis",
"estimated_variable_cost_usd",
"estimated_gross_profit_usd",
"estimated_gross_margin"
],
"type": "object"
},
"generated_at": {
"format": "date-time",
"type": "string"
},
"latency_ms": {
"minimum": 0,
"type": "integer"
},
"network": {
"type": "string"
},
"payment": {
"additionalProperties": false,
"properties": {
"failed_delivery_charge_policy": {
"const": "not_settled_when_handler_status_is_400_or_higher"
},