Overview

When you route requests through our Synchronous API https://api.scraperapi.com we will return the raw HTML output of the target URL. This method is simple, fast and works seamlessly with any HTTP client.

Highlights

  • Quick response - results are typically returned within seconds, but complex domains can take as long as 60 seconds.

  • Seamless integration - works with any HTTP client or library.

  • Workflow friendly – fits naturally into pipelines or apps where data is consumed in real time.

  • Easy to debug - test and adjust parameters within seconds.

Constraints

  • 50MB max response size.

  • 70-second recommended timeout.

Costs

  • Normal (flat) requests typically cost 1 API credit. Additional costs may apply in some cases, such as when extra parameters are enabled or certain domains are scraped. You can learn more about costs here.

  • Cost Control - You can use the max_cost parameter to cap how many API Credits a request may consume. If the cost exceeds the specified limit, the API will return a 403 error.

Last updated