BizKitHub
DokumentacjaEksplorator APIVikitron/api/v1/vikitron/robots-txt-checker
getVikitronPubliczne 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 w query

Parametry query

· 2
domainstringWymagane

Domain name to check.

Przykładexample.com
forcestringOpcjonalne

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

Przykładtrue

Schemat odpowiedzi

1 udokumentowany kod statusu

200SukcesRobots.txt version history.
recordsobject[]Wymagane

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

Każdy element tablicy:
idstringWymagane

Hashed version identifier.

contentstringWymagane

Raw robots.txt content.

httpCodenumberWymagane

HTTP status code when fetching robots.txt.

Przykłady200404
firstSeenDate | string | string | numberWymagane

When this version was first observed.

Jedna z 4 opcji:
Wariant 1
Date

When this version was first observed.

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number
updatedDateDate | string | string | numberWymagane

When this version was last confirmed.

Jedna z 4 opcji:
Wariant 1
Date

When this version was last confirmed.

Wariant 2
stringdate-time
Wariant 3
stringdate
Wariant 4
number

Przykład odpowiedzi

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

Przykład żądania

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"

Potrzebujesz klucza API?

Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.

Uzyskaj klucz API