Parametry
Treść JSON
Treść żądania
application/jsondomainstringWymaganeDomain 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.
Treść JSON
domainstringWymaganeDomain name (or subdomain) to crawl.
example.com1 udokumentowany kod statusu
domainstringWymaganeNormalised hostname being crawled (may differ from input after homepage redirects).
domainIdstringWymaganeOpaque domain identifier (use for the status endpoint).
inputHoststringWymaganeHostname the caller submitted, after normalisation.
redirectedbooleanWymaganeTrue when the homepage probe followed a same-apex redirect chain.
redirectChainobject[]WymaganeSame-apex redirect chain followed at start (empty when no redirect).
fromstringWymaganeHostname before this hop.
tostringWymaganeHostname after this hop.
httpCodenumberWymaganeHTTP status code that produced this hop.
state"queued" | "running" | "completed"WymaganeCurrent crawl state.
startedbooleanWymaganeWhether this call actually started a new crawl.
messagestringWymaganeHuman-readable summary of the action taken.
countsobjectWymaganependingnumberWymaganeURLs waiting to be fetched.
runningnumberWymaganeURLs currently being fetched.
oknumberWymaganeSuccessfully fetched URLs (2xx).
errornumberWymaganeURLs that failed to fetch.
redirectnumberWymaganeURLs that returned a 3xx redirect.
skippednumberWymaganeURLs explicitly skipped (e.g. disallowed by robots.txt).
totalnumberWymaganeTotal URLs discovered so far.
crawlBudgetnumberWymaganeMaximum 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"
}'Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.