---
title: "Draft an llms.txt from the domain's own homepage and up to 25 declared pages, using their titles and descriptions. A draft, not a publication"
method: GET
path: "/api/tool/llms"
---

# Draft an llms.txt from the domain's own homepage and up to 25 declared pages, using their titles and descriptions. A draft, not a publication

`GET /api/tool/llms`

## Request

- Base URL: `https://crawlcheck.io`
- URL: `https://crawlcheck.io/api/tool/llms`
- Auth: one of:
  - API key in header `x-crawlcheck-key`
  - none

## Query parameters

- `domain` string, required
- `format` 'json' | 'txt'

## Response `200`

text plus how many pages were declared, read and carried their own description; text/plain when format=txt

- object, nullable
  - `ok` boolean, nullable
  - `domain` string, nullable
  - `site` string, nullable
  - `description` string, nullable
  - `sitemap_declared` number, nullable
  - `pages_read` number, nullable
  - `pages_with_description` number, nullable
  - `text` unknown
  - `at` string, nullable
  - `note` string, nullable

## Other responses

- `400`: No domain

---

[API](https://skmtc.dev/crawlcheck/apis/crawlcheck-api.md) · [All operations](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/revisions/57acbd6d4489?raw)
