{"uid":"cap_fQbyUzhwVS7EPXW6Jyx9k","slug":"agent402-tools-structured-scrape-d183672d","name":"agent402.tools Structured Scrape","description":"Bundled execution of the Structured scrape workflow - Pull structured data out of any web page deterministically - articles to clean text, tables to JSON rows, specific elements via CSS selector - without writing regex against raw HTML. One x402 payment runs 7 underlying tools (extract, render, html-select, html-table, html-strip, html-links, html-meta); partial-success per step.","url":"https://agent402.tools/api/skill/structured-scrape","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Page to scrape (e.g. https://example.com/product/42)"},"target":{"type":"string","description":"What to extract - a price, a table, a list, a paragraph, etc."}}},"responseSchema":{"type":"json","example":{"args":{"url":"https://agent402.tools/leaderboard","target":"the price and SKU"},"pack":"structured-scrape","steps":[{"ok":true,"slug":"extract","result":{}},{"ok":true,"slug":"render","result":{}},{"ok":true,"slug":"html-select","result":{}},{"ok":true,"slug":"html-table","result":{}},{"ok":true,"slug":"html-strip","result":{}},{"ok":true,"slug":"html-links","result":{}},{"ok":true,"slug":"html-meta","result":{}}],"summary":"7/7 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.032","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.032/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.032","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.032","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eewU66mWGhuSUVCU_bPj5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.032","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts structured data (clean text, JSON tables, specific elements) from any web page using a natural-language target description instead of regex or raw HTML parsing","exampleAgentPrompt":"Scrape the product page at https://example.com/product/42 and pull out the price and availability as structured data — I need it as clean JSON, not raw HTML.","exampleUseCases":null,"resultDescription":"Returns structured data extracted from the target web page — clean text for articles, JSON rows for tables, or the specific element value matching the described target — deterministically parsed without requiring regex or raw HTML handling.","failureModes":["URL is inaccessible or returns non-200 status — extraction fails with an error","Target description is too ambiguous and the element cannot be located on the page","Page requires JavaScript rendering and the static HTML lacks the requested content","Page blocks scraping via bot detection or CAPTCHA — returns access-denied error","Payment of 0.2 USDC not completed via x402 — request rejected before execution"],"whenToPreferThis":"Choose this endpoint when you need to extract specific, well-defined data from a known web page URL without writing regex or parsing raw HTML manually. Ideal for one-shot extractions of prices, tables, article text, or named elements from any publicly accessible page. Prefer over general crawlers when you want structured output (JSON rows, clean text) from a single page with a natural-language description of what to extract.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:05.145Z","isFirstParty":false}