Anything-to-API turns websites into reusable APIs for AI agents and programs.
An agent explores the UI, observes the underlying requests, validates reusable operations, and saves them locally. Future tasks call those operations directly instead of automating the site again.
Requires Node.js 20+, Git, and macOS or Linux. One line:
curl -fsSL https://raw.githubusercontent.com/vrlda/anything-to-api-skill/v1.1.1/install.sh | bashOr tell a capable coding agent:
Install the Anything-to-API skill from https://github.com/vrlda/anything-to-api-skill
Installer registers one portable Agent Skill in standard shared location and compatibility locations for Claude Code, Codex, and OpenCode. Runtime and browser dependencies remain internal to skill.
Talk to agent—no Anything-to-API commands needed.
/api https://example.com
Learn how to list and download invoices from Example.
Download all my Example invoices from 2026.
What actions have you learned for Example?
The saved Example integration stopped working. Repair it and retry.
Agent discovers site on first request, asks before consequential actions, and reuses saved definition afterward.
- Any client implementing Agent Skills
SKILL.mdstandard through~/.agents/skills - Claude Code through
~/.claude/skills - OpenCode through
~/.config/opencode/skillsand shared compatibility paths - Codex through
~/.codex/skills
Skill contains no Codex-specific workflow. Vendor metadata is optional and ignored by other agents.
- Browser/network discovery and reusable REST, GraphQL, form, multipart, WebSocket, and download operations
- Structured, validated YAML/JSON site definitions
- Browser-session, environment, callback, profile, and OS-keychain authentication
- Pagination, prerequisites, refresh flows, retries, response validation, and file output
- Safe browser fallback where direct requests cannot work
- Incremental learning and guarded self-repair
- MCP, OpenAPI, and TypeScript SDK adapters for generated applications
- Secret redaction and side-effect authorization policy
Definitions live in ~/.anything-to-api/sites; session material stays separate in ~/.anything-to-api/sessions. Secrets never belong in site specs.
Architecture and internals: architecture, site specification, discovery, authentication, security, and contributing.
MIT licensed.