Parametry
2 w query
Parametry query
· 2domainstringWymaganeDomain name to check.
example.comforcestringOpcjonalneSet to "true" to bypass the cache and trigger a fresh fetch.
trueReturns 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).
2 w query
domainstringWymaganeDomain name to check.
example.comforcestringOpcjonalneSet to "true" to bypass the cache and trigger a fresh fetch.
true1 udokumentowany kod statusu
recordsobject[]WymaganeVersion history of robots.txt snapshots (newest first).
idstringWymaganeHashed version identifier.
contentstringWymaganeRaw robots.txt content.
httpCodenumberWymaganeHTTP status code when fetching robots.txt.
200404firstSeenDate | string | string | numberWymaganeWhen this version was first observed.
When this version was first observed.
updatedDateDate | string | string | numberWymaganeWhen this version was last confirmed.
When this version was last confirmed.
{
"records": [
{
"id": "example_id",
"content": "example_content",
"httpCode": 200
}
]
}GET /api/v1/vikitron/robots-txt-checker
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"Wszystkie publiczne endpointy BizKitHub API uwierzytelniają się kluczem API.