---
title: "Query"
method: POST
path: "/api/v2/query"
tags: ["v2 · Agent-first crawler API"]
---

# Query

`POST /api/v2/query`

## Request

- Base URL: `https://smartcrawler.io` (the document declares no server; this is the origin it was published from)
- URL: `https://smartcrawler.io/api/v2/query`
- Auth: none declared

Query smart-crawler's warehouse before spending live scrape credits.

## Headers

- `authorization` string
- `X-API-Key` string

## Request body

- WarehouseQueryRequest
  - `query` string, required: Keyword/category/SKU query.
  - `site` string, nullable
  - `brand` string, nullable
  - `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent.md) · [All operations](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/revisions/a0eb313934e4?raw)
