Extract Forms from Website API — Fields, Method, Action
Pricing
$10.00 / 1,000 page scanneds
Extract Forms from Website API — Fields, Method, Action
Extract all forms from a web page via API. Input: a page URL. Output: JSON per <form> with method, action, and full field list (name, type, required). Map a site's inputs for testing, QA, or automation. Pay per result: $0.01 per page scanned.
Pricing
$10.00 / 1,000 page scanneds
Rating
0.0
(0)
Developer
Anthony Snider
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Webpage Forms Extractor
Map every <form> on any page — method, action, enctype, and the full field list — in one call.
Live on the Apify Store — run it instantly or call it as an agent tool via Apify MCP.
What you get
For each URL, every form on the page is extracted with:
- action (resolved to an absolute URL) and method (
get/post) - enctype, form id and name
- fieldCount plus a flat fields list — each with
name,type,required,placeholder, and a non-sensitivevalue - Quick flags: hasPassword, hasEmail, hasFile
Sensitive values (passwords, hidden, card/token/cvv-style fields) are never captured — only their names and types.
Perfect for mapping a site's inputs for form testing, automation, security review, or training an agent to fill them.
Input
{"url": "https://github.com/login","urls": ["https://news.ycombinator.com/login"],"maxUrls": 25}
Provide a single url, a bulk urls array, or both.
Output
{"url": "https://github.com/login","status": 200,"formCount": 1,"forms": [{"action": "https://github.com/session","method": "post","enctype": "application/x-www-form-urlencoded","id": "login","name": "","fieldCount": 6,"hasPassword": true,"hasEmail": false,"hasFile": false,"fields": [{ "name": "login", "type": "text", "required": false, "placeholder": "", "value": "" },{ "name": "password", "type": "password", "required": false, "placeholder": "", "value": "" }]}]}