> Source: https://ashareapi.com/en/docs/endpoints/evidence/  ·  Markdown version for LLMs / AI agents

Pro endpoint · Pro

# 财经多源取证（公告 + 资讯 · 带证据指纹） API
 一次查询，多源取证：同时检索巨潮公告（沪深两市，官方一手）与东方财富资讯，归一成同一张表，并把转载去重。

data 行字段：source（cninfo 公告 / eastmoney 资讯）/ kind（notice / news）/ title / url / date / code / name / media / authority（1.0 官方 · 0.5 门户）/ also_on（同一消息的其它转载，去重后归到这里）。
每行还带证据三件套：cit_endpoint（数据接口）/ cit_field_path（取值路径）/ cit_value_hash（值指纹）/ cit_retrieved_at —— 拿这三样就能独立复现并核对这条结果。
顶层 meta：trace（每步用了哪个源、耗时、状态）/ counts（各源命中数）/ related。

⭐ 它解决什么：搜「宁德时代」，公告和新闻一次拿到，而不是自己在两个站翻；同一条消息被多家转载时只出现一次，转载方收在 also_on 里。
⚠️ 公告比新闻权威：authority 1.0 vs 0.5；返回按「源平分名额」而非纯按时间，否则公告会被当日新闻全挤掉。
⚠️ 公告返回的是PDF 链接（巨潮原始披露），资讯返回的是原文链接。
⚠️ 结果缓存 5 分钟；scope 可选 notice / news（默认两者都要）。
 Pro `GET /v1/evidence`
 Signature
```
GET /v1/evidence?q=%E5%A4%AA%E6%9E%81%E5%AE%9E%E4%B8%9A&scope=notice%2Cnews
```
 One-liner

```
curl "https://api.ashareapi.com/v1/evidence?q=%E5%A4%AA%E6%9E%81%E5%AE%9E%E4%B8%9A&scope=notice%2Cnews&key=YOUR_KEY"
```
 Parameters: `q * · scope · limit` * = required

## Quick start
 Replace the key below with yours (free endpoints need no key):
 curl

```
# 注：q / scope 的值已做 URL 编码（含 [ ] 空格 等）
# 推荐：Authorization 头（密钥不进日志）
curl -H "Authorization: Bearer YOUR_KEY" \
 "https://api.ashareapi.com/v1/evidence?q=%E5%A4%AA%E6%9E%81%E5%AE%9E%E4%B8%9A&scope=notice%2Cnews"

# 快速测试：直接浏览器打开（?key= 会留在日志/历史里，别用于生产）
curl "https://api.ashareapi.com/v1/evidence?q=%E5%A4%AA%E6%9E%81%E5%AE%9E%E4%B8%9A&scope=notice%2Cnews&key=YOUR_KEY"
```
 Python

```
import requests

r = requests.get(
 "https://api.ashareapi.com/v1/evidence",
 headers={"Authorization": "Bearer YOUR_KEY"},
 params={"q": "太极实业"},
 timeout=30,
)
print(r.json())
```
 JavaScript

```
const r = await fetch("https://api.ashareapi.com/v1/evidence?q=%E5%A4%AA%E6%9E%81%E5%AE%9E%E4%B8%9A&scope=notice%2Cnews", {
 headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());
```

## Parameters
 |
| | Parameter | Type | Required | Description

| | q | string | Yes | Keyword: a stock name (Chinese works) or a code

| | scope | string | No | 范围：notice 公告 / news 资讯，逗号分隔

| | limit | integer | No | Number of rows, default 30

 `q` string Yes
 Keyword: a stock name (Chinese works) or a code

 `scope` string
 范围：notice 公告 / news 资讯，逗号分隔

 `limit` integer
 Number of rows, default 30

 Response
 Unified envelope: `{ ok, endpoint, tier, elapsed_ms, source, data }`
 Rows live in `data`; when upstream returns nothing you get `ok:false` and **the call is not counted**.

 Rate limits & quota
 Free endpoints need no key (anonymous 5/min — 250 bars per request, 100k rows per day; solve one PoW challenge for 15/min). Paid tiers: Trial 30 · Standard 120 · Pro 300 · Unlimited 600 per minute; buyout packs are capped by total calls and never expire.
[See the error code table →](/en/docs/errors)

## FAQ

### General (applies to every endpoint)
 Do these endpoints need an API key?
 **Free endpoints do not**: health, challenge, quote, kline, hot, market-overview and changedist work anonymously. **Paid endpoints do**: send `Authorization: Bearer `. ⚠️ The anonymous allowance is **tiered by caller type**: browsers (humans) get **5/min**; scripts, SDKs and AI Agents (curl, requests, axios, openai user-agent strings) get **2/min** — automated traffic is easier to abuse. Solving one PoW challenge (`GET /v1/challenge`, then send the `X-PoW` header) raises it to **15/min** regardless of type. ⚠️ Also, anonymous calls are capped at **250 bars per request and 100k rows per day** — use an API key for the full 1212 bars or unlimited daily volume.

 Am I charged when the upstream returns nothing or errors?
 **No.** When the upstream fails or returns nothing you get `ok:false` and the charge for that call is **refunded** (total_calls / usage_log / ep_log are rolled back together). Only calls that actually returned data count.

 How fresh is the data?
 Quotes (quote / kline / orderbook / changedist) are **real-time or current session**; financials, shareholders, dividends and events are **within T+1 of upstream disclosure**. The `source` field in every response tells you which data channel actually served it.

 Can I request several stocks in one call?
 **No.** `code` is a single-value parameter — one stock per call. For batches, issue concurrent calls and respect your tier per-minute limit.

 How do I use this from Claude / Cursor / ChatGPT?
 Set up MCP once, then just ask the AI — it calls the endpoint itself. MCP exposes 39 tools covering quotes, financials, screening, sectors and macro.

## Related endpoints
 [Full-history K-line (10y daily · raw + adjustment factors)](/en/docs/endpoints/kline-full)[Whole-market single-day K-line (all A-shares, 5,000+ in one call)](/en/docs/endpoints/market-kline)[Quant backtest (single-stock live / portfolio precomputed)](/en/docs/endpoints/backtest)[Quant strategy list (20 single-stock + 9 portfolio, with measured performance)](/en/docs/endpoints/strategies)[IP allow-list (lock a key to fixed IPs)](/en/docs/endpoints/ip-whitelist)[Batch backtest (many stocks × many strategies)](/en/docs/endpoints/backtest-batch)[Quant factor library (88 factors + 22 presets)](/en/docs/endpoints/factors)[Quant playbook library (how to judge the market · 25 playbooks)](/en/docs/endpoints/playbooks)

 Use it from an AI Agent?
 Set up MCP once, then just ask the AI — it calls the endpoint itself.

 [MCP setup](/en/mcp)[Pricing](/en/pricing)

 [← Back to the full endpoint reference](/en/endpoints)
