BizKitHub
DokumentacePrůzkumník APIVikitron/api/v1/vikitron/robots-txt-checker
getVikitronVeřejné API v1

/api/v1/vikitron/robots-txt-checker

Returns the version history of robots.txt snapshots for the given domain. Cached responses (5 min fresh + 1 h SWR) skip the outbound HTTP request — refresh cadence is driven by scout. If no snapshots exist yet OR ?force=true is passed, a fresh fetch is triggered before returning results (uncached).

vikitrongetApiV1VikitronRobots-txt-checker

Parametry

2 v query

Parametry v query

· 2
domainstringPovinné

Domain name to check.

Příkladexample.com
forcestringVolitelné

Set to "true" to bypass the cache and trigger a fresh fetch.

Příkladtrue

Schéma odpovědi

1 zdokumentovaný stavový kód

200ÚspěchRobots.txt version history.
recordsobject[]Povinné

Version history of robots.txt snapshots (newest first).

Každá položka pole:
idstringPovinné

Hashed version identifier.

contentstringPovinné

Raw robots.txt content.

httpCodenumberPovinné

HTTP status code when fetching robots.txt.

Příklady200404
firstSeenDate | string | string | numberPovinné

When this version was first observed.

Jedna z 4 možností:
Varianta 1
Date

When this version was first observed.

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number
updatedDateDate | string | string | numberPovinné

When this version was last confirmed.

Jedna z 4 možností:
Varianta 1
Date

When this version was last confirmed.

Varianta 2
stringdate-time
Varianta 3
stringdate
Varianta 4
number

Ukázka odpovědi

application/json
{
  "records": [
    {
      "id": "example_id",
      "content": "example_content",
      "httpCode": 200
    }
  ]
}

Ukázka požadavku

GET /api/v1/vikitron/robots-txt-checker

get
curl -X GET "https://api.bizkithub.com/api/v1/vikitron/robots-txt-checker?domain=example.com&force=true" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Potřebujete API klíč?

Všechny veřejné endpointy BizKitHub API se ověřují API klíčem.

Získat API klíč