AgentsKit
PromptsBlogUse casesFree toolsDemoGet AgentsKit
Home/Marketplace/API Anything
Free plugin · Automation & data

API Anything: Turn Any Website Into an API Your Agent Can Call

Works with Claude Code, Codex, any MCP clientMIT licenseFree & open source

Watch an AI agent use a website through a browser and you'll notice how slow it is. It loads the page, takes a snapshot, reads a wall of HTML, clicks, waits, reads again. Meanwhile the site's own frontend got the same data with one request. API Anything takes that shortcut. It teaches your agent a website once, and from then on the agent calls the site like an API and gets JSON back, no browser needed.

How it learns a site

You give it a page URL with a placeholder and two example inputs. A headless browser loads the page once for each example and records the network requests the page makes. Whatever changed between the two requests is clearly your input, so that becomes a parameter. The rest is stored as a template. Cookies and tokens are saved as references to a local store, never as values inside the template. Building the template doesn't use an LLM at all.

After that, a call is just Node's fetch with the slots filled in. If the site blocks plain requests, it fetches from inside a browser page instead. As a last resort for reads, it runs the page itself and reads the response the page got.

The bit I like most is the repair step. Sites change. An id rotates, a field moves. When a call stops working, API Anything re-learns the request and only saves the new version after a replay succeeds. If it can't fix it, you get an error with a reason and a suggested next step, not somebody else's data or a silent wrong answer.

Is it actually faster?

The repo has a benchmark, and the method and raw numbers are published, which I appreciate. Same agent, same prompt, a Google Flights task: one agent drove headless Chrome through Playwright MCP, the other called API Anything. Across five runs per task, the API Anything agent answered 1.5 to 2 times sooner, read about half as many tokens, and cost the same or less. All 20 answers were correct.

The Goodreads test is more striking. Goodreads hasn't had a public API since 2020. The agent mapped search, book details, author lists and reviews in one run that took 6.3 minutes and cost $1.19. Looking up five books then took 30.5 seconds, against 182.5 seconds for a browser agent. And a plain script with no model at all built the same five-book table in 16 seconds.

What comes included

It ships with 22 read operations across 9 sites: Google Flights (search, top flights, price calendar), Hacker News, X and Instagram profiles, search on YouTube, Airbnb and Amazon, LinkedIn profiles and companies with your own login, and the Goodreads operations above. These cover selected features, not entire sites. For anything else you teach it yourself, or tell your agent what you need and let the bundled skill propose operations, wait for your approval, build them and test each one on an input it hasn't seen.

Installing it

It isn't on npm yet. The easy route is to paste this into Claude Code or Codex and let the agent handle it:

Set up API Anything for me: https://github.com/goodnight000/api-anything/blob/main/INSTALL.md

The agent checks for Node 22.13+, builds and installs the api-anything command, confirms a call works and connects the MCP server and skill. Over MCP your agent gets four tools: list_sites, list_operations, call_operation and login. Creating new operations needs a shell and a Chromium-based browser. If you'd rather read the install file before an agent runs it (a good habit), it's short. Our guide to installing Claude skills from GitHub covers what to look for.

Limits, and being a good citizen

It's a local tool, not a hosted API. It uses your machine, your network and your logins. It won't solve CAPTCHAs, and if a site challenges real Chrome you'll need to clear that by hand. No write operations are bundled, and writes you build yourself need an explicit --allow-writes flag. Credentials stay in ~/.api-anything.

The README is clear that you're responsible for following each site's terms, and that's worth taking seriously. Pulling your own data or looking up a few flights is one thing. Hammering a site or scraping accounts at scale is another.

If you build agents that touch the web a lot, this belongs in your toolkit. It's MIT licensed and sits nicely next to the servers in our MCP server guide. For the bigger picture, read how to build AI agents with Claude.

Get API Anything on GitHub

API Anything is free and open source. The code, install steps and docs all live in the repository: goodnight000/api-anything.

View API Anything on GitHub →

Listed by AgentsKit. We don't maintain this project and aren't affiliated with its author. Read the code before you run anything that touches your machine or your inbox.

More free skills and plugins

Harvey

An autonomous SDR that runs on your Claude subscription

Read →

/brag

Turn the thing you just built into a launch video

Read →

GEO-SEO Claude

Audit any site for ChatGPT, Perplexity and AI Overviews

Read →

Hypit

Clone a viral video into a workflow you can remix

Read →

REA

See a feature you like, find out how it's built

Read →

Browse the marketplace

Every free skill and plugin we've reviewed, in one place.

Read →
AgentsKit

Your AI engineering & marketing team for Claude Code.

Featured on tinyshelfFind me on founder.page

Product

What's insideKitsPricingDemoFAQ

Resources

Claude promptsBlogUse casesComparisonsFree toolsSkills & plugins marketplace

Legal

LegalTermsPrivacyRefundsDisclaimer

Connect

Affiliates: earn 50%epictools.io@gmail.comagentskit.coX (Twitter)
Unofficial & independent. AgentsKit is not affiliated with, endorsed by, or sponsored by Anthropic. "Claude," "Claude Code," and "Anthropic" are trademarks of Anthropic. Content on this site is for educational purposes, see our disclaimer.

© 2026 AgentsKit. All rights reserved.