---
title: "List classification rules"
method: GET
path: "/classify/rules"
tags: ["Classification"]
---

# List classification rules

`GET /classify/rules`

## Request

- Base URL: `https://frontrun.vc/v1`
- URL: `https://frontrun.vc/v1/classify/rules`
- Auth: API key in header `X-API-Key`

List your active classification rules, including per-rule match counts. Free, costs 0 credits.

## Response `200`

Active rules.

- object
  - `count` integer
  - `rules` ClassificationRule[]
    - `id` string: Rule ID.
    - `name` string
    - `conditions` object
      - `bio_keywords` string[]: Match if the bio contains any of these keywords.
      - `username_pattern` string: Regex tested against the username (max 100 chars, no nested quantifiers).
      - `sector_contains` string: Match if the classified sector contains this substring.
      - `must_be_company` boolean: Require (true) or exclude (false) company-classified entities.
    - `actions` object
      - `custom_sector` string
      - `custom_entity_type` string
      - `tags` string[]
      - `priority` string
    - `active` boolean
    - `match_count` integer
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `401`: Missing, invalid, inactive, or expired API key.
- `402`: Insufficient credits for this operation. Top up from the developer page or enable auto-refill.
- `429`: Rate limit or daily credit cap reached. Retry after the indicated reset time.

---

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