Skip to content
Website API / Bot traffic

Get crawler rules

GEThttps://<your Reveata origin>/api/v1/websites/{website}/bots/rules

Allow and block rules per crawler, and the robots.txt they produce.

Related: Bot traffic report and Replace crawler rules in Bot traffic.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

Headers

Authorizationstringrequired

Bearer followed by a site key, an account token or an OAuth access token with the analytics:read scope.

Response

Rules.

{
  "status": "string",
  "data": {
    "rules": [
      {
        "token": "string",
        "rule": "allow"
      }
    ],
    "robotsTxt": "string"
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.rulesobject[]
data.rules[].tokenstring
data.rules[].rulestring
data.robotsTxtstring