---
title: "Search By Name"
method: GET
path: "/api/v1/fipe/search"
tags: ["FIPE API"]
---

# Search By Name

`GET /api/v1/fipe/search`

## Request

- Base URL: `https://pegarex.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://pegarex.com.br/api/v1/fipe/search`
- Auth: none declared

Find codes by brand/model text. The table is ~7,400 rows, so this scans — at that size
a scan beats maintaining a trigram index, and the cost is honest.

## Query parameters

- `q` string, required
- `limit` integer

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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