{"uid":"cap_nr0SQ4mNv7wKHKB8zlaes","slug":"agent-toolkit-web-page-to-markdown-with-prompt-injection-scan-c85555d1","name":"Agent Toolkit – Web Page to Markdown with Prompt-Injection Scan","description":"Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.","url":"https://agent-data.centorprat.workers.dev/web/read?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public http(s) URL"},"max_chars":{"type":"string","description":"Max markdown characters, 500-100000 (default 20000)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"title":"Example article","safety":{"verdict":"safe","riskScore":0},"markdown":"# Heading\n\nBody text...","wordCount":1935}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CzBh4SD16JfqI9OjxpBeN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches any public URL and returns clean markdown (main content only) with metadata and a prompt-injection safety scan for LLM agents","exampleAgentPrompt":"Read this article for me — https://example.com/some-article — strip out all the ads and navigation, give me the main content as clean text, and let me know if the page is trying to inject any hidden instructions into you.","exampleUseCases":[{"title":"Safe article ingestion for RAG pipeline","prompt":"Fetch https://techcrunch.com/2024/05/01/some-article and give me the clean markdown text of just the main content, no ads or nav — and flag if there are any hidden prompt-injection attempts on the page so I know it's safe to feed into my knowledge base."},{"title":"Detecting adversarial web content","prompt":"I need you to read https://suspicious-site.com/offer and check whether the page is trying to hijack your instructions — look for hidden text, invisible Unicode, or comments telling you to do something unexpected, and report back what you find."},{"title":"Extracting author and publication metadata","prompt":"Can you pull the content from https://substack.com/@author/some-post and tell me the author name, publication date, language, and all the external links it references, formatted in clean markdown?"}],"resultDescription":"Returns clean markdown of the page's main content (stripped of navigation, ads, cookie banners), plus structured metadata: title, description, author, publish/modify dates, language, headings outline, internal and external links, JSON-LD semantic types, and a prompt-injection safety report covering visible text, hidden HTML, comments, and invisible Unicode characters.","failureModes":["URL is unreachable or returns non-200 status — endpoint reports failure but does not charge","Invalid or malformed URL — request rejected with validation error","Page behind authentication or paywall — only publicly accessible content is returned","Very large pages may be truncated at max_chars limit (default 20000, max 100000)","Dynamic JavaScript-rendered content may not be fully captured if server-side rendering is absent"],"whenToPreferThis":"Choose this endpoint when your agent needs to safely ingest web content for LLM processing — especially when you need both clean markdown extraction AND a prompt-injection safety check in a single call. It is preferable over raw URL fetchers when you want boilerplate stripped automatically and metadata extracted. The built-in injection scan makes it uniquely suited for agentic pipelines where the agent might act on page content, as it detects adversarial instructions hidden in HTML, comments, or invisible Unicode that a naive scraper would miss. Its Cloudflare edge delivery (~0.5s) makes it suitable for real-time agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T13:21:14.516Z","isFirstParty":false,"canonicalSlug":"agent-toolkit-web-page-to-markdown-with-prompt-injection-scan-c85555d1"}