public-apis

public-apis is a skill for Claude Code, Codex from guihai24/openskills. It costs 157 tokens per session (1,843 once invoked), scanned A, original, MIT.

A guide for finding free, publicly available APIs, which are online services that software can call to get data or perform tasks. It uses a catalogue of APIs grouped into categories such as weather, maps, authentication, and email.

In plain words
What is it for?
It helps match a project need to one or more APIs and recommend options based on features, authentication, HTTPS, and cross-origin browser support.
Why use it?
It reduces the time spent searching for a suitable service and comparing access requirements, HTTPS support, and browser access.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps match a project need to one or more APIs and recommend options based on features, authentication, HTTPS, and cross-origin browser support.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guihai24/openskills/public-apis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add guihai24/openskills --skill public-apis
Clone the repo
git clone --depth 1 https://github.com/guihai24/openskills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for public-apis

README.md
[![agentmods](https://agentmods.dev/badge/skills/guihai24/openskills/public-apis/github.svg)](https://agentmods.dev/skills/guihai24/openskills/public-apis)
Your own site
<a href="https://agentmods.dev/skills/guihai24/openskills/public-apis"><img src="https://agentmods.dev/badge/skills/guihai24/openskills/public-apis/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for public-apis

Your own site · 80×15
<a href="https://agentmods.dev/skills/guihai24/openskills/public-apis"><img src="https://agentmods.dev/badge/skills/guihai24/openskills/public-apis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00157 $0.01843
Opus 5.5 $0.00063 $0.00737
Sonnet 5.5 $0.00031 $0.00369
Haiku 4.5 $0.00016 $0.00184

Measured 2mo ago against content hash 36cfcef76b8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

public-apis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/split_readme.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/public-apis/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Public APIs — 免费 API 推荐助手

数据来源:public-apis/public-apis(GitHub 407K+ stars) 收录了 1425 个免费 API,覆盖 51 个分类 同步日期:2026-03-12

工作流程

  1. 理解需求 — 用户想实现什么功能?是前端调用(需要 CORS)还是后端?对认证复杂度有偏好吗?
  2. 匹配分类 — 从下方分类索引中找到 1-3 个最相关的分类。分类名本身语义清晰,大部分情况可以直接匹配;对于不太直观的映射,参考底部的「易混淆分类映射」。
  3. 读取 reference 文件 — 用 Read 工具加载对应的 references/<slug>.md,文件内是该分类下所有 API 的表格。
  4. 筛选并推荐 3-5 个 API — 优先考虑:
    • 功能与需求的匹配度(最重要)
    • 认证简单性:无需认证 > apiKey > User-Agent > OAuth
    • HTTPS 支持(优先 Yes)
    • CORS 支持(前端场景优先 Yes)
  5. 结构化输出 — 使用下方的推荐格式呈现结果,给出推荐理由帮助用户决策。

分类索引

根据用户需求匹配分类后,使用 Read 工具读取对应 reference 文件。reference 文件路径相对于本 skill 目录。

分类 API 数量 Reference 文件
Animals 27 references/animals.md
Anime 19 references/anime.md
Anti-Malware 15 references/anti-malware.md
Art & Design 20 references/art-and-design.md
Authentication & Authorization 7 references/authentication-and-authorization.md
Blockchain 11 references/blockchain.md
Books 23 references/books.md
Business 23 references/business.md
Calendar 16 references/calendar.md
Cloud Storage & File Sharing 19 references/cloud-storage-and-file-sharing.md
Continuous Integration 6 references/continuous-integration.md
Cryptocurrency 64 references/cryptocurrency.md
Currency Exchange 17 references/currency-exchange.md
Data Validation 7 references/data-validation.md
Development 120 references/development.md
Dictionaries 13 references/dictionaries.md
Documents & Productivity 28 references/documents-and-productivity.md
Email 17 references/email.md
Entertainment 10 references/entertainment.md
Environment 17 references/environment.md
Events 3 references/events.md
Finance 45 references/finance.md
Food & Drink 24 references/food-and-drink.md
Games & Comics 96 references/games-and-comics.md
Geocoding 86 references/geocoding.md
Government 86 references/government.md
Health 31 references/health.md
Jobs 17 references/jobs.md
Machine Learning 22 references/machine-learning.md
Music 33 references/music.md
News 19 references/news.md
Open Data 35 references/open-data.md
Open Source Projects 9 references/open-source-projects.md
Patent 4 references/patent.md
Personality 23 references/personality.md
Phone 5 references/phone.md
Photography 29 references/photography.md
Programming 5 references/programming.md
Science & Math 33 references/science-and-math.md
Security 38 references/security.md
Shopping 14 references/shopping.md
Social 40 references/social.md
Sports & Fitness 32 references/sports-and-fitness.md
Test Data 25 references/test-data.md
Text Analysis 15 references/text-analysis.md
Tracking 9 references/tracking.md
Transportation 69 references/transportation.md
URL Shorteners 19 references/url-shorteners.md
Vehicle 6 references/vehicle.md
Video 43 references/video.md
Weather 31 references/weather.md

Read the full file on GitHub · 149 lines

Files

What ships with it

52 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 149 lines · 157 tokens per session scan A 36cfcef76b8c

Subscribe to this mod's changes

public-apis is a skill published in the GitHub repository guihai24/openskills (2 stars, last pushed 1mo ago), licensed MIT. It adds 157 tokens to every session and 1,843 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

public-apis compared with skills from other repositories

public-apis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
public-apisguihai24/openskillsSkill21mo agoMITA157Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill69kyesterdayApache-2.0A217Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.2kyesterdayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.2kyesterdayMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.0ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill5293d agoMITA105Claude Code, Codex
migrate-segw-to-raparc-mcp/arc-1Skill253yesterdayMITA106Claude Code