AI 数据通道:JSON·Markdown

每条 API 经实测验证(2026-06-25),国内直连可用。不可用的一律不收。从 GitHub 仓库中直接拿接口,不只列仓库链接。


金融行情 #

API请求示例说明
腾讯财经https://qt.gtimg.cn/q=hf_GC无需 Key,浏览器端可用,支持批量 q=hf_GC,hf_SI
新浪财经https://hq.sinajs.cn/list=hf_GC需 Referer 头,仅服务端可用
TwelveDatahttps://api.twelvedata.com/price?symbol=XAU/USD&apikey=KEY免费注册 800 次/天,有 ClawHub 技能
SEC EDGARhttps://data.sec.gov/submissions/CIK0000320193.json美国上市公司年报/财报,无需 Key
Econdbhttps://www.econdb.com/api/series/全球宏观经济数据,需免费注册

腾讯品种代码hf_GC 黄金 · hf_SI 白银 · hf_CL 原油 · sh000001 上证 · sz399001 深成 · hkHSI 恒生

腾讯返回字段(逗号分隔):[0]当前价 [1]涨跌额 [4]最高 [5]最低 [6]时间 [7]开盘 [8]昨结 [12]日期 [13]品名

以上来自 public-apis/public-apis ★444K Finance 分类


天气 #

API请求示例说明
Open-Meteohttps://api.open-meteo.com/v1/forecast?latitude=39.9&longitude=116.4&current=temperature_2m全球天气预报,无需 Key,CORS ✅
wttr.inhttps://wttr.in/Beijing?format=j1终端天气,支持 JSON,无需 Key,CORS ✅
US Weatherhttps://api.weather.gov/points/39.7,-104.9美国国家气象局,无需 Key,CORS ✅

以上来自 public-apis/public-apis ★444K Weather 分类


地理与 IP 定位 #

API请求示例说明
REST Countrieshttps://restcountries.com/v3.1/all?fields=name,capital国家信息(首都/货币/语言/国旗),无需 Key,CORS ✅
ip-api.comhttp://ip-api.com/json/1.1.1.1IP 地理定位,无需 Key,仅 HTTP
GeoJShttps://get.geojs.io/v1/ip/geo.jsonIP 地理定位,无需 Key,CORS ✅
Nominatimhttps://nominatim.openstreetmap.org/search?q=beijing&format=json&limit=1OpenStreetMap 地理编码/逆地理编码,无需 Key
OnWaterhttps://api.onwater.io/api/v1/results/40.7,-74.0判断经纬度是否在水上,无需 Key
Open Topo Datahttps://api.opentopodata.org/v1/srtm90m?locations=39.9,116.4海拔/海洋深度查询,无需 Key

以上来自 public-apis/public-apis ★444K Geocoding 分类


学术与医疗 #

API请求示例说明
OpenAlexhttps://api.openalex.org/works?search=brain+rehabilitation2.5 亿篇论文,无需 Key,RAG 采集首选
NCBI PubMedhttps://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=brain+injury生物医学文献权威,无 Key 3 次/秒
Wikidatahttps://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q42&format=json知识图谱,支持 SPARQL,无需 Key
FDA openfdahttps://api.fda.gov/drug/event.json?limit=5药品不良事件/标签/召回,无 Key 1000 次/天
Open Diseasehttps://disease.sh/v3/covid-19/allCOVID-19 和流感实时数据,无需 Key
Clinical Trialshttps://trials.starfile.org/api临床试验数据,按疾病/赞助者索引,无需 Key

以上来自 public-apis/public-apis ★444K Health 分类


航天 #

API请求示例说明
NASAhttps://api.nasa.gov/planetary/apod?api_key=DEMO_KEY天文一图/火星照片/小行星,DEMO_KEY 可用
Spaceflight Newshttps://api.spaceflightnewsapi.net/v4/articles/?limit=5全球航天新闻聚合,无需 Key

新闻 #

API请求示例说明
Noozrahttps://noozra.com/api200+ RSS 源新闻标题,无需 Key,CORS ✅

以上来自 public-apis/public-apis ★444K News 分类


开放数据 #

