AY Rank AI crawler access API

Check whether GPTBot, ClaudeBot, PerplexityBot and Google-Extended may crawl a site under its robots.txt.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /api/v1/ai-crawler-access-checker Check if GPTBot, ClaudeBot, PerplexityBot and Google-Extended may crawl a site #
POST /api/v1/ai-crawler-access-checker Check if GPTBot, ClaudeBot, PerplexityBot and Google-Extended may crawl a site #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ayrank-com:ayrank-com-ai-crawler-access-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ayrank-com-ai-crawler-access-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AY Rank Free Tools AI crawler access API
  version: 1.0.0
  summary: Free JSON API for AY Rank SEO and GEO tools.
  description: 'Public JSON versions of the free tools at https://www.ayrank.com/tools. Every endpoint takes GET with query parameters or POST with a JSON body (max 32768 bytes). Free, no key. Rate limit: 30 requests per 60 seconds per IP, shared across all /api/v1 tools. Each success response includes a poweredBy link back to the tool page.'
  termsOfService: https://www.ayrank.com/terms
  contact:
    name: AY Rank
    url: https://www.ayrank.com
servers:
- url: https://www.ayrank.com
tags:
- name: AI crawler access
  description: Check whether GPTBot, ClaudeBot, PerplexityBot and Google-Extended may crawl a site under its robots.txt.
paths:
  /api/v1/ai-crawler-access-checker:
    get:
      tags:
      - AI crawler access
      summary: Check if GPTBot, ClaudeBot, PerplexityBot and Google-Extended may crawl a site
      description: 'Reads the domain''s homepage (head only, 512 KB cap, up to 4 redirects) and /robots.txt on the homepage''s final host (up to 5 redirects, first 500 KiB). For each of GPTBot, ClaudeBot, PerplexityBot, Google-Extended: allowed or blocked for the homepage path under RFC 9309 (named group or else the * group, longest match, Allow wins a tie; a 4xx robots.txt allows everything, a 5xx or no answer blocks everything), the deciding line, and the homepage''s meta robots and X-Robots-Tag rules that apply to all robots or name the bot. Google-Extended is a robots.txt token only, so it gets no page rules. Requests use an AY Rank user agent, never the bots'' own, so CDN or firewall rules that only fire for the real bot are not visible. Public http(s) hosts on ports 80 and 443 only; a blocked or invalid domain returns 400. Free, no key. Rate limit: 30 requests per 60 seconds per IP, shared across all /api/v1 tools.'
      externalDocs:
        description: Use the tool in a browser
        url: https://www.ayrank.com/tools/ai-crawler-access-checker
      operationId: aiCrawlerAccessCheckerGet
      parameters:
      - name: domain
        in: query
        required: true
        description: The site to check, like example.com. A full URL works too; only its host is used.
        schema:
          type: string
      responses:
        '200':
          description: Result
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiCrawlerAccessCheckerResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
    post:
      tags:
      - AI crawler access
      summary: Check if GPTBot, ClaudeBot, PerplexityBot and Google-Extended may crawl a site
      description: 'Reads the domain''s homepage (head only, 512 KB cap, up to 4 redirects) and /robots.txt on the homepage''s final host (up to 5 redirects, first 500 KiB). For each of GPTBot, ClaudeBot, PerplexityBot, Google-Extended: allowed or blocked for the homepage path under RFC 9309 (named group or else the * group, longest match, Allow wins a tie; a 4xx robots.txt allows everything, a 5xx or no answer blocks everything), the deciding line, and the homepage''s meta robots and X-Robots-Tag rules that apply to all robots or name the bot. Google-Extended is a robots.txt token only, so it gets no page rules. Requests use an AY Rank user agent, never the bots'' own, so CDN or firewall rules that only fire for the real bot are not visible. Public http(s) hosts on ports 80 and 443 only; a blocked or invalid domain returns 400. Free, no key. Rate limit: 30 requests per 60 seconds per IP, shared across all /api/v1 tools.'
      externalDocs:
        description: Use the tool in a browser
        url: https://www.ayrank.com/tools/ai-crawler-access-checker
      operationId: aiCrawlerAccessCheckerPost
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AiCrawlerAccessCheckerRequest'
      responses:
        '200':
          description: Result
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiCrawlerAccessCheckerResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  headers:
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Seconds until the window resets.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests left in the current window.
      schema:
        type: integer
    X-RateLimit-Limit:
      description: Requests allowed per window.
      schema:
        type: integer
  responses:
    BadRequest:
      description: 'Invalid input: unknown field, wrong type, missing required field, value too long, or bad JSON.'
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit hit. Wait Retry-After seconds.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
        Retry-After:
          $ref: '#/components/headers/Retry-After'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
      - error
      - docs
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              enum:
              - invalid_input
              - rate_limited
            message:
              type: string
        docs:
          type: string
          format: uri
    AiCrawlerAccessCheckerRequest:
      type: object
      required:
      - domain
      additionalProperties: false
      properties:
        domain:
          type: string
          maxLength: 300
          description: The site to check, like example.com.
      examples:
      - domain: example.com
    PoweredBy:
      type: object
      required:
      - text
      - url
      properties:
        text:
          type: string
          const: Powered by AY Rank
        url:
          type: string
          format: uri
    AiCrawlerAccessCheckerResponse:
      type: object
      required:
      - domain
      - homepage
      - robots
      - path
      - report
      - robotsTxt
      - checkedAt
      - poweredBy
      properties:
        domain:
          type: string
        homepage:
          type: object
          description: url, finalUrl after redirects (null when it did not answer), status, readable (2xx) and xRobotsTag lines.
        robots:
          type: object
          description: url, finalUrl, status (null when the site did not answer), redirects, tooManyRedirects and found.
        path:
          type: string
          description: The homepage path robots.txt rules were matched against.
        report:
          type: object
          description: 'bots: one entry per bot with token, vendor, kind (training, search or gemini-control), doc { title, url }, robotsOnly, allowed, reason (rule, no-rule-matched, no-group, empty-file, file-unavailable, file-unreachable or too-many-redirects), line { line, text } of the deciding line, via (named or wildcard), agentLines, pageRules [{ source, scope, rule, value, raw }] and pageStops (a noindex, none or nofollow rule applies). Also allowedCount, blockedCount, robotsIsHtml, truncated and groupCount.'
        robotsTxt:
          type:
          - string
          - 'null'
          description: The robots.txt body read (2xx only), up to 500 KiB.
        checkedAt:
          type: string
          format: date-time
        poweredBy:
          $ref: '#/components/schemas/PoweredBy'