{"api":"v1","generated_at":"2026-09-15T19:45:55.037Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/context-relay-contextrelay-workers-dev-api-v1-context-8adbfa","pinned_page":"https://tollindex.com/e/context-relay-contextrelay-workers-dev-api-v1-context-8adbfa/at/2026-09-15T16-57Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T16:57:44.360Z","snapshot_stamp":"2026-09-15T16-57Z","endpoint":{"slug":"context-relay-contextrelay-workers-dev-api-v1-context-8adbfa","canonical_url":"https://context-relay.contextrelay.workers.dev/api/v1/context","resource":"https://context-relay.contextrelay.workers.dev/api/v1/context","http_method":"POST","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"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.","service_name":"Context Relay","declared_category":null,"declared_tags":["url-to-markdown","web-extraction","context-compression","ai-agent","citations"],"route_template":"/api/v1/context","registry_updated":"2026-09-14T19:49:34.504Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"context","category":"compute","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T16:57:44.360Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.005 USDC","amount_units":0.005,"decimals_known":true,"pay_to":"0x08B11EA90aEb253eF0F954BE108A12E6783D8189","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T16:57:44.360Z","calls_30d":2,"unique_payers_30d":2,"last_called_at":"2026-09-14T19:49:33.801Z"},"validation":{"latest":{"observed_at":"2026-09-15T05:47:07.232Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":5,"ratio":1},{"days":30,"observed":5,"passed":5,"ratio":1},{"days":90,"observed":5,"passed":5,"ratio":1}],"history_90d":[{"observed_at":"2026-09-15T05:47:07.232Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T05:19:40.665Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T05:15:20.295Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T07:31:42.151Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T11:18:05.817Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"0x08B11EA90aEb253eF0F954BE108A12E6783D8189","page":"https://tollindex.com/seller/0x08B11EA90aEb253eF0F954BE108A12E6783D8189","endpoints":1,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["url-to-markdown","web-extraction","context-compression","ai-agent","citations"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x08B11EA90aEb253eF0F954BE108A12E6783D8189","amount":"5000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-09-14T19:49:33.801Z","l30DaysTotalCalls":2,"l30DaysUniquePayers":2},"resource":"https://context-relay.contextrelay.workers.dev/api/v1/context","extensions":{"bazaar":{"info":{"input":{"body":{"url":"https://docs.cdp.coinbase.com/x402/welcome","question":"What is x402 designed to enable for agents and APIs?","max_tokens":2000,"max_price_usd":0.005},"type":"http","method":"POST","bodyType":"json"},"output":{"type":"json","example":{"safety":{"robots_policy":"allowed","source_directives":[],"public_source_only":true,"shared_cache_eligible":true,"prompt_injection_signals":[]},"source":{"title":"Welcome to x402","final_url":"https://docs.cdp.coinbase.com/x402/welcome","fetched_at":"2026-01-01T00:00:00.000Z","content_type":"text/html; charset=utf-8","canonical_url":"https://docs.cdp.coinbase.com/x402/welcome","requested_url":"https://docs.cdp.coinbase.com/x402/welcome","content_sha256":"0000000000000000000000000000000000000000000000000000000000000000"},"context":{"markdown":"# Welcome to x402\n\n## c1 · p[2]\n\nx402 enables HTTP-native payments for APIs and agents.","citations":[{"id":"c1","excerpt":"x402 enables HTTP-native payments for APIs and agents.","locator":"p[2]","excerpt_sha256":"0000000000000000000000000000000000000000000000000000000000000000"}],"raw_token_estimate":1250,"token_estimate_method":"characters_divided_by_4","estimated_tokens_saved":1200,"returned_token_estimate":50},"delivery":{"route":"public_html_direct","status":"delivered","network":"eip155:8453","payment":{"protocol":"x402","settlement_status":"reported_in_response_header","verification_status":"verified","settlement_receipt_header":"PAYMENT-RESPONSE","failed_delivery_charge_policy":"not_settled_when_handler_status_is_400_or_higher"},"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},"price_usd":0.005,"cost_class":"fresh_static","latency_ms":250,"cache_status":"miss","generated_at":"2026-01-01T00:00:00.250Z"},"context_id":"ctx_0123456789abcdef","receipt_id":"rcpt_01234567-89ab-cdef-0123-456789abcdef","schema_version":"context-receipt.v1","transformation":{"method":"deterministic_extract","question":"What is x402 designed to enable for agents and APIs?","max_tokens":2000,"model_used":false,"pipeline_version":"html-deterministic.v1"}}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","maxLength":4096,"description":"Public HTTP or HTTPS page to retrieve."},"question":{"type":"string","maxLength":2000,"description":"Optional task or question used to rank relevant passages."},"max_tokens":{"type":"integer","default":4000,"maximum":12000,"minimum":250},"max_price_usd":{"type":"number","minimum":0,"description":"Abort before retrieval if the fixed service price exceeds this amount."},"freshness_seconds":{"type":"integer","default":3600,"maximum":86400,"minimum":60}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["schema_version","receipt_id","context_id","source","transformation","context","delivery","safety"],"properties":{"safety":{"type":"object","required":["public_source_only","shared_cache_eligible","source_directives","robots_policy","prompt_injection_signals"],"properties":{"robots_policy":{"enum":["allowed","not_present","unavailable_4xx"]},"source_directives":{"type":"array","items":{"type":"string"}},"public_source_only":{"const":true},"shared_cache_eligible":{"type":"boolean"},"prompt_injection_signals":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},"source":{"type":"object","required":["requested_url","canonical_url","final_url","title","fetched_at","content_type","content_sha256"],"properties":{"title":{"type":"string"},"final_url":{"type":"string","format":"uri"},"fetched_at":{"type":"string","format":"date-time"},"content_type":{"type":"string"},"canonical_url":{"type":"string","format":"uri"},"requested_url":{"type":"string","format":"uri"},"content_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"additionalProperties":false},"context":{"type":"object","required":["markdown","citations","raw_token_estimate","returned_token_estimate","estimated_tokens_saved","token_estimate_method"],"properties":{"markdown":{"type":"string"},"citations":{"type":"array","items":{"type":"object","required":["id","locator","excerpt","excerpt_sha256"],"properties":{"id":{"type":"string"},"excerpt":{"type":"string"},"locator":{"type":"string"},"excerpt_sha256":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"additionalProperties":false},"minItems":1},"raw_token_estimate":{"type":"integer","minimum":1},"token_estimate_method":{"const":"characters_divided_by_4"},"estimated_tokens_saved":{"type":"integer","minimum":0},"returned_token_estimate":{"type":"integer","minimum":1}},"additionalProperties":false},"delivery":{"type":"object","required":["status","route","cache_status","price_usd","currency","network","cost_class","economics","latency_ms","generated_at","payment"],"properties":{"route":{"enum":["cache","public_html_direct"]},"status":{"const":"delivered"},"network":{"type":"string"},"payment":{"type":"object","required":["protocol","verification_status","settlement_status","settlement_receipt_header","failed_delivery_charge_policy"],"properties":{"protocol":{"const":"x402"},"settlement_status":{"enum":["reported_in_response_header","reported_in_mcp_meta","not_applicable"]},"verification_status":{"enum":["verified","internal_unverified"]},"settlement_receipt_header":{"enum":["PAYMENT-RESPONSE","x402/payment-response",null]},"failed_delivery_charge_policy":{"const":"not_settled_when_handler_status_is_400_or_higher"}},"additionalProperties":false},"currency":{"const":"USDC"},"economics":{"type":"object","required":["estimate_basis","estimated_variable_cost_usd","estimated_gross_profit_usd","estimated_gross_margin"],"properties":{"estimate_basis":{"const":"configured_route_estimate"},"estimated_gross_margin":{"type":"number"},"estimated_gross_profit_usd":{"type":"number"},"estimated_variable_cost_usd":{"type":"number","minimum":0}},"additionalProperties":false},"price_usd":{"type":"number","minimum":0},"cost_class":{"enum":["cached","fresh_static"]},"latency_ms":{"type":"integer","minimum":0},"cache_status":{"enum":["hit","miss"]},"generated_at":{"type":"string","format":"date-time"}},"additionalProperties":false},"context_id":{"type":"string"},"receipt_id":{"type":"string"},"schema_version":{"const":"context-receipt.v1"},"transformation":{"type":"object","required":["pipeline_version","method","question","max_tokens","model_used"],"properties":{"method":{"const":"deterministic_extract"},"question":{"type":["string","null"]},"max_tokens":{"type":"integer","maximum":12000,"minimum":250},"model_used":{"const":false},"pipeline_version":{"const":"html-deterministic.v1"}},"additionalProperties":false}},"additionalProperties":false}}}}},"routeTemplate":"/api/v1/context"}},"description":"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.","lastUpdated":"2026-09-14T19:49:34.504Z","serviceName":"Context Relay","x402Version":2}]}}