API请求示例说明
Wikipediahttps://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=brain&format=json维基百科全文搜索,无需 Key
Archive.orghttps://archive.org/wayback/available?url=example.com互联网档案馆 Wayback Machine,无需 Key
Nobel Prizehttps://api.nobelprize.org/v1/prize.json?limit=1诺贝尔奖数据,无需 Key
Universitieshttps://raw.githubusercontent.com/Hipo/university-domains-list/master/world_universities_and_domains.json全球大学域名列表,无需 Key
Statistics Worldhttps://statisticsoftheworld.com/api/v1/countries?limit=1218 国经济数据(GDP/人口/通胀),无需 Key
Microlink.iohttps://api.microlink.io/?url=https://example.com从任意 URL 提取结构化数据,无需 Key,CORS ✅

以上来自 public-apis/public-apis ★444K Open Data 分类


测试数据 #

API请求示例说明
JSONPlaceholderhttps://jsonplaceholder.typicode.com/posts/1假 REST API(posts/users/comments/todos),无需 Key
DummyJSONhttps://dummyjson.com/products/1假数据(产品/用户/帖子/评论),无需 Key,CORS ✅
RandomUserhttps://randomuser.me/api/?results=1随机用户数据生成,无需 Key
RoboHashhttps://robohash.org/test.png随机头像生成,无需 Key
Yes Nohttps://yesno.wtf/api随机返回 yes/no/maybe(含 GIF),无需 Key

以上来自 public-apis/public-apis ★444K Test Data 分类


机器学习 #

API请求示例说明
Jina AIhttps://api.jina.ai/v1/embeddings免费 Embedding/Reranking API,需 Key

以上来自 public-apis/public-apis ★444K Machine Learning 分类


免费 LLM API #

free-llm-api-resources ★24K 和 awesome-free-llm-apis ★5K 两个仓库直接提取,经国内可达性验证。

所有 API 均兼容 OpenAI SDK 格式,切换 base_url 即可。

无需注册 #

APIBase URL免费模型限制
LLM7.iohttps://api.llm7.io/v1DeepSeek-R1, DeepSeek-V3, GPT-4o-mini, Gemini 2.5 Flash Lite30 RPM(有 Token 120 RPM)

注册即用(免费额度) #

APIBase URL模型免费额度
OpenRouterhttps://openrouter.ai/api/v1Llama 3.3 70B, Qwen3 Coder, GPT-OSS 120B 等 20+ 免费模型50 req/天(充 $10 终身提至 1000/天)
GitHub Modelshttps://models.github.ai/inferenceGPT-5, GPT-4.1, o4-mini, DeepSeek-R1, Llama 4 等 45+ 模型10-15 RPM, 50-150 req/天
Cloudflare Workers AIhttps://api.cloudflare.com/client/v4/accounts/{id}/ai/runLlama 3.3 70B, GPT-OSS 120B, GLM-4.7-Flash, DeepSeek R1 等 50+ 模型10K neurons/天
Groqhttps://api.groq.com/openai/v1Llama 3.3 70B, Llama 4 Scout, Qwen3-32B, GPT-OSS 120B30 RPM, 1000 req/天
Cerebrashttps://api.cerebras.ai/v1GPT-OSS 120B, GLM-4.7(超快推理 ~2600 tok/s)30 RPM, 14,400 req/天, 1M tokens/天
Coherehttps://api.cohere.com/v2Command A+ (218B), Command A, Command R20 RPM, 1000 calls/月
智谱 AI (Z AI)https://open.bigmodel.cn/api/paas/v4GLM-4.7-Flash (200K context), GLM-4.6V-Flash (图文)永久免费,1 并发
NVIDIA NIMhttps://integrate.api.nvidia.com/v1各种开源模型40 RPM
Kilo Codehttps://api.kilo.ai/api/gatewayGrok Code Fast, Minimax M2.5, Nemotron 3 Super 120B~200 req/时

有试用额度 #

API信用额度模型
Fireworks$1各种开源模型
Baseten$30按计算时间计费
Nebius$1各种开源模型
Novita$0.5 (1 年)各种开源模型
AI21$10 (3 个月)Jamba 系列
Modal$5/月按计算时间计费
SambaNova Cloud$5 (3 个月)DeepSeek V3.1, Llama 3.3 70B
Scaleway1M tokensLlama 3.3 70B, Qwen3 Coder, Mistral 等

不可用:Google AI Studio(超时)· Mistral(超时)· HuggingFace(超时)


国产 LLM API #

均兼容 OpenAI API 格式。

API域名免费模型
智谱 AIopen.bigmodel.cnGLM-4-Flash 永久免费GLM-4 / GLM-4-Flash
DeepSeekapi.deepseek.com新用户赠 TokenDeepSeek-V3 / R1
Moonshotapi.moonshot.cn新用户赠 TokenMoonshot-v1(128K)
通义千问dashscope.aliyuncs.com新用户赠 TokenQwen-Plus / Qwen-Turbo

