BizKitHub
DokumentationAPI-ExplorerVikitron/api/v1/vikitron/crawl-start
postVikitronÖffentliche API v1

/api/v1/vikitron/crawl-start

Idempotently 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.

vikitronpostApiV1VikitronCrawl-start

Parameter

JSON-Body

Request-Body

application/json
domainstringPflicht

Domain name (or subdomain) to crawl.

Länge: 4–∞
Beispielexample.com

Antwortschema

1 dokumentierter Statuscode

200ErfolgCrawl start result.
domainstringPflicht

Normalised hostname being crawled (may differ from input after homepage redirects).

domainIdstringPflicht

Opaque domain identifier (use for the status endpoint).

inputHoststringPflicht

Hostname the caller submitted, after normalisation.

redirectedbooleanPflicht

True when the homepage probe followed a same-apex redirect chain.

redirectChainobject[]Pflicht

Same-apex redirect chain followed at start (empty when no redirect).

Jedes Array-Element:
fromstringPflicht

Hostname before this hop.

tostringPflicht

Hostname after this hop.

httpCodenumberPflicht

HTTP status code that produced this hop.

state"queued" | "running" | "completed"Pflicht

Current crawl state.

startedbooleanPflicht

Whether this call actually started a new crawl.

messagestringPflicht

Human-readable summary of the action taken.

countsobjectPflicht
pendingnumberPflicht

URLs waiting to be fetched.

runningnumberPflicht

URLs currently being fetched.

oknumberPflicht

Successfully fetched URLs (2xx).

errornumberPflicht

URLs that failed to fetch.

redirectnumberPflicht

URLs that returned a 3xx redirect.

skippednumberPflicht

URLs explicitly skipped (e.g. disallowed by robots.txt).

totalnumberPflicht

Total URLs discovered so far.

crawlBudgetnumberPflicht

Maximum number of URLs the crawler will fetch for this domain.

Antwortbeispiel

application/json
{
  "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
}

Anfragebeispiel

POST /api/v1/vikitron/crawl-start

post
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"
}'

Sie brauchen einen API-Schlüssel?

Alle öffentlichen Endpunkte der BizKitHub-API authentifizieren per API-Schlüssel.

API-Schlüssel erhalten