---
title: "筹码分布/成本"
method: GET
path: "/v1/chip"
tags: ["pro"]
---

# 筹码分布/成本

`GET /v1/chip`

## 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/chip`
- Auth: none declared

筹码分布与持仓成本（套牢盘/获利盘比例，判断抛压）。返回：筹码/成本分布/集中度/时段。`date` 可回看历史（`YYYY-MM-DD`，缺省=最新）。⚠️ **历史仅保留约近 1 年**（实测 2025-10-24 起；更早返回空 ⇒ `ok:false` 且不扣次数）。⚠️ **非交易日/未来日期会自动回退到最近交易日** —— 返回行的 `date` 才是实际日期，以它为准。⚠️ **仅沪深 A 股**（港股/美股不支持）；代码可传 `sh600667` 或裸 6 位 `600667`。

## Query parameters

- `code` string, required: 股票代码：sh600667 / 600667
- `date` string: 交易日 YYYY-MM-DD（默认最新）。非交易日自动回退到最近交易日，以返回的 date 为准

## 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)
