It is quite easy to use RocketScrape API. Just send the URL you would like to scrape to the API, along with your API key, and the API will return the HTML response from your target URL.
RocketScrape uses API keys to authenticate requests. In order to use the API you need to sign up for an account and include your unique API key in every request.
You can use the API to scrape web pages, API endpoints, images, documents, PDFs or other files just as you would any other URL. Note: there is a 2MB limit per request.
You can send GET requests to RocketScrape API via our API endpoint:
Or POST request:
Body object accepts all parameters that are available for GET request:
apiKeyparameters are required.
A credit is a request inside the service. Every time you do a request, a credit is deducted from your account. We charge 1 credit per "general" request and 20 credits per "premium" request. (domains
google, ebay, amazon, aliexpress, similarweb, zoominfo, booking, olxare considered as "premium").
render=truewill charge additional 5 credits for "premium" and 10 credits for "common" requests.
The API will return a specific status code after every request depending on whether the request was successful, failed or some other error occurred. RocketScrape API will retry failed requests for up to 60 seconds to try and get a successful response from the target URL before responding with a
500error indicating a failed request.
Note: To avoid timing out your request before the API has had a chance to complete all retries, remember to set your timeout to 60 seconds.
Should a request fail after 60 seconds of retrying, you will not be charged for it (you are only charged for successful requests:
Below is the list of status codes you might receive: