ClawHub
SkillsPluginsOfficialDocsSupport
K
SkillsFind API

Find API

yesilsin-netizen@yesilsin-netizen
🔍 Find API | 寻找可靠数据源 TRIGGERS: Use when agent needs to fetch external data, user mentions "reliable data source", "数据源", "API", or when web scraping is inef...
Install in OpenClawRequires OpenClaw desktop app
Security check
Clean
Version
0.0.2
Updated
May 11, 2026
License
MIT-0

Latest: v0.0.2

No changes detected in this version.

  • No file changes found between versions.
  • No updates to features, documentation, or behavior.
FinanceResearchLifestyle
#web-scraping#financial#news#stock
Full description

🔍 Find API | 寻找可靠数据源 TRIGGERS: Use when agent needs to fetch external data, user mentions "reliable data source", "数据源", "API", or when web scraping is inefficient/inaccurate. A comprehensive guide to reliable data APIs across all domains. Helps agents find the best APIs instead of inefficient web scraping. Currently covers: Stock/Financial data, Weather, News, Maps, and more domains coming soon. 触发条件:Agent 需要获取外部数据、用户提到"可靠数据源"、"数据源"、"API",或网页爬取效率低/不准确时。 跨领域可靠数据 API 的综合指南。 帮助 Agent 找到最佳 API,避免低效的网页爬取。 目前覆盖:股票/金融数据、天气、新闻、地图,更多领域持续完善中。

🔍 Find API | 寻找可靠数据源

The comprehensive guide to reliable data APIs. Stop scraping, start using APIs.

跨领域可靠数据 API 的综合指南。停止爬取,开始使用 API。

⚠️ Core Principle | 核心原则

API First, Scraping Last.

PriorityMethodWhen to Use优先级方法何时使用
1stOfficial APIAlways check first第一官方 API始终优先检查
2ndThird-party APIWhen official API unavailable/expensive第二第三方 API当官方 API 不可用/太贵
3rdPublic DatasetFor historical/static data第三公共数据集用于历史/静态数据
4thWeb ScrapingOnly as last resort第四网页爬取仅作为最后手段

📋 Table of Contents | 目录

  1. Stock & Financial Data | 股票与金融数据
  2. Weather Data | 天气数据
  3. News & Media | 新闻与媒体
  4. Maps & Geolocation | 地图与地理定位
  5. E-commerce & Products | 电商与商品
  6. More domains coming soon... | 更多领域持续完善中...

1. Stock & Financial Data | 股票与金融数据

1.1 A股市场 / Chinese A-Share Market

APIRatingCostAuthData Coverage
AKShare⭐⭐⭐⭐⭐FreeNoneReal-time quotes, historical K-lines, financial statements, fund flows, dragon-tiger list
Tushare⭐⭐⭐⭐⭐Free+PaidTokenReal-time quotes, historical data, financial statements, margin trading
East Money API⭐⭐⭐⭐FreeNoneReal-time quotes, fund flows, research reports

Recommended: AKShare (Best for most use cases)

Installation:

bash
pip install akshare

Quick Examples:

python
import akshare as ak

# 获取A股实时行情
df = ak.stock_zh_a_spot_em()

# 获取个股历史数据
df = ak.stock_zh_a_hist(symbol="000001", period="daily", adjust="qfq")

# 获取财务指标
df = ak.stock_financial_analysis_indicator(symbol="000001")

# 获取资金流向
df = ak.stock_individual_fund_flow(stock="000001")

Documentation: https://akshare.akfamily.xyz


1.2 港股市场 / Hong Kong Stock Market

APIRatingCostAuthData Coverage
AKShare⭐⭐⭐⭐⭐FreeNoneReal-time quotes, historical data
Tushare⭐⭐⭐⭐Free+PaidTokenHong Kong stock data

Recommended: AKShare

Quick Examples:

python
import akshare as ak

# 港股实时行情
df = ak.stock_hk_spot_em()

# 个股历史数据(如腾讯 00700)
df = ak.stock_hk_hist(symbol="00700", period="daily", adjust="qfq")

# 港股通资金
df = ak.stock_hk_ggt_components_em()

1.3 美股市场 / US Stock Market

