Getting Started

Extract large amounts of data with our scalable data extraction API. Whether you need to scrape search engine results or want to collect data in bulk from LinkedIn, we have already covered you.

All REST API calls will return JSON or HTML results.

Our API endpoint is: https://api.apiforseo.com/

Uses

Our API is easy to use and is designed to be used by developers. Here are a few things to consider before we get started:

  • The request will be retried until it can be completed (up to 60 seconds). In cases where the request fails in 60 seconds, we will return a 502 error, you will not be charged for the unsuccessful API call(you are only charged for successful requests, 200 status code). Make sure to catch these errors! They will occur on roughly 1-2% of requests.

  • If you exceed 1000 requests per month on your free plan, you will receive a 403 error.

  • Each request will return an HTML response or object of arrays with the requested data.

Error Codes

Handling the HTTP response status codes below is advisable for a smooth scraping experience.

Error Codes
Description

200

Request Successfull

404

User not found or enter a valid query

408

Request timed out

503

Request couldn't proceed.

Last updated