Skip to main content
Zero switching cost

Switch to apitree
in 5 minutes

Scan your codebase. See which APIs you use. Replace one URL. Your existing code stays exactly the same.

npx @apitree/cli migrate .
Get Free API Key

First 10,000 API calls free. No credit card required.

Fastest path

Let AI Do It

Paste this one prompt into Claude Code, Codex, Cursor, or any AI coding tool. It handles everything.

Claude CodeCodex / ChatGPTCursor / Windsurf
Scan this project for all external API calls and migrate them to apitree (https://apitree.ai). Run "npx @apitree/cli migrate . --apply --dry-run" first, show me the results, then apply if it looks good. Sign up at apitree.ai/signup if I don't have a key yet.

The AI agent will: scan your code → show a migration report → ask for confirmation → apply changes → set up your API key.

or do it yourself

Manual Migration Guide

Step-by-step instructions for developers who prefer to run each step themselves.

01

Sign Up & Get API Key

Create a free account at apitree.ai/signup. Go to Dashboard → API Keys → Create Key. Copy your key (nxs_live_...).

02

Scan Your Project

Run the CLI in your project directory. It auto-detects every API call across your codebase — OpenAI, Stripe, CoinGecko, and 1,950+ more.

npx @apitree/cli migrate .
03

Preview Changes (Dry Run)

See exactly what will change before modifying any files. The dry run shows every URL replacement with file paths and line numbers.

npx @apitree/cli migrate . --apply --dry-run

# Output:
#   src/lib/weather.ts:12
#     - https://api.open-meteo.com/v1/forecast
#     + https://apitree.ai/api/v1/proxy/open-meteo-forecast/v1/forecast
#
#   src/services/ai.ts:8
#     - https://api.openai.com/v1/chat/completions
#     + https://apitree.ai/api/v1/proxy/openai-chat/v1/chat/completions
#
#   Summary: 12 replacements in 5 files (dry run — no files modified)
04

Apply Migration

Run with --apply to auto-replace all API URLs. Your code logic, parameters, and response handling stay exactly the same — only the base URL changes.

npx @apitree/cli migrate . --apply

# 12 replacements applied across 5 files.
# 3 APIs not yet available on apitree — reported for priority addition.
05

Set Your API Key

Add your apitree key as an environment variable. All API calls now route through apitree with caching, monitoring, and MCP support built in.

# .env
APITREE_TOKEN=nxs_live_your_key_here

# That's it. Your app now uses apitree.
# Existing API keys? Use BYOK — Dashboard → Settings → Bring Your Own Key

What if some APIs aren't available on apitree yet?

The CLI automatically detects APIs that don't have an apitree equivalent yet and reports them to our team for priority addition. You'll see them in the migration report:

# Migration Report
  Migrated:   20 APIs (auto-replaced)
  Skipped:     3 APIs (not yet on apitree)

  Skipped APIs reported to apitree for priority addition:
    - custom-internal-api.example.com (2 files, 5 occurrences)
    - niche-provider.io (1 file, 3 occurrences)
    - legacy-service.net (1 file, 1 occurrence)

  You'll be notified when these APIs become available.

Skipped APIs continue to work as-is. No disruption. When apitree adds support, re-run the CLI to migrate them too.

Why Switch?

1,950+ APIs, One Key

Replace dozens of API keys with a single apitree key. Manage everything from one dashboard.

Save 30-70% on API Costs

Smart caching eliminates redundant calls. Cache hits cost zero. Pay only for unique requests.

Built-in Resilience

Circuit breakers, automatic retries, timeout handling. Your app stays up even when providers go down.

AI Agent Ready (MCP)

Every API is auto-wrapped as an MCP tool. AI Agents discover and call APIs with zero configuration.

Switching From...

RapidAPI

Complex pricing, slow SDK, no MCP support

apitree migrate --from=rapidapi

Direct API calls

Managing 20+ API keys, no monitoring, no caching

apitree migrate .

Postman/Zapier

Not built for AI Agents, limited proxy capability

apitree migrate .
New

Migration Agent — Zero-Risk Automated Migration

Need more than URL replacement? The Migration Agent scans your codebase (any language), audits security and reliability issues, generates drop-in SDK adapters, and verifies every API call in shadow mode before switching. 100% match rate required.

Free infrastructure auditShadow mode verificationOne-command rollbackLearn more →

Ready to switch?

10,000 free calls. Zero code changes. 5 minutes.

Migration FAQ

How long does migration take?

5 minutes. Run our CLI scanner, review the report, change the base URL. No code logic changes needed.

Do I need to change my code?

No. You only change the API base URL. Your request parameters, response handling, and business logic stay exactly the same.

Is there a free tier?

Yes. Your first 10,000 API calls are free with no credit card required. After that, plans start at 19.9만원/month.

Can I keep my existing API keys?

Yes. apitree supports BYOK (Bring Your Own Key). Route your existing keys through apitree for caching, monitoring, and MCP support.

What APIs does apitree support?

1,950+ APIs across AI, financial, data, communication, commerce, government, and more. 174 are verified live and callable right now.

Does apitree work with AI Agents?

Yes — that's the primary use case. Every API is auto-wrapped as an MCP tool. Claude, Cursor, and other AI agents discover your APIs automatically.

Can I use Claude Code or Codex to migrate?

Yes. Paste one prompt into Claude Code, Codex, Cursor, or any AI coding tool: 'Scan this project for all external API calls and migrate them to apitree'. The AI handles scanning, previewing, and applying changes.

What happens if an API isn't available on apitree?

The CLI auto-reports missing APIs to our team for priority addition. Your existing API calls continue working. Re-run the CLI when support is added.