v1.0.0
OpenAPI 3.1.0

Free, keyless HTTP endpoints behind the AvocadoScore tools: check whether a site is ready for ChatGPT, Claude and Perplexity, see which AI crawlers it lets in, generate an llms.txt, run a full scan, and embed a live score badge. JSON in, JSON out. No account, no API key.

Quick start

curl -s https://avocadoscore.io/api/readiness \
  -H 'content-type: application/json' \
  -d '{"url":"example.com"}'

Good to know

  • Public sites only. We fetch the site from our servers, so private, internal and non-routable addresses are refused with 400.
  • Call it from a server. The endpoints send no CORS headers, so another site's browser JavaScript can't call them. (The Try it console on this page works because it runs on our own origin.) Badges are images and embed anywhere.
  • Rate limited per IP address, see the table below. Over a limit you get 429 with a Retry-After header (seconds). Limits count in fixed windows that start with your first request, and are shared across all our servers.
  • Errors are JSON, {"error": "…"}, with a reason when the site itself couldn't be read. Branch on the status code and reason, not on the message text.
  • Responses can gain fields. Ignore fields you don't recognise and don't depend on field order.
  • Fair use. Check sites you own or that are public. How our crawler behaves.
  • Need more volume, or a bulk run? Email hello@avocadoscore.io.

Limits

Endpoint Per IP Per domain
POST /api/readiness 30 / hour —
POST /api/bot-check 30 / hour —
POST /api/llms-generator 20 / hour —
POST /api/scans 5 / hour 3 / day

The status, summary and badge reads have no per-request limit of their own. Badges are cached at the edge, so embedding one is cheap.

Prefer a UI?

The same checks are available without code: the readiness checker, the AI bot checker, the llms.txt generator and a full scan. To see how sites compare, read the State of AI Readiness report.

Server:https://avocadoscore.io

Production

Client Libraries

Checks

​

Instant checks that answer in seconds, in one request. Use these to test a site’s AI readiness or crawler access, or to generate an llms.txt.

Check a site’s SEO and AI readiness

​

An instant check of a site's homepage: a 12-point SEO checklist and the AI-readiness checks (crawler access, llms.txt, structured data, server-rendered content and more), with the reason behind every result. It runs only the readiness analyzer, with no PageSpeed run, so it answers in seconds.

The result is also kept for 7 days so a comparison page can show the site without checking it again (see stored).

Rate limit: 30 requests per IP per hour.

Body·

required
application/json
  • The site to check. A bare domain (example.com) or a full URL; https:// is assumed when omitted. Only public websites are accepted.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/api/readiness
curl https://avocadoscore.io/api/readiness \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "example.com"
}'
{
  "url": "https://example.com",
  "domain": "example.com",
  "seo": {
    "score": 46,
    "passed": 5,
    "warned": 1,
    "failed": 6,
    "total": 12,
    "checks": [
      {
        "id": "https",
        "label": "HTTPS",
        "status": "pass",
        "detail": "Served over HTTPS"
      },
      {
        "id": "sitemap",
        "label": "Sitemap",
        "status": "fail",
        "detail": "No sitemap.xml found"
      },
      {
        "id": "robots",
        "label": "robots.txt",
        "status": "fail",
        "detail": "Missing"
      }
    ]
  },
  "ai": {
    "score": 61,
    "passed": 8,
    "warned": 6,
    "failed": 4,
    "total": 18,
    "checks": [
      {
        "id": "answer-bots",
        "label": "AI answer-engine access",
        "status": "pass",
        "detail": "No restrictions on any of the 5 search/citation crawlers (default-allowed)",
        "pillar": "access"
      },
      {
        "id": "markdown-negotiation",
        "label": "Markdown for agents (bonus)",
        "status": "warn",
        "detail": "No text/markdown variant — optional, but agents parse markdown more reliably than HTML",
        "bonus": true,
        "pillar": "comprehension"
      }
    ],
    "botPolicies": [
      {
        "bot": "GPTBot",
        "vendor": "OpenAI",
        "status": "unspecified",
        "kind": "training"
      },
      {
        "bot": "OAI-SearchBot",
        "vendor": "OpenAI",
        "status": "unspecified",
        "kind": "search"
      }
    ],
    "hasLlmsTxt": false,
    "hasLlmsFullTxt": false,
    "pillars": {
      "access": {
        "score": 100,
        "passed": 6,
        "warned": 0,
        "failed": 0,
        "total": 6
      },
      "comprehension": {
        "score": 40,
        "passed": 2,
        "warned": 4,
        "failed": 4,
        "total": 10
      },
      "trust": {
        "score": 50,
        "passed": 0,
        "warned": 2,
        "failed": 0,
        "total": 2
      }
    }
  },
  "stored": true
}

