PublicAPIs.io

io.publicapis由 publicapis.io 發布官方發布者v1.0.0更新於 Oct 25, 2026

Search 1,500+ public APIs with docs, code and auth/free-tier filters; list or sponsor your API.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取開發者工具商業與電商

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,讓助理搜尋 1,500 多個公開 API、進行比較、取得文件與範例程式碼,並洽談 API 收錄或贊助。

可以做什麼
依任務搜尋 1,500 多個公開 API,回傳名稱、描述、分類和連結,描述中提到可依驗證方式和免費額度篩選。依 slug 取得單一 API 的完整資訊,包括文件摘要、端點、驗證、價格和連結。取得 JavaScript、Python 或 curl 的可直接執行範例程式碼,並標示已驗證的範例。並排比較 2 到 5 個 API 的驗證、免費額度、HTTPS、價格和文件摘要。列出收錄與贊助方案及固定價格和目前可用性,接著開啟並繼續與經紀代理的對話,追蹤交易狀態和付款連結。
適用情境
當助理需要為某項任務尋找第三方 API 或資料集、在撰寫整合程式碼前確認 API 的驗證與價格,或在多個候選 API 之間做選擇時適用。若想在 PublicAPIs.io 上收錄或贊助 API,也可使用。
執行需求
遠端 streamable HTTP 端點,位於 publicapis.io;未宣告任何套件、環境變數或請求標頭。目錄類工具未宣告需要驗證。交易工具需要提供 API 名稱、網站和聯絡電子郵件以開啟對話。
安裝前請注意
交易工具會與經紀代理開啟商業對話,可能導向付費收錄或贊助,並在 awaiting_payment 階段回傳付款連結;任何付款都應視為真實承諾。交易工具會回傳 deal_id 和 deal_key,必須保留才能繼續。你提供的聯絡電子郵件和 API 資訊會傳送至 PublicAPIs.io。API 的價格與驗證資訊來自該目錄,依賴前應自行確認。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 PublicAPIs.io,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.publicapis%2Fdirectory/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "publicapis-io": {
      "type": "http",
      "url": "https://publicapis.io/mcp"
    }
  }
}

工具

8

search_apis

Find a public API or data source for a task: use this whenever the user (or your code) needs an API, dataset or third-party service, e.g. weather, geocoding, payments, sports scores, crypto prices, jobs, LLMs. Searches 1,500+ APIs on PublicAPIs.io and returns name, description, category, link and signals (auth: none/api_key/oauth, free_tier, https). Filter with auth="none" for APIs that need no key, free=true, https=true.

輸入參數authfreehttpslimitquerycategory

get_api

Everything about one API by slug (from search_apis): documentation summary, endpoints, auth, pricing and links. Use before writing integration code.

輸入參數slug必填

get_quickstart

Ready-to-run example code for calling an API, in javascript, python or curl. Use when you are about to integrate an API into code. Verified samples are marked verified=true.

輸入參數slug必填language

compare_apis

Compare 2-5 APIs side by side (auth, free tier, HTTPS, pricing, docs summary) to choose one. Pass slugs from search_apis.

輸入參數slugs必填

list_offerings

Ways to get an API listed or sponsored on PublicAPIs.io, with fixed prices, current sponsorship availability and the rules.

無需輸入參數。

start_deal

Open a conversation with the PublicAPIs.io broker agent to list or sponsor an API. Say what you want in plain language and include the API name, website and a contact email if you have them. Returns deal_id and deal_key (keep both; they are needed to continue) and the broker's reply. Every deal is approved by a person before payment.

輸入參數companymessage必填websiteapi_namecontact_namecontact_email必填

send_message

Reply to the broker in an open deal. Returns the broker's answer and the deal status.

輸入參數deal_id必填message必填deal_key必填

get_deal

Status of a deal: negotiating, agreed, awaiting_approval, awaiting_payment (payment_url is included), publishing, live (live_url), rejected. Also returns the last messages.

輸入參數deal_id必填deal_key必填

版本歷史

1
  1. v1.0.0最新Oct 15, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。