Parametre
JSON telo
Telo požiadavky
application/jsondomainstringPovinnéDomain name (or subdomain) to crawl.
example.comIdempotently registers a domain as a crawl target and kicks off an immediate crawl. Will not start a second crawl while one is in progress and will not re-run a finished crawl.
JSON telo
domainstringPovinnéDomain name (or subdomain) to crawl.
example.com1 zdokumentovaný stavový kód
domainstringPovinnéNormalised hostname being crawled (may differ from input after homepage redirects).
domainIdstringPovinnéOpaque domain identifier (use for the status endpoint).
inputHoststringPovinnéHostname the caller submitted, after normalisation.
redirectedbooleanPovinnéTrue when the homepage probe followed a same-apex redirect chain.
redirectChainobject[]PovinnéSame-apex redirect chain followed at start (empty when no redirect).
fromstringPovinnéHostname before this hop.
tostringPovinnéHostname after this hop.
httpCodenumberPovinnéHTTP status code that produced this hop.
state"queued" | "running" | "completed"PovinnéCurrent crawl state.
startedbooleanPovinnéWhether this call actually started a new crawl.
messagestringPovinnéHuman-readable summary of the action taken.
countsobjectPovinnépendingnumberPovinnéURLs waiting to be fetched.
runningnumberPovinnéURLs currently being fetched.
oknumberPovinnéSuccessfully fetched URLs (2xx).
errornumberPovinnéURLs that failed to fetch.
redirectnumberPovinnéURLs that returned a 3xx redirect.
skippednumberPovinnéURLs explicitly skipped (e.g. disallowed by robots.txt).
totalnumberPovinnéTotal URLs discovered so far.
crawlBudgetnumberPovinnéMaximum number of URLs the crawler will fetch for this domain.
{
"domain": "example_domain",
"domainId": "example_domainId",
"inputHost": "example_inputHost",
"redirected": false,
"redirectChain": [
{
"from": "example_from",
"to": "example_to",
"httpCode": 0
}
],
"started": false,
"message": "example_message",
"counts": {
"pending": 0,
"running": 0,
"ok": 0,
"error": 0,
"redirect": 0,
"skipped": 0,
"total": 0
},
"crawlBudget": 0
}POST /api/v1/vikitron/crawl-start
curl -X POST "https://api.bizkithub.com/api/v1/vikitron/crawl-start" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"domain": "example.com"
}'Všetky verejné endpointy BizKitHub API sa overujú API kľúčom.