{"uid":"cap_vAsDRraHEUthMYT6SzF0H","slug":"agishub-headless-browser-automator-2c1def36","name":"AGISHub Headless Browser Automator","description":"Drive a headless browser: open a URL and run an ordered list of steps — click, type, press keys, wait, extract text and screenshot. For flows the plain scraper can't reach (logins, forms, multi-step pages).","url":"https://api.agishub.com/paid/browser-automate","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"Starting URL to open in a headless browser."},"steps":{"type":"array","items":{"type":"object","required":["action"],"properties":{"ms":{"type":"integer","maximum":10000,"minimum":0,"description":"Milliseconds to wait (wait, when no selector given)."},"text":{"type":"string","description":"Text to type (type), or key to press (press, e.g. 'Enter')."},"action":{"enum":["click","type","press","wait","extract_text","screenshot"],"type":"string","description":"What to do."},"selector":{"type":"string","description":"CSS selector (for click/type/wait-for/extract_text)."}},"additionalProperties":false},"maxItems":20,"description":"Ordered actions to perform after the page loads."},"screenshot":{"type":"boolean","description":"Also return a final full-page PNG screenshot (base64)."}},"additionalProperties":false},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AhlTxMu4rvjPsJQKB55no","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Opens a URL in a headless browser and executes an ordered sequence of actions (click, type, press, wait, extract text, screenshot) to interact with pages that require login, forms, or multi-step navigation.","exampleAgentPrompt":"Go to https://example.com/login, click the username field using selector '#username', type 'myuser', click '#password', type 'mypassword', press Enter, then wait 2000ms and extract the text from '.dashboard-welcome' — and take a final screenshot too.","exampleUseCases":[{"title":"Login and extract dashboard data","prompt":"Go to https://app.myservice.com/login, click the field with selector '#email' and type 'user@example.com', then click '#password' and type 'secretpass', then press Enter, wait 3000ms, and extract the text from '.account-balance'. Also take a screenshot so I can see the result."},{"title":"Submit a web form and capture output","prompt":"Open https://forms.example.com/signup, click the input with selector '#name' and type 'John Doe', click '#email' and type 'john@example.com', then click the '#submit-btn' button, wait 2000ms, and extract whatever text appears in '.confirmation-message'."},{"title":"Screenshot a JavaScript-rendered page","prompt":"Open https://dashboard.example.com/reports, wait 3000ms for the charts to load, then take a full-page screenshot so I can see what the rendered dashboard looks like."}],"resultDescription":"A JSON object containing the results of each executed step — including any extracted text from CSS selectors and optionally a base64-encoded full-page PNG screenshot from the final state of the browser.","failureModes":["Invalid or unreachable URL returns an error","CSS selector not found on page causes step failure","Login credentials rejected by target site","Page takes too long to load causing timeout","Steps exceed the 20-action limit","Screenshot flag ignored if page is not fully rendered","Dynamic content not yet loaded when extract_text runs"],"whenToPreferThis":"Choose this endpoint when the target page requires JavaScript execution, authentication, form submission, or multi-step navigation that a plain HTTP scraper cannot handle. Prefer it over a simple web fetch endpoint when you need to click, type, or interact with a live browser session before extracting content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:52.516Z","isFirstParty":false}