AI Agent 技能生态 #


GitHub 公开 API 汇总仓库 #

以下仓库持续更新,更多分类的 API 直接去看。

综合 #

LLM 专项 #

金融 / 医疗 #


避坑 #

  • User-Agent:调用学术 API 带上 User-Agent: MyProject/1.0 (mailto:you@email.com),避免被限流封禁
  • Referer:新浪财经需 Referer,浏览器端不可用,改用腾讯
  • 限流:PubMed 无 Key 3 次/秒 · NASA DEMO_KEY 30 次/时 · FDA 无 Key 1000 次/天 — 注册免费 Key 均可提升
  • RAG 管道:OpenAlex 抓取 → 智谱 GLM-4-Flash(永久免费)或 LLM7.io(无需注册)清洗 → 本地 Embedding → 静态 JSON / 向量库

验证 #

最近验证日期:2026-06-25 | 全部 ✅ 直连可用

不可用(已移除):TradingView(超时)· Yahoo Finance(403)· Binance(超时)· OKEx(DNS 不可达)· CoinGecko(超时)· CoinCap(DNS 不可达)· 网易财经(DNS 不可达)· Google Gemini(超时)· Mistral(超时)· HuggingFace(超时)· Launch Library 2(429)· Dicebear(410)

重测脚本

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 金融
Invoke-WebRequest "https://qt.gtimg.cn/q=hf_GC" -TimeoutSec 10
Invoke-WebRequest "https://data.sec.gov/submissions/CIK0000320193.json" -TimeoutSec 10 -Headers @{"User-Agent"="Mozilla/5.0"}

# 天气
Invoke-WebRequest "https://api.open-meteo.com/v1/forecast?latitude=39.9&longitude=116.4&current=temperature_2m" -TimeoutSec 10
Invoke-WebRequest "https://wttr.in/Beijing?format=j1" -TimeoutSec 10

# 地理与 IP 定位
Invoke-WebRequest "https://restcountries.com/v3.1/all?fields=name,capital" -TimeoutSec 10
Invoke-WebRequest "https://get.geojs.io/v1/ip/geo.json" -TimeoutSec 10
Invoke-WebRequest "https://nominatim.openstreetmap.org/search?q=beijing&format=json&limit=1" -TimeoutSec 10
Invoke-WebRequest "https://api.opentopodata.org/v1/srtm90m?locations=39.9,116.4" -TimeoutSec 10

# 学术医疗
Invoke-WebRequest "https://api.openalex.org/works?search=test&per-page=1" -TimeoutSec 10
Invoke-WebRequest "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term=test&retmax=1" -TimeoutSec 10
Invoke-WebRequest "https://api.fda.gov/drug/event.json?limit=1" -TimeoutSec 10
Invoke-WebRequest "https://disease.sh/v3/covid-19/all" -TimeoutSec 10

# 开放数据
Invoke-WebRequest "https://en.wikipedia.org/w/api.php?action=query&list=search&srsearch=brain&format=json" -TimeoutSec 10
Invoke-WebRequest "https://archive.org/wayback/available?url=example.com" -TimeoutSec 10
Invoke-WebRequest "https://api.nobelprize.org/v1/prize.json?limit=1" -TimeoutSec 10
Invoke-WebRequest "https://api.microlink.io/?url=https://example.com" -TimeoutSec 10

# 测试数据
Invoke-WebRequest "https://jsonplaceholder.typicode.com/posts/1" -TimeoutSec 10
Invoke-WebRequest "https://dummyjson.com/products/1" -TimeoutSec 10
Invoke-WebRequest "https://randomuser.me/api/?results=1" -TimeoutSec 10

# LLM(返回 401/403 = 域名可达,需 Key)
Invoke-WebRequest "https://api.llm7.io/v1/models" -TimeoutSec 10
Invoke-WebRequest "https://openrouter.ai/api/v1/models" -TimeoutSec 10
Invoke-WebRequest "https://models.github.ai/inference/models" -TimeoutSec 10
Invoke-WebRequest "https://api.groq.com/openai/v1/models" -TimeoutSec 10

更新日志 #

日期变更
2026-06-25初始版本,从 3 个 GitHub 仓库直接提取 API,验证 50+ 个接口,收录 50+ 个可用 API + 12 个免费 LLM 平台,覆盖 13 个分类