by goodnight000
Turn any website into an API your agent can call. Learns from the site's own frontend, heals itself when the site changes.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/goodnight000/api-anythingGuides for using ai agents skills like api-anything.
See how api-anything compares with popular alternatives.
Give your agent an API for websites that don't have one. Learn a read once from the site's own traffic. Call it as JSON from MCP, the CLI, or your code.
Quick start · Why · Example · Benchmarks · Integrations · Docs
Look up a book rating, search for flights, or check who's talking about your project without driving a browser for each read. API Anything ships 114 sites and 323 read operations. It uses plain HTTP when it can, falls back to the browser when needed, and can repair an operation when a site changes. Calls run on your machine, not through the shared catalog.
Try a read. All you need is Node 22.13 or newer. No browser, account, or API key for this call.
npx -y api-anything call hacker-news search query=sqlite --fields title,url --max-tier 1
{"ok":true,"class":"ok","tier":1,"data":[
{"title":"Hosting SQLite databases on GitHub Pages or any static file hoster",
"url":"https://phiresky.github.io/blog/2021/hosting-sqlite-databases-on-github-pages/"},
...]}
tier: 1 means plain HTTP, with no browser. --fields keeps only what you ask for. If a call
fails, it returns a reason and a next step.
Connect your agent.
npx -y api-anything setup
Pick your client, restart it, and ask “What does Goodreads rate Piranesi?” Setup supports
Claude Code, Codex, Cursor, Claude Desktop, Gemini CLI, and VS Code; use --agents hermes for
Hermes. Use --local-only to skip the shared catalog. Setup for every client ·
Install instructions for your agent
Or add it by hand. The server is one npx command, so any MCP client can run it:
{
"mcpServers": {
"api-anything": { "command": "npx", "args": ["-y", "api-anything", "mcp"] }
}
}
claude mcp add --scope user api-anything -- npx -y api-anything mcp # Claude Code
codex mcp add api-anything -- npx -y api-anything mcp # Codex
In Claude Code you can also install it as a plugin: /plugin marketplace add goodnight000/api-anything, then
/plugin install api-anything@api-anything. Config files and notes for Cursor, VS Code, Claude Desktop,
Windsurf and Cline are in docs/CLIENTS.md. If a desktop app can't find npx, run
npx -y api-anything mcp --print-config for an entry with absolute paths.
A browser agent can read any page you can click through, so it is the more general tool. For a read someone has already learned, API Anything skips the page: one HTTP request, and a JSON answer trimmed to the fields you ask for.
| Agent driving a browser | Agent with API Anything | |
|---|---|---|
| A site it has never seen | Works | Needs the site learned first (two page loads, or one from the catalog) |
| A read it knows | Loads and reads the page | One request, with no browser when the site allows plain HTTP |
| Google Flights, 5 dates (median of 5) | 41.6 s | 21.1 s |
| Netflix, 3 episodes (median of 5) | 22.3 s | 9.6 s |
| Answer size | The agent decides what to keep | --fields returns only what you name |
| Writes | Possible | Off unless you allow them, and sent once |
The times are historical medians from the race, measured with one model and including the agent's whole run. Method and the other tasks
examples/mentions.mjs checks Hacker News, Reddit, YouTube, GitHub, and
Mastodon in one run and combines the links into a feed. It makes six read calls, all capped at plain
HTTP. If one source is unavailable, the script reports it and keeps the answers from the others.
On November 22, all five runs found 46 DuckDB mentions. The whole process took 1.56–1.89 s
per run. Five calls answered over plain HTTP; Reddit reported blocked each time.
Rerun details
npm ci
node examples/mentions.mjs duckdb --json
Watch the November 6 recording
60% less time for a fresh CLI read. On November 22, we reran the local benchmarks on
current main against the revisions before the latency passes.
| Local workload | Before | Current |
|---|---|---|
| First CLI read, including Node startup | 574 ms | 227 ms |
| Recognize a rate limit and return | 4.59 s, misclassified | 14 ms, with retry timing |
| Stop learning on an unresolved challenge | 36.0 s, two browser runs | 18.0 s, one browser run |
| Five-read batch, one field requested per item | 3,355 JSON characters | 60 JSON characters |
These are localhost fixtures: the first read includes process startup, and the batch measures output size, not model tokens or a faster site. Reproduction, baselines, and raw results
In earlier same-agent comparisons, both setups answered every scored question correctly. The times below include the agent's entire run, not just the website call.
| Task | Browser agent | Agent with API Anything |
|---|---|---|
| Google Flights, 1 date (Sep 28) | 12.9 s | 8.4 s |
| Google Flights, 5 dates (Sep 28) | 41.6 s | 21.1 s |
| Netflix, 3 episodes (Oct 31) | 22.3 s | 9.6 s |
| IKEA, 5 store addresses (Oct 31) | 31.4 s | 18.1 s |
Historical 2026 medians, five runs per task and setup, all with Claude Opus 5.5. These are not current-build timings. Watch the Google Flights race · Agent timing, tokens, and cost
fetch. If the site blocks that, fetch from inside a
browser page; as a last resort for a read, run the page and read its answer.The whole idea in 49 seconds · replay, fallback and repair · design
The same operations work from an agent, a script, or an app.
| Use it from | Start here |
|---|---|
| MCP | Set up your agent or connect an agent framework |
| CLI | Call operations or batch reads as JSONL |
| TypeScript | import { call } from "api-anything", or use the [call-only host API](docs/HOST.md |
api-anything is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by goodnight000. Turn any website into an API your agent can call. Learns from the site's own frontend, heals itself when the site changes. It has 4,222 GitHub stars.
api-anything's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/goodnight000/api-anything" and add it to your Claude Code skills directory (see the Installation section above).
api-anything is primarily written in TypeScript. It is open-source under goodnight000 on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh api-anything against similar tools.
No comments yet. Be the first to share your thoughts!