Set when the site is crawled
https://seolyticize.com /api/v1/tools/set_crawl_schedule Sets how often the client's site is crawled without anyone asking: off, daily, weekly or monthly; weekly on Monday at 02:00 UTC unless changed. day is the weekday for weekly (0 Sunday to 6 Saturday; default 1, Monday) or the day of the month for monthly (1–28; default 1); hour is the UTC hour (default 2). Scheduled crawls use the client's crawl settings and wait their turn in the crawl queue like any other; one is never started while another crawl of the site is running, and a crawl started by hand since the last slot counts as that slot's. get_crawl_settings shows the schedule and when it next runs. Answers 'crawl this site every night'. Free.
Parameters
Idempotency-KeystringheaderRequest body
application/json
clientIdstringrequiredcadencestringrequireddayintegerhourinteger{
"clientId": "string",
"cadence": "off",
"day": 0,
"hour": 0
}Code samples
cURL
curl -X POST "https://seolyticize.com/api/v1/tools/set_crawl_schedule" \
-H "Authorization: Bearer $SEOLYTICIZE_API_KEY" \
-H "Idempotency-Key: <value>" \
-H "Content-Type: application/json" \
-d '{"clientId":"string","cadence":"off","day":0,"hour":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
data, and its meta.Example
{
"data": {},
"meta": {
"requestId": "string",
"costMicros": 0,
"cached": true,
"cachedFrom": "string",
"dataAsOf": "string",
"sources": [
"string"
],
"partial": true,
"next": [
{
"tool": "string",
"args": {},
"why": "string"
}
],
"nextCursor": "string",
"dryRun": true
}
}Schema
datarequiredmetaobjectrequiredShow child parameters
requestIdstringrequiredcostMicrosintegerrequiredcachedbooleanrequiredcachedFromstringdataAsOfstringsourcesstring[]partialbooleanrequirednextobject[]requiredShow child parameters
toolstringargsobjectwhystringnextCursorstringdryRunbooleanX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerX-Request-IdstringExample
{
"error": "string",
"code": "string",
"next": "string",
"requestId": "string"
}Schema
errorstringrequiredcodestringnextstringrequestIdstringX-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_crawl_schedule
WWW-AuthenticatestringSame as 400 · POST /api/v1/tools/set_crawl_schedule
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_crawl_schedule
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_crawl_schedule
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_crawl_schedule
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerSame as 400 · POST /api/v1/tools/set_crawl_schedule
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-ResetintegerRetry-AfterintegerSame as 400 · POST /api/v1/tools/set_crawl_schedule
X-RateLimit-LimitintegerX-RateLimit-RemainingintegerX-RateLimit-Resetinteger