Authorization notice. API Anything is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Reverse engineering. The tool records a site's own page requests and rebuilds them as callable operations, so check the site's terms before doing this.
Who it is forA developer who needs one specific data view from a site that has no public API, such as the latest stories on a domain in Hacker News.
The problemWriting a request by hand means reading network traffic and rebuilding headers and tokens for every site.
The outcomeA named operation that takes a new input, such as a domain, and returns its fields as JSON.
What you need first
- Node 22.13 or newer
- git, to clone the repository
- Google Chrome, or another Chromium browser set with API_ANYTHING_BROWSER, for creating operations
- A coding agent such as Claude Code or Codex, if you want the agent to call operations over MCP
- The GitHub CLI, only if you plan to publish a spec
Steps
git clone https://github.com/goodnight000/api-anything.git && cd api-anythingnpm ci && npm install -g "$(npm pack --silent)"api-anything add hn-demo links --trigger 'https://news.ycombinator.com/from?site={domain}' --example domain=github.com --example2 domain=github.io --match path=/from --html '{"items":"tr.athing","fields":{"title":".titleline > a","url":".titleline > a@href"}}'(inferred, check the README)api-anything call hn-demo links domain=arxiv.org
Prompt for your agent
Using the api-anything repo at github.com/goodnight000/api-anything, add an operation for <site> from the page URL <trigger URL with {placeholder}> using two example inputs, then call it with a new input. Expected output is an ok:true JSON result with data for the new input. Verify that the result uses a value that was not one of the two examples.
Caveat. Creating an operation needs a Chromium browser, and the README says repair can fail and that CAPTCHA challenges must be cleared by hand.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for goodnight000/api-anything and "Teach a new site operation from its page request"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer