{"name":"scrape-to-json","description":"Turn any webpage into structured JSON that matches your schema. Fetches the page server-side (cheerio, no headless browser), converts it to clean markdown, then extracts data conforming to a caller-supplied JSON schema via Morpheus mistral-31-24b. The web scraper to reach for when you need website-to-JSON, page-to-structured-data, or scrape-and-extract with schema enforcement. Pair with watch-page or research-brief for richer agent pipelines.","price":"$0.02","method":"POST","input_schema":{"properties":{"url":{"type":"string","description":"Public URL to scrape (http or https). Follows redirects."},"schema":{"type":"object","description":"JSON schema describing expected output. Must include a 'properties' key."},"instructions":{"type":"string","description":"Optional extra extraction guidance."},"format":{"type":"string","enum":["text","markdown"],"description":"Pre-LLM body normalization. Default 'markdown'."},"user_agent":{"type":"string","description":"Optional User-Agent header sent to the target page. Defaults to an x402-scrape-to-json UA string."}},"required":["url","schema"]},"input_example":{"url":"https://example.com","schema":{"properties":{"title":{"type":"string"},"summary":{"type":"string"}},"required":["title"]}},"output_example":{"url":"https://example.com","final_url":"https://example.com/","status_code":200,"extracted":{"title":"Example Domain","summary":"This domain is reserved for illustrative examples."},"model":"mistral-31-24b"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}