Crawled Pdf Download

The Results API delivers the crawling outcome of a website in JSON format, using a unique caseId to provide insights into the URL's performance and content extracted

Get Crawled Pdf

GET https://secctrl.tutelar.io/api/v1/web-crawling/get-crawl-results?case_id=<caseId>&download=pdf

{ "message": "Invalid authentication credentials" }

Query Parameters

Name
Type
Description

case_id*

/web-crawling/get-status?case_id=gKXvLK9Y7gPAmyYCxGDn3p

You need to provide the website Case ID that you already received in the Initiate Crawl Response API

download

/web-crawling/get-status?case_id=gKXvLK9Y7gPAmyYCxGDn3p&download=pdf

You need to provide the download=pdf as a parameter

Sample response

Content-Type: application/pdf

Complete data stream of the file contents.

Success response

Complete data stream of the file contents. 

In progress response

{
  "success": true,
  "code": "4999",
  "message": "The PDF download for caseId - <caseId> is in progress. Please try again after some time!",
  "data": {}
}

Failure response

{
    "success": false,
    "code": 300,
    "message": "Please provide case id",
    "data": {}
}

{
    "success": false,
    "code": 4999,
    "message": "Something went wrong while generating pdf",
    "data": {}
}

Last updated