---
title: "Match against regexes"
method: GET
path: "/keywords/match"
---

# Match against regexes

`GET /keywords/match`

## Request

- Base URL: `http://api.kokocares.org`
- URL: `http://api.kokocares.org/keywords/match`
- Auth: HTTP basic

This endpoint allows for testing whether individual search queries would match against the keyword list. This is for testing purposes only and should not be used in a production environment.

## Query parameters

- `query` string, required
- `filter` string
- `version` string

## Headers

- `X-API-VERSION` string

## Response `200`

search results matching criteria

- KeywordQueryResponse
  - `filter` string, required
  - `query` string, required
  - `match` boolean, required
  - `version` string, required

## Other responses

- `403`: Unauthenticated

---

[API](https://skmtc.dev/kokocares/apis/koko-keywords-api.md) - [All operations](https://skmtc.dev/kokocares/apis/koko-keywords-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kokocares/apis/koko-keywords-api/revisions/ad6aeea9c746?raw)
