---
title: "股票搜索（模糊词消歧）"
method: GET
path: "/v1/search"
tags: ["pro"]
---

# 股票搜索（模糊词消歧）

`GET /v1/search`

## Request

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

按名称/代码搜索股票、基金、板块。用户只给名称时**先用这个确认代码**。

## Query parameters

- `q` string, required: 关键词：'太极实业' 或 '600667'

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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