Check which AI crawlers a site lets in

​

Resolves every major AI crawler's robots.txt policy (using the RFC 9309 matching rules), and runs a live fetch of the homepage as GPTBot to show whether the content is actually served. robots.txt is intent; the live fetch is reality: a firewall can block a crawler that robots.txt allows.

Rate limit: 30 requests per IP per hour.

Body·

required
application/json
  • The site to check. A bare domain (example.com) or a full URL; https:// is assumed when omitted. Only public websites are accepted.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/api/bot-check
curl https://avocadoscore.io/api/bot-check \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "example.com"
}'
{
  "url": "https://example.com",
  "domain": "example.com",
  "robotsPresent": false,
  "rows": [
    {
      "id": "GPTBot",
      "vendor": "OpenAI",
      "product": "ChatGPT (training)",
      "kind": "training",
      "note": "Feeds the models behind ChatGPT. Block it to opt out of training.",
      "status": "unspecified"
    },
    {
      "id": "OAI-SearchBot",
      "vendor": "OpenAI",
      "product": "ChatGPT Search",
      "kind": "search",
      "note": "Indexes pages for ChatGPT Search results. Block it and you can’t be surfaced there.",
      "status": "unspecified"
    }
  ],
  "summary": {
    "allowed": 0,
    "blocked": 0,
    "partial": 0,
    "unspecified": 12,
    "total": 12
  },
  "live": {
    "bot": "GPTBot",
    "bytesAsBot": 125,
    "bytesAsBrowser": 125,
    "ratio": 1,
    "botBlocked": false,
    "status": "pass",
    "detail": "GPTBot sees 100% of the content a browser sees — essentially identical."
  }
}

Generate a starter llms.txt

​

Reads the site's sitemap and returns a starter llms.txt, with the URLs grouped into sections. content is the finished Markdown, ready to save as /llms.txt. A site with no sitemap and no homepage links to read returns 502.

Rate limit: 20 requests per IP per hour.

Body·

required
application/json
  • The site to check. A bare domain (example.com) or a full URL; https:// is assumed when omitted. Only public websites are accepted.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/api/llms-generator
curl https://avocadoscore.io/api/llms-generator \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "avocadoscore.io"
}'
{
  "url": "https://avocadoscore.io",
  "domain": "avocadoscore.io",
  "title": "avocadoscore.io",
  "description": "Auto-generated content map for avocadoscore.io.",
  "sections": [
    {
      "title": "Home",
      "links": [
        {
          "title": "Home",
          "url": "https://avocadoscore.io/"
        }
      ]
    },
    {
      "title": "Docs",
      "links": [
        {
          "title": "Guides",
          "url": "https://avocadoscore.io/guides"
        },
        {
          "title": "Ai Search Optimization",
          "url": "https://avocadoscore.io/guides/ai-search-optimization"
        }
      ]
    }
  ],
  "content": "# avocadoscore.io\n\n> Auto-generated content map for avocadoscore.io.\n\n## Home\n\n- [Home](https://avocadoscore.io/)\n\n## Docs\n\n- [Guides](https://avocadoscore.io/guides)\n- [Ai Search Optimization](https://avocadoscore.io/guides/ai-search-optimization)\n",
  "urlCount": 1020
}

Scans (Collapsed)

​

A full scan is the free report: up to 10 pages picked from the sitemap, Core Web Vitals plus SEO and AI readiness, with every fix. It runs in the background, so you create it, poll its status, then read the result. The finished report is a public page at /r/{id}.

Badges (Collapsed)

​

Embeddable SVG badges. /api/badge/{domain} is live (it always shows the domain’s latest result); /api/scans/{id}/badge is a snapshot of one scan.

Models