Get access to 30+ marketing and SEO tools. analyze competitors, keywords, and backlinks for free..
Sign in Sign Up

We use cookies to make Serpstat better. By clicking "Accept cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Learn more

Audit settings saving (setSettings)

AuditSite.setSettings — method saves settings in a suggested project.

 

Request parameters
Parameters Description
id Request id
domain Project domain
name Project name
subdomainsCheck Subdomains check
pagesLimit Scan pages limit
scanSpeed Scan speed
autoSpeed Auto speed control
autoUserAgent User Agent auto switches at unsuccessful server response
scanNoIndex No-index pages scanning
scanWrongCanonical Incorrect canonical pages scanning
scanDuration Scan duration
folderDepth Scan folder depth
urlDepth URL depth
userAgent User Agent
robotsTxt Robots.txt regulations check
dontScanKeywordsBlock Don’t scan pages with keywords in URL
onlyScanKeywordsBlock Scan only pages with keywords in URL
baseAuthBlock Access to websites shut down with BaseAuth
login BaseAuth login
password BaseAuth password
mailTriggerSettings Trigger mail settings
emails Array of emails trigger mail to be sent
interval Interval of trigger mailing
enabled Trigger mail enabling
scheduleSettings Scan schedule settings
scheduleRepeatOption Scan interval id
scanSetting Scan type settings
type Scan type mode id
list Arrays of URL to be scanned
importedFilename File name of previously imported URL

Response parameters
Parameters Description
id Request id
result Contains the answer

 

Example PHP Python
Request data:
{
 "id":1,
 "method": "AuditSite.setSettings",
 "params":{
  "projectId":174917,
     "mainSettings": {
        "domain": "inweb.ua",
        "name": "inweb.ua",
        "subdomainsCheck": true,
        "pagesLimit": 54321,
        "scanSpeed": 200,
        "autoSpeed" : true,
        "autoUserAgent": true,
        "scanNoIndex":false,
        "scanWrongCanonical":true,
        "scanDuration": 0,
        "folderDepth": 0,
        "urlDepth": 0,
        "userAgent": 0,
        "robotsTxt": true
    },
    "dontScanKeywordsBlock": {
        "checked": true,
        "keywords": "text1"
    },
    "onlyScanKeywordsBlock": {
        "checked": true,
        "keywords": "text2"
    },
    "baseAuthBlock": {
        "login": "222",
        "password": "444"
    },
    "mailTriggerSettings": {
        "emails": [],
        "interval": 1,
        "enabled": false
    },
    "scheduleSettings": {
        "scheduleRepeatOption": 3
    },
    "scanSetting": {
        "type": 2,
        "list": [],
        "importedFilename":"xxx.xxx"
    }
  },
  "jsonrpc": "2.0"
}

Response data:
{
    "id": "1",
    "result": null,
    "jsonrpc": "2.0"
}

Share this article with your friends

Sign In Free Sign Up

You’ve reached your query limit.

Or email
Forgot password?
Or email
Optional
Back To Login

Don’t worry! Just fill in your email and we’ll send over your password.

Are you sure?

Awesome!

To complete your registration you need to enter your phone number

Back

We sent confirmation code to your phone number

Your phone Resend code Queries left

Something went wrong.

Contact our support team
Or confirm the registration using the Telegram bot Follow this link
Please pick the project to work on

Personal demonstration

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
Upgrade your plan

Upgrade your plan

Export is not available for your account. Please upgrade to Lite or higher to get access to the tool. Learn more

Sign Up Free

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

Invite
View Editing

E-mail
Message
Optional
E-mail
Message
Optional

You have run out of limits

You have reached the limit for the number of created projects. You cannot create new projects unless you increase the limits or delete existing projects.

I want more limits