URL list for scanning

getScanUserUrlList — method returns a list of URLs which were audited if the scan type was specified for assigned URLs (imported or hand-typed).

Request parameters
Parameters Value Description
id any number or string A request id: the response contains the same id. Enter any number (number) or text (string) value
method getScanUserUrlList API method name
params {...} The object with parameters {...}, it lists all the following parameters and arrays [...]
projectId any number or string Project id

Response parameters
Parameters Description
id Response id corresponds the request id
result Contains the answer
urls URL list
scanType Scan type
isImported Imported URL list 

 Credits for this method are not deducted.

Example
Request data:

{
            "method": "AuditSite.getScanUserUrlList",
            "params": {
                "projectId": 123456
            },
        
            "id": 0
        }
Response data:
{
    "id": "",
    "result": {
        "urls": [
            "http://audit.test.pages/largeImage/linksToLargeImagesExist.html",
            "http://audit.test.pages/charsetMissing/charsetEmpty.html",
            "http://audit.test.pages/pageSize/largePageSize.html" 
        ],
        "scanType": 2,
        "isImported": true
    }
}

An example of an error if the audit was launched using the "All pages" crawl type:

{
    "id": "0",
    "error": {
        "code": -32131,
        "message": "Scan url list not found",
        "data": {}
    }
}

Поделитесь статьей с вашими друзьями

Are you sure?

Персональная презентация сервиса

Serpstat is all about saving time, and we want to save yours! One of our specialists will contact you and discuss options going forward.

These may include a personal demonstration, a trial period, comprehensive training articles & webinar recordings, and custom advice from a Serpstat specialist. It is our goal to make you feel comfortable while using Serpstat.

Name

Email

Phone

We are glad of your comment
Política de privacidad.

Спасибо, мы с вами свяжемся в ближайшее время

Open support chat