Agenty Browser API

Agenty browser automation API is cloud based Browser as API service to automatically capture website screenshot, convert web-pages into PDF, extract content, website scraping, execute custom Puppeteer or Playwright function, and more with simple GET and POST request method in any programming language.

Using the API, you can -

  • Get the HTML or PDF from any URL.
  • Capture a full page screenshot in a few seconds.
  • Extract structured data (microdata, rdfa, jsonld etc) from websites.
  • Capture redirects chain of any URL.
  • Execute custom puppeteer script and return the result.

Our cloud-based remote browser technology runs on 16 AWS regions with auto-scale enabled to build scalable browser automation apps faster and without worrying about infrastructure.

Agenty’s web browser automation software can automate your web browser tasks the same way you would a robot. See the API references to start integrating with your business to save time and repetitive tasks -

API References

BaseURL

https://browser.agenty.com/

Endpoints

Endpoint Description
/scrape Scrape data from website
/pdf Convert web-page into PDF
/screenshot Capture screenshot of any URL
/content Get HTML content of any URL
/redirects Get the redirect chain of any URL
/function Execute custom puppeteer script
/extract Extract structured data of any URL

Try with Postman

  • Download the postman collection from GitHub.
  • Create an environment
  • Add environment variable BASE_URL and your API_KEY
  • Select the environment

Authentication

We use api keys to allow access and in order to authorize API requests. Just add your api key token as query parameter to each API requests apikey=xxxxxxx

Alternatively, you can also add a header as X-Agenty-ApiKey : {Your Key Here} on each requests to get authenticated

Login to your account and go to settings > API keys > To get your apiKey.

Schema

See the schema here - https://github.com/Agenty/browser-automation-api/blob/master/schema.js

Pricing

  • 1 page credit = 1 successful request (2xx) or 30 seconds of execution, whichever comes first.

Rate Limitation

Plan Rate Limit
Free plan 10 requests per minute; 100 per day
Basic plan 30 requests per minute
Professional plan 60 requests per minute
Business plan 100 requests per minute
Enterprise plan As per business agreement

Error Codes

Code Description
400 Request error for some reason. You may find error details in response.
401 Unauthorized request. Make sure a valid apiKey is used header or query params
402 No pages credit left, go to dashboard to see pages credit remaining and/or upgrade your plan
404 Invalid URL
408 Request timeout error
422 Schema validation error
5xx Server error

Signup now to get 100 pages credit free

14 days free trial, no credit card required!