Api-everything
A real browser loads the page, and you get the JSON the page itself received, as a REST API and MCP tools. No AI at runtime, read-only, no HTML parsing.
A warm pool of real Chrome browsers runs a small YAML recipe (open this page, do these steps, capture the matching HTTP, GraphQL, WebSocket, or SSE response), and the daemon returns the JSON the site's own page already received. It only reads responses; it never forges or alters requests, so the browser itself produces any tokens the site needs.
Why not just copy the request? The bundled demo site mints a single-use token on every page
load, so replaying a captured request gets a 403 (the tests prove this). Loading the page in a real
browser and reading its own response works. Watch it from a clone with
uv run python bench/replay_demo.py.
Know before you try it:
- Not every site works. Reddit and Quora answer automated Chrome with HTTP 403, and this project does not try to get past blocks.
- 53 of the bundled recipes click or type on the page, so a layout change can break those.
- Many bundled recipes read sites that also have a public API. They are working examples; where a public API does what you need, calling it directly is simpler and faster.
Status: alpha. The core works end to end (the daemon, warm browser pool with backpressure,
recipes, checks, logins, and the recipe-scaffolding pipeline). 242 real-site recipes ship marked
stable (the 5 reference recipes below plus 237 from the
developer catalog), each after 5 consecutive passing live checks when it was
added (last additions 2026-11-26). Sites change, so run api-everything check to see how they do
today. sequelize_docs.search and techempower.results failed their check on 2026-11-29 and are
marked experimental. The mock-site latency targets have not been validly measured on a quiet machine yet; see
bench/README.md for every run.
- Design: docs/PRD.md
- Writing recipes: docs/RECIPES.md
- 100-site developer catalog: docs/CATALOG.md (catalog/sites.yaml)
- Vocabulary: GLOSSARY.md
- What is planned and when: ROADMAP.md
Try it
Needs Python 3.11+, uv and Google Chrome. No Chrome (a Linux
server, say)? Run uvx --from api-everything playwright install --only-shell chromium once and set
browser: chromium in your config; see Choosing a browser.
uvx api-everything serve # the daemon on 127.0.0.1:8750 (no clone needed)
curl 'http://127.0.0.1:8750/v1/run/hackernews.search?q=playwright'
Or try the bundled token-gated local demo site (127.0.0.1:8799) from a local clone (uv sync):
uv run python -m api_everything.mock_site & # a demo target on 127.0.0.1:8799
curl 'http://127.0.0.1:8750/v1/run/mock.items?q=Item%203'
{"data":{"items":[{"id":3,"title":"Item 3"}]},"meta":{"recipe":"mock.items","status":200,"count":1}}
Docker (headless Chromium included)
Build the image from a clone (no published image is available yet). An API token is required when
binding 0.0.0.0:
docker build -t api-everything .
docker run --rm --init -p 8750:8750 \
-e API_EVERYTHING_TOKEN=change-me \
-v "$(pwd)/my-recipes:/recipes:ro" \
-e API_EVERYTHING__RECIPES_DIR=/recipes \
api-everything
| Command | What it does |
|---|---|
api-everything serve |
Run the daemon: a warm pool of Chrome browsers serving /v1 (--ui for Playground at /ui, --docs for Swagger UI at /docs, --watch for hot-reload) |
api-everything doctor |
Diagnose Python, Playwright, Chrome/Chromium, port, token, and recipe health |
api-everything codegen |
Generate typed TypeScript (--lang ts) or Python (--lang python) clients |
api-everything watch NAME |
Poll a recipe and emit JSON diffs or POST alerts to --webhook |
api-everything validate |
Check every recipe without starting anything |
api-everything check NAME... | --all |
Run recipes' live checks; goes through a running daemon |
api-everything login PROFILE |
Sign in by hand once for recipes that use a logged-in profile |
api-everything probe TARGET |
Inspect live XHR/fetch JSON calls from a URL (catalog site IDs need a clone of the repository) |
api-everything scaffold TARGET |
Generate a draft YAML recipe (with optional --probe auto-detection) |
api-everything promote NAME |
Run N consecutive live checks (default 5) and promote to stable |
api-everything chrome PROFILE |
Start the Chrome an attached profile connects to (see below) |
api-everything mcp |
Let an AI agent call your recipes as tools over MCP (see below) |
api-everything recipes pull|diff|apply|remove |
Fetch shared recipes from git and apply the ones you approve |
api-everything repair NAME |
Draft a verified fix for a recipe whose check failed because the site changed |
api-everything record URL |
Browse a page once and generate a verified recipe for one of its JSON responses |
Endpoints: GET|POST /v1/run/{recipe}, GET /v1/recipes, GET /v1/recipes/{name},
GET /v1/stats (token only), GET /metrics (Prometheus), and GET /healthz. Pass --docs to serve to expose per-recipe typed /openapi.json (ready for openapi-typescript or Python client generators) and /docs. Settings live in an optional
api-everything.yaml (see api-everything.example.yaml).
Web Playground (--ui)
Start the daemon with --ui to browse all bundled recipes, test parameters with auto-generated forms, copy curl commands, probe live URLs, and inspect /metrics health locally at http://127.0.0.1:8750/ui (off by default):
uvx api-everything serve --ui --watch
SDKs, Chrome Extension & MCP Registry
- Python SDK:
from api_everything import Client— see examples/python_quickstart.py - TypeScript / JS: zero-dependency
fetch& typedopenapi-fetch— see examples/ts_quickstart.ts - Editor & Workflow Examples: Claude Code, Cursor, Windsurf, LangChain, n8n
- MCP Registry Manifests: server.json and smithery.yaml
- Chrome MV3 1-Click Recorder: Load extension/ unpacked in
chrome://extensionsto capture XHR/fetch URLs from your active tab and send them toserve --ui(early: not yet tested by hand).
Why Not X?
Many web apps load their data from internal JSON endpoints. Api-everything is for that case; other tools are better for others.
When to choose what:
- Use Api-everything when the target site already fetches clean JSON in the browser and you want a zero-token REST API or MCP tool.
- Use Crawl4AI / ScrapeGraphAI when data lives only in server-rendered HTML/articles and you want LLM-ready Markdown.
- Use Browser-Use for open-ended, multi-step tasks (filling out arbitrary forms or navigating unfamiliar sites).
- Use Scrapy for high-volume static HTML crawling where JS hydration and single-use request tokens are not required.
Reference recipes and their status
| Recipe | Status | Last checked | Result |
|---|---|---|---|
hackernews.search |
stable | 2026-11-25 | Passes 5/5 live checks (captures hn.algolia.com Algolia XHR JSON) |
github.explore |
stable | 2026-11-25 | Passes 5/5 live checks (public api.github.com/search/repositories JSON) |
wikipedia.summary |
stable | 2026-11-25 | Passes 5/5 live checks (Wikimedia REST summary JSON) |
mastodon.explore |
stable | 2026-11-25 | Passes 5/5 live checks (captures mastodon.social/explore trends XHR JSON) |
substack.search |
stable | 2026-11-25 | Passes 5/5 live checks (captures substack.com/search fetch JSON) |
mock.items |
stable | 2026-11-15 | Passes (the local demo site) |
reddit.search |
experimental | 2026-11-16 | HTTP 403 block page for automated Chrome: headless, with a visible window, and through an attached Chrome (fresh profile) |
quora.answers |
experimental, unverified | 2026-11-15 | HTTP 403 with a Cloudflare "security verification" page; its matcher is a placeholder |
The agreed rule is: a reference recipe must pass its live check five times in a row, or ship
labelled experimental with its status written down. All five flagship recipes above (plus 237
more stable developer recipes in docs/CATALOG.md) passed five consecutive
live checks; reddit.search and quora.answers did not pass and stay experimental. This project
deliberately does not solve CAPTCHAs or evade bot detection, so it does not try to get past those
blocks. check --all skips experimental recipes unless you pass --include-experimental. To write
a recipe that works, see docs/RECIPES.md, or use the
100-site catalog with probe, scaffold, and promote from a clone of the repository (the
catalog file is not part of the installed package).
Scheduling live checks
api-everything check --all runs every stable recipe's live check and exits 1 if any fail, so a
scheduler can run it and a notify_command in your config can tell you. Run it on your own
machine, never from hosted CI: your home IP and your Chrome are what the sites accept. If a
daemon is running, the checks go through it.
With cron (every morning at 09:00; use the full path to uvx from which uvx):
0 9 * * * /opt/homebrew/bin/uvx api-everything check --all >> "$HOME/api-everything-checks.log" 2>&1
With launchd on macOS, save this as ~/Library/LaunchAgents/local.api-everything.check.plist
and load it with launchctl load:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"><dict>
<key>Label</key><string>local.api-everything.check</string>
<key>ProgramArguments</key>
<array><string>/opt/homebrew/bin/uvx</string><string>api-everything</string>
<string>check</string><string>--all</string></array>
<key>StartCalendarInterval</key><dict><key>Hour</key><integer>9</integer>
<key>Minute</key><integer>0</integer></dict>
<key>StandardOutPath</key><string>/tmp/api-everything-checks.log</string>
<key>StandardErrorPath</key><string>/tmp/api-everything-checks.log</string>
</dict></plist>
Both examples follow the standard formats but have not been run under a real scheduler by the
author. A recipe that is blocked by its site (the experimental ones) is skipped unless you add
--include-experimental.
Attaching to a Chrome you start
For a logged-in profile you can start the Chrome yourself and let the daemon attach to it, instead of the daemon launching one:
profiles:
reddit:
attach: http://127.0.0.1:9222 # this machine only; pick any free port
uv run api-everything chrome reddit # a visible Chrome on its own folder; sign in by hand
uv run api-everything serve # attaches to it; stopping the daemon leaves it open
Things to know. It is not your everyday Chrome: Chrome 136 and later ignores remote
debugging on the default profile, so this is a separate Chrome with its own folder. Anything on
this machine that can reach that port can control that Chrome, which is why only loopback
addresses are accepted. It is still an automated browser and does not hide that: sites that
block automation can block it too. If it is closed, runs answer 503 browser_unavailable with
the command to start it again.
Repair a recipe the site broke
uv run api-everything repair reddit.search # drafts a fix; applies nothing
uv run api-everything repair apply reddit.search # shows the diff, installs if you approve
It re-runs the recipe's check, loads the page again, and drafts a fix: the one response that still
satisfies the recipe's old assertions (no AI), or one Claude call that has no tools and sees
only structure (key names and types, never values). The draft is replayed live and saved only if it
works; it can change just the matcher and the assertions. It never tries to get around a site that
blocks you or an expired login. A recipe that reshapes its result (extract, collect: all) is refused. See docs/RECIPES.md.
Get shared recipes
The default community recipe repository is not public yet, so recipes pull fails for others until
it is. Point recipe_sources at a git repository of your own, or set it to [] to turn this off.
uv run api-everything recipes pull # fetch (changes nothing you use)
uv run api-everything recipes diff # see exactly what would change
uv run api-everything recipes apply # approve one recipe at a time
Recipes come from git repositories in recipe_sources (default: the community repo). They install
into a managed folder below your own recipes, which always win by name. Anything risky (a new
recipe, a new site, any change to a logged-in recipe, new actions) needs you to type the recipe's name; recipes
using eval are never applied. Nothing verifies who wrote a recipe, so read the diff. See
docs/RECIPES.md.
Record a recipe instead of writing it
uv run api-everything record "https://shop.example.com/search?q=shoes" --param q
A visible browser opens; let the page load and press Enter. You pick which JSON response is the data you want (the list shows key names and types, not values), and the recipe is replayed once in a fresh browser before it is written and compared with what you picked, so a file on disk has either been verified or is marked experimental. It captures network responses only, not your clicks or typing. See docs/RECIPES.md.
Use it from an AI agent (MCP)
api-everything mcp is an MCP server on stdio. It is a thin
bridge to a running daemon: each recipe becomes one tool with typed parameters, and a call
goes to the daemon's /v1 API, so the browsers, rate limits and token are shared. It never
starts a daemon or a browser.
uv run api-everything serve # in one terminal, and leave it running
# Claude Code:
claude mcp add api-everything -- uv run --project /path/to/api-everything api-everything mcp
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"api-everything": {
"command": "uv",
"args": ["run", "--project", "/path/to/api-everything", "api-everything", "mcp"]
}
}
}
By default an agent is offered only recipes that are stable and need no login. Add
--include-experimental for experimental ones and --include-profiles for logged-in recipes,
which run as your account, so turn that on only on purpose. If the daemon uses an API token, give
the bridge the same one with API_EVERYTHING_TOKEN_FILE (a path to a file holding it) rather than
pasting the token into an app's config. If the daemon is not running, the bridge still starts and
tells the agent to start it. The tool list comes from the daemon. If you start the daemon after the agent app, the agent may still show only the "not running" tool: the bridge announces the change to clients that listen for it, and otherwise refreshing the tools (or reconnecting the MCP server) picks the recipes up. GUI apps often lack your shell's PATH, so in Claude Desktop give command as the full path to uv (the Claude Desktop snippet above has not been tried in the app).
Safe by default
- Listens on
127.0.0.1only. Any other address needs an API token (API_EVERYTHING_TOKEN), and then every request must sendAuthorization: Bearer <token>. - Without a token, requests addressed to any host name other than localhost are refused, so a web page cannot reach it through DNS rebinding. No CORS headers are ever sent.
- A recipe that uses a logged-in profile is refused unless a token is set, even on localhost.
- A busy daemon says so (HTTP 429 with
Retry-After) instead of queueing without limit, and every run has one deadline covering the wait and the work. - Logs hold metadata only: never response bodies, cookies, tokens or raw parameter values.
Responsible use
This tool is for reading data from your own accounts and from public pages. You are responsible for following each site's terms of service and robots.txt. Many sites forbid automated access. Conservative defaults (per-domain rate limiting, no CAPTCHA solving, no credential handling) ship on by default, and recipes must not change state on a site (posting, deleting, submitting forms). Review any recipe before running it, especially in a logged-in profile.
Choosing a browser
Runs that need no login (session: none) use one shared browser. Which one is the operator's
choice, in the config file (or API_EVERYTHING__BROWSER), never in a recipe:
browser: |
What runs | Needs |
|---|---|---|
chrome (default) |
your installed Google Chrome, in Chrome's new headless mode | Google Chrome |
chromium |
Playwright's managed Chromium (the headless shell) | uv run playwright install --only-shell chromium, about 106 MB, once |
If the chosen browser is missing, serve exits with one line naming the fix (and a request
gets 503 browser_not_installed) instead of retrying forever. Both options are plain
automated browsers: neither hides that it is one. Logged-in profile:<name> recipes always use
real Chrome, because Chrome and Chromium cannot share one profile's cookies. Speed is not a
reason to pick chromium: it has not been measured against Chrome on a quiet machine.
Development
Want to add a recipe in 2 minutes or contribute code? See CONTRIBUTING.md.
Working with an AI coding agent (Antigravity, Claude Code, ...)? Point it at AGENTS.md
first, and use scripts/check to verify a change (lint + fast tests in about 15 seconds;
scripts/check full for everything).
Requires Python 3.11+ and uv.
uv sync
uv run pytest
uv run ruff check
uv run api-everything validate # load and check every recipe, then exit
The browser tests use your installed Google Chrome (or uv run playwright install chrome).
The tests of the chromium setting also need uv run playwright install --only-shell chromium;
locally they are skipped without it, in CI they fail.
If your project folder is synced by iCloud Drive (macOS "Desktop & Documents"), keep the
virtualenv outside it, for example export UV_PROJECT_ENVIRONMENT=~/.venvs/api-everything.
Synced files can be marked hidden (Python then silently skips the editable install) or
dataless (reading them blocks while macOS downloads them), which looks like missing
imports or tests that hang.
License
Apache-2.0. See LICENSE.
Metadata
Release files for api-everything 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| api_everything-0.7.0.tar.gz | 859.7 kB | Without provenance | Details for api_everything-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| api_everything-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for api_everything-0.7.0-py3-none-any.whl |
Total release size: 1.1 MB
Release files / api_everything-0.7.0.tar.gz
| Download URL | api_everything-0.7.0.tar.gz |
|---|---|
| Size | 859.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3056c050b5b2c084aacc1c299dc5d4c00f166df3a44aaf977f092931540a1609
|
|
BLAKE2b-256 checksum How to use checksums |
1faac38689148957b1c3eb6de5902b9ec62938282875f650925b8a1efd6270d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / api_everything-0.7.0-py3-none-any.whl
| Download URL | api_everything-0.7.0-py3-none-any.whl |
|---|---|
| Size | 285.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aae938f240c69a2aa858938a091664d6aaea241b120cd0722d49cd163dfcd2d8
|
|
BLAKE2b-256 checksum How to use checksums |
9e927c0ee48bf42aa9c0092a262c2f1eedfa6d21aed1013ce288ee83fce58327
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for api-everything 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.