{"slug":"web-scraper-api-production-bf20-up-railway-app-scrape-struct-3ee635","title":"Extract structured elements","host":"web-scraper-api-production-bf20.up.railway.app","method":"POST","resource":"https://web-scraper-api-production-bf20.up.railway.app/scrape/structured","category":"image","description":"Extract structured elements: heading hierarchy (h1-h6), lists, tables as 2D arrays, and images with alt text, plus element counts.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1323,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"url":"https://example.com"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"url":{"description":"Absolute http(s) URL of the page to scrape, e.g. 'https://example.com'.","type":"string"}},"required":["url"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"counts":{"description":"Element tallies: headings, lists, tables, images.","type":"object"},"final_url":{"type":"string"},"headings":{"description":"Heading nodes in document order; each is {level, text}.","type":"array"},"images":{"description":"Images; each is {src, alt, width, height}.","type":"array"},"lists":{"description":"Top-level ul/ol lists; each is {type, items}.","type":"array"},"tables":{"description":"Tables as 2D arrays of cell strings (rows of cells).","type":"array"},"url":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1323,"error":null}],"description_full":"Extract structured elements: heading hierarchy (h1-h6), lists, tables as 2D arrays, and images with alt text, plus element counts.","last_updated":"2026-10-08T06:51:33.501Z","schemes":["exact"]}