{"name":"onyx_url_text","tier":"metered","price_usdc":"0.001","endpoint":"https://onyx-actions.onrender.com/v1/onyx_url_text","method":"POST","input_schema":{"type":"object","properties":{"url":{"type":"string","description":"HTTPS URL to fetch"},"max_chars":{"type":"integer","default":50000,"description":"Truncate output (max 200000)"}},"required":["url"]},"description":"Fetch any public URL and return the readable text content stripped of HTML/scripts/styles. Use when an agent needs to reason over a web page without rendering a browser — docs pages, articles, search-result snippets, GitHub READMEs. Returns plain text + page title + word count + final URL after redirects. Capped at 200kB output to keep token costs predictable. ~150-800ms typical depending on origin server.","when_to_use":"Use when an agent needs to read a web page WITHOUT spinning up a browser. Faster and cheaper than browser_extract for static content. Pairs with onyx_url_unshorten when the URL is a t.co / bit.ly redirect.","vs_alternatives":"Exa /search costs $0.007 and gives snippets, not full text. Browserbase session-create costs more and returns a session ID, not text. Direct fetch from agent runtime blocks on rate-limits and CDN gates. Onyx $0.001 fetches and strips HTML server-side, cap 200kB.","example_request":{"url":"https://en.wikipedia.org/wiki/Model_Context_Protocol","max_chars":4000},"example_response":{"url":"https://en.wikipedia.org/wiki/Model_Context_Protocol","status":200,"title":"Model Context Protocol - Wikipedia","text":"The Model Context Protocol (MCP) is an open standard...","char_count":3987,"word_count":612,"truncated":true,"elapsed_ms":240},"settle_to":"0x3fD9ee1373562f894D322B37DFFAd7a5D2b2d78f","network":"base","facilitator":"https://facilitator.xpay.sh","payment_required":true,"free_introspection":true,"note":"GET this URL = free introspection card. POST with x402 payment header to call."}