APIRatingCostAuthData Coverage
yfinance⭐⭐⭐⭐⭐FreeNoneReal-time quotes, historical data, financials, options
Alpha Vantage⭐⭐⭐⭐Free+PaidAPI KeyQuotes, technical indicators, forex
Polygon.io⭐⭐⭐⭐Free+PaidAPI KeyReal-time data, options

Recommended: yfinance (Best free option for US stocks)

Installation:

bash
pip install yfinance

Quick Examples:

python
import yfinance as yf

# 获取股票信息
stock = yf.Ticker("AAPL")

# 历史数据
hist = stock.history(period="1mo")

# 财务报表
financials = stock.financials
balance_sheet = stock.balance_sheet
cashflow = stock.cashflow

# 股息信息
dividends = stock.dividends

# 推荐分析师评级
recommendations = stock.recommendations

Documentation: https://github.com/ranaroussi/yfinance


1.4 期货与衍生品 / Futures & Derivatives

APIRatingCostAuthData Coverage
AKShare⭐⭐⭐⭐⭐FreeNoneDomestic futures, international futures
Tushare⭐⭐⭐⭐Free+PaidTokenFutures data

Quick Examples:

python
import akshare as ak

# 国内期货主力合约
df = ak.futures_zh_main_sina()

# 国际期货
df = ak.futures_foreign_hist(symbol="CL")  # 原油

1.5 基金数据 / Fund Data

APIRatingCostAuthData Coverage
AKShare⭐⭐⭐⭐⭐FreeNoneOpen-end funds, ETFs, money funds
East Money API⭐⭐⭐⭐FreeNoneFund rankings, holdings

Quick Examples:

python
import akshare as ak

# 开放式基金列表
df = ak.fund_open_fund_info_em(fund="000001")

# ETF实时行情
df = ak.fund_etf_spot_em()

# 基金持仓
df = ak.fund_portfolio_em(fund="000001")

2. Weather Data | 天气数据

APIRatingCostAuthData Coverage
OpenWeatherMap⭐⭐⭐⭐⭐Free+PaidAPI KeyCurrent weather, forecast, historical
WeatherAPI.com⭐⭐⭐⭐Free+PaidAPI KeyWeather, astronomy, sports
QWeather 和风天气⭐⭐⭐⭐Free+PaidAPI Key中国地区天气数据

Recommended: OpenWeatherMap (Global coverage)

Quick Examples:

python
import requests

api_key = "YOUR_API_KEY"
city = "Beijing"

# 当前天气
url = f"https://api.openweathermap.org/data/2.5/weather?q={city}&appid={api_key}&units=metric"
response = requests.get(url)
data = response.json()

print(f"Temperature: {data['main']['temp']}°C")
print(f"Weather: {data['weather'][0]['description']}")

Get API Key: https://openweathermap.org/api


3. News & Media | 新闻与媒体

APIRatingCostAuthData Coverage
NewsAPI⭐⭐⭐⭐⭐Free+PaidAPI KeyGlobal news articles
GNews⭐⭐⭐⭐Free+PaidAPI KeyNews articles, search
MediaStack⭐⭐⭐⭐Free+PaidAPI KeyNews data

Recommended: NewsAPI

Quick Examples:

python
import requests

api_key = "YOUR_API_KEY"

# 获取头条新闻
url = f"https://newsapi.org/v2/top-headlines?country=us&apiKey={api_key}"
response = requests.get(url)
articles = response.json()['articles']

for article in articles[:5]:
    print(article['title'])

Get API Key: https://newsapi.org


4. Maps & Geolocation | 地图与地理定位

APIRatingCostAuthData Coverage
OpenStreetMap Nominatim⭐⭐⭐⭐⭐FreeNoneGeocoding, reverse geocoding
高德地图 API⭐⭐⭐⭐⭐Free+PaidAPI Key中国地区地图、导航、POI
百度地图 API⭐⭐⭐⭐Free+PaidAPI Key中国地区地图、导航
Google Maps API⭐⭐⭐⭐PaidAPI KeyGlobal maps, places, routes

Recommended: Nominatim (Free, no auth) | 高德地图 (中国地区)

Nominatim Quick Examples:

python
import requests

# 地理编码(地址转坐标)
address = "Beijing, China"
url = f"https://nominatim.openstreetmap.org/search?q={address}&format=json"
response = requests.get(url, headers={'User-Agent': 'AgentApp'})
data = response.json()

print(f"Lat: {data[0]['lat']}, Lon: {data[0]['lon']}")

高德地图 Quick Examples:

python
import requests

api_key = "YOUR_API_KEY"
address = "北京市朝阳区"

# 地理编码
url = f"https://restapi.amap.com/v3/geocode/geo?address={address}&key={api_key}"
response = requests.get(url)
data = response.json()

print(data['geocodes'][0]['location'])

Get 高德 API Key: https://lbs.amap.com


5. E-commerce & Products | 电商与商品

APIRatingCostAuthData Coverage
淘宝开放平台⭐⭐⭐⭐Free+PaidOAuth商品搜索, 订单
京东开放平台⭐⭐⭐⭐Free+PaidOAuth商品, 订单, 物流
Barcode Lookup⭐⭐⭐Free+PaidAPI KeyProduct info by barcode

Note: 电商API通常需要商家认证,普通用户可考虑爬取商品页面或使用第三方服务。


6. More domains coming soon... | 更多领域持续完善中

Planned additions:

  • Social Media APIs (Twitter, Weibo, Reddit)
  • Translation APIs
  • Image & Video APIs
  • Scientific & Research Data APIs
  • Government & Public Data APIs
  • Real Estate Data APIs
  • Job & Recruitment APIs

Contribute: If you know reliable APIs in other domains, help expand this skill!


🔄 Decision Flow | 决策流程

text
用户需要获取外部数据
    ↓
Step 1: 确定数据类型
├── 股票/金融 → 查看本 Skill 第1节
├── 天气 → 查看本 Skill 第2节
├── 新闻 → 查看本 Skill 第3节
├── 地图/位置 → 查看本 Skill 第4节
├── 电商/商品 → 查看本 Skill 第5节
└── 其他 → 搜索 RapidAPI / Public APIs
    ↓
Step 2: 选择合适的 API
├── 考虑因素:成本、认证难度、数据覆盖、稳定性
└── 优先选择免费/免认证的 API
    ↓
Step 3: 检查环境
├── Python库是否安装?→ pip install xxx
└── API Key是否获取?→ 引导用户注册
    ↓
Step 4: 调用 API 获取数据
    ↓
Step 5: 返回结构化结果

📊 Before vs After Comparison | 效果对比

MetricWeb ScrapingUsing API
Speed30-60 seconds1-3 seconds
Token CostHigh (entire HTML)Low (JSON only)
AccuracyLow (parsing errors)High (structured data)
ReliabilityLow (anti-scraping)High (stable API)
MaintenanceHigh (page changes)Low (stable API)
指标网页爬取使用 API
速度30-60 秒1-3 秒
Token 成本高(整个页面)低(仅 JSON)
准确性低(解析错误)高(结构化数据)
稳定性低(反爬机制)高(稳定接口)
维护成本高(页面变化)低(稳定接口)

🔧 General Setup | 通用安装

Most APIs in this skill require Python. Basic setup:

bash
# 常用数据获取库
pip install akshare yfinance requests pandas

# 可选:更多数据源
pip install tushare

🔍 External Resources | 外部资源

If the data type is not covered in this skill, search these directories:

ResourceURLDescription
RapidAPIhttps://rapidapi.com/hubLargest API marketplace
Public APIshttps://github.com/public-apis/public-apisFree public APIs list
ProgrammableWebhttps://www.programmableweb.comAPI directory

📝 Version | 版本

  • Version: 1.0.0
  • Created: 2026-03-13
  • Last Updated: 2026-03-13
  • Maintainer: Community
  • Contribution: Welcome to add more reliable data sources

Remember: API First, Scraping Last.

Related skills

More in Finance
ClawHub

Skills and plugins for OpenClaw agents. Part of the wider OpenClaw ecosystem.

Explore docs

SkillsPluginsOfficialAudits

Publish SkillPublish PluginCreate org

OverviewOpenClawDocsBlog

SupportGitHubDiscord

Built alongside the OpenClaw ecosystem

LobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projectsLobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projects

© 2026 OpenClaw Foundation

Privacy policy·Status·Deployed on Vercel·Powered by Convex

....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals