---
title: "Count the measured sites that match a filter across the kept days, with breakdowns and up to 10 sample rows (no names, no domains). Public, cached 10 minutes"
method: GET
path: "/api/datasets/preview"
---

# Count the measured sites that match a filter across the kept days, with breakdowns and up to 10 sample rows (no names, no domains). Public, cached 10 minutes

`GET /api/datasets/preview`

## Request

- Base URL: `https://crawlcheck.io`
- URL: `https://crawlcheck.io/api/datasets/preview`
- Auth: none required

## Query parameters

- `lane` 'saas' | 'gov' | 'local'
- `state` string
- `category` string
- `grade` string
- `platform` string
- `tech` string

## Response `200`

preview

- object, nullable
  - `ok` boolean, nullable
  - `kind` string, nullable
  - `v` number, nullable
  - `days` number, nullable
  - `files_read` number, nullable
  - `filters` object, nullable
    - `state` string, nullable
    - `category` string, nullable
    - `grade` string, nullable
    - `platform` string, nullable
    - `tech` string, nullable
  - `lanes` string[], nullable
  - `matched` number, nullable
  - `with_llms_txt` number, nullable
  - `blocking_ai_crawlers` number, nullable
  - `by` object, nullable
    - `state` array[], nullable
      - unknown[], nullable
        - unknown
    - `category` array[], nullable
      - unknown[], nullable
        - unknown
    - `grade` array[], nullable
      - unknown[], nullable
        - unknown
    - `platform` array[], nullable
      - unknown[], nullable
        - unknown
    - `tech` array[], nullable
      - unknown[], nullable
        - unknown
    - `lane` array[], nullable
      - unknown[], nullable
        - unknown
  - `sample` object[], nullable
    - `day` string, nullable
    - `lane` string, nullable
    - `state` string, nullable
    - `city` string, nullable
    - `category` string, nullable
    - `kind` string, nullable
    - `grade` string, nullable
    - `platform` string, nullable
    - `cms` string, nullable
    - `tech` string[], nullable
    - `llms_txt` boolean, nullable
    - `blocks_ai_crawlers` boolean, nullable
  - `note` string, nullable

---

[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)
