{"uid":"cap_Ka3ltGuALM93GWwoxu5X-","slug":"machine-shop-webpage-document-preparer-c6265134","name":"Machine Shop – Webpage Document Preparer","description":"Turn Apify product scrape results into safe catalog updates with Catalog Update Gate. Find evidence in supplied documents, compare snapshots, extract typed JSON fields, inspect x402 quotes and assess API migrations. Preview inputs, evidence and cost for free. No live web search, scheduled monitoring or third-party purchasing.","url":"https://api.pay-forge.online/v1/webpage-prepare-document?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","title":"Url","maxLength":2048},"overlap":{"type":"integer","title":"Overlap","default":150,"maximum":9999,"minimum":0},"chunk_size":{"type":"integer","title":"Chunk Size","default":1500,"maximum":10000,"minimum":64}}},"responseSchema":{"type":"json","example":{"url":"https://example.com","text":"Hello\nAgent documents.","links":[],"document":{"text":"Hello\nAgent documents.","chunks":[{"end":22,"text":"Hello\nAgent documents.","index":0,"start":0}],"sha256":"ad5d70c4710c7e4d89fd61cc8a948080c97155017935a37327b3c88d4ed9f88f","entities":{"urls":[],"dates":[],"money":[],"emails":[],"evm_addresses":[]},"removed_duplicate_lines":0},"markdown":"# Hello\n\nAgent documents.","metadata":{"meta":{},"title":"Example","language":"en","canonical":"","description":""},"limitations":["Static HTML only; no JavaScript, CSS visibility, article detection, table reconstruction or microdata parsing."],"structured_data":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1gRFNeJIYdSsoqVJbcI0F","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a URL and converts it into chunked, entity-tagged document form ready for evidence extraction, field comparison, and downstream analysis.","exampleAgentPrompt":"Fetch https://example.com/terms-of-service and prepare it as a chunked document — use a chunk size of 1500 and an overlap of 150 — so I can search for evidence and extract specific fields from it.","exampleUseCases":[{"title":"Extract contract terms from URL","prompt":"Pull down this contract page at https://acme.com/legal/vendor-agreement and break it into chunks of 1000 characters with 200 overlap so I can search for payment terms, dates, and any dollar amounts mentioned."},{"title":"Snapshot webpage for comparison","prompt":"Fetch https://competitor.com/pricing and prepare the document — I want the SHA-256 hash, all the extracted text, and any money entities so I can compare it against last week's snapshot."},{"title":"Parse API docs for field extraction","prompt":"Grab the page at https://docs.someapi.com/endpoints and convert it into a chunked document with default chunk size so I can extract all the endpoint URLs and email addresses listed on it."}],"resultDescription":"Returns the full page text, markdown rendering, metadata (title, language, description, canonical URL), a list of text chunks with start/end positions and index, a SHA-256 hash of the document, extracted entities (URLs, dates, money values, emails, EVM addresses), any structured data found, and a list of parsing limitations (e.g. no JavaScript rendering).","failureModes":["URL is unreachable or returns non-200 status — fetch fails with an error","Page relies on JavaScript rendering — static HTML only, dynamic content will be missing","chunk_size below 64 or above 10000 — rejected by schema validation","URL exceeds 2048 characters — rejected by schema validation","Page has no meaningful text content — returns empty or near-empty chunks","Rate limiting or payment failure — 402 response requiring x402 payment","Malformed or non-HTML URL (e.g. PDF, binary) — may produce garbled or empty text output"],"whenToPreferThis":"Choose this endpoint when you need to prepare a static webpage as a structured, chunked document for downstream evidence extraction, entity parsing, field comparison, or LLM ingestion. It is ideal when you need reproducible content (via SHA-256 hash) for snapshot diffing, or when you need named entities like dates, money amounts, emails, and EVM addresses automatically extracted alongside the text. Prefer alternatives if you need JavaScript-rendered pages, live web search, scheduled monitoring, or table/microdata parsing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:39:31.073Z","isFirstParty":false,"canonicalSlug":"machine-shop-webpage-document-preparer-c6265134"}