---
title: "Search the style guide"
method: GET
path: "/api/v1/style-guide/search"
tags: ["Style Guide"]
---

# Search the style guide

`GET /api/v1/style-guide/search`

## Request

- Base URL: `https://glossary.ethereum.org`
- URL: `https://glossary.ethereum.org/api/v1/style-guide/search`
- Auth: none declared
- TypeScript: <https://skmtc.dev/ethereum/apis/ethglossary-api/docs/api/v1/style-guide/search/get.ts> (a function with typed inputs; its response is checked against the schema)

Fuzzy search across terms, definitions, aliases, and avoid lists.

## Query parameters

- `q` string, required: Search query
- `limit` integer: Max results (default: 20)

## Response `200`

Search results

- SearchResult
  - `query` string, required
  - `results` object[], required
    - `id` string, required
    - `term` string, required
    - `matchedOn` 'term' | 'alias' | 'avoid' | 'definition' | 'morphological', required
    - `score` number, required

---

[API](https://skmtc.dev/ethereum/apis/ethglossary-api.md) - [All operations](https://skmtc.dev/ethereum/apis/ethglossary-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ethereum/apis/ethglossary-api/revisions/d0c021bf71fd?raw)
