{"uid":"cap_Zy3PbO9Lyz-mfephCmc8d","slug":"forest-factory-api-web-page-forms-extractor-a92cee2f","name":"Forest Factory API – Web Page Forms Extractor","description":"Machine-readable contract for active Forest paid capabilities. Unsigned paid calls return HTTP 402 with a PAYMENT-REQUIRED x402 challenge.","url":"https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/page/forms?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","pattern":"^https?://","maxLength":2048,"minLength":1,"description":"Public HTTP(S) URL to inspect, resolve, or compare."}}},"responseSchema":{"type":"json","example":{"ok":true,"data":{"forms":[],"truncated":false,"form_count":0,"source_url":"example","rendered_javascript":false,"returned_field_count":0},"meta":{"cache":"miss","provider":"safe-http","checked_at":"2026-01-01T00:00:00.000Z","duration_ms":0},"version":"1","capability":"web.page-forms"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vDItmGAggW78isNbFi_aR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and extracts all HTML forms from a public URL, returning structured form metadata including field counts and rendering details.","exampleAgentPrompt":"Can you extract all the forms from https://example.com/contact and tell me how many there are and what fields they contain?","exampleUseCases":[{"title":"Detect login form on a site","prompt":"Check https://app.acmecorp.com/login and tell me what HTML forms are on that page — I want to know the number of fields and whether JavaScript rendering was needed."},{"title":"Audit contact page for forms","prompt":"Pull up https://www.nonprofit.org/contact and extract any forms present so I can see if they have a donation or volunteer signup form."},{"title":"Verify checkout form exists","prompt":"Look at https://shop.mybrand.com/checkout and confirm there's a form there — tell me how many forms and fields it has."}],"resultDescription":"Returns a JSON object with an array of detected forms, the total form count, total returned field count, whether JavaScript rendering was used, the source URL inspected, and metadata including cache hit/miss status, provider name, timestamp, and response duration in milliseconds.","failureModes":["URL is not publicly accessible or returns a non-200 status — form data will be empty or an error is returned","Payment not signed — returns HTTP 402 with an x402 PAYMENT-REQUIRED challenge","URL pattern does not match http/https scheme — request is rejected by schema validation","Page uses heavy client-side rendering that the provider cannot execute — rendered_javascript may be false and forms may be missed","URL exceeds 2048 characters — request rejected by schema validation"],"whenToPreferThis":"Use this endpoint when you need to programmatically detect or inventory HTML forms on a public web page, especially for automation workflows that depend on form presence (e.g. login detection, scraper setup, accessibility audits). Prefer this over generic web scraping endpoints when your goal is specifically form metadata extraction with structured output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:45:01.845Z","isFirstParty":false,"canonicalSlug":"forest-factory-api-web-page-forms-extractor-a92cee2f"}