Getting Started

A brief guide to working with WebScraping.AI.


General API Rules

  • Each API request costs 1 credit
  • Requests can take up to 30 seconds
  • Failed requests are free

Error codes

  • 402 - Requests quota is exceeded
  • 403 - Wrong API key
  • 404 - Requested page not found
  • 429 - The limit of concurrent requests is exceeded
  • 500 - Unexpected error

Parameters

  • url - page URL
  • selector - CSS selector to parse
  • js - execute on-page JavaScript using a headless browser (true by default), costs 2 requests
  • inline_css - inline CSS files to make the page displayable from another domain (false by default, not available if js is false)
  • outer_html - return outerHTML value of the selected element (instead of default innerHTML)
© 2020 WebScraping.AI | Privacy Policy and Terms of Service
Icon