Install the agent. It scans your codebase, audits your API infrastructure, generates adapters, and verifies every call — all automatically.
Your code is never modified. Shadow mode verifies 100% before any traffic moves. One-command rollback.
Read-only scan. No code changes. No credit card. Works with any language.
Install the agent. It scans your codebase and produces a complete API infrastructure report: which APIs you use, where keys are hardcoded, which calls lack error handling, and what's at risk.
The agent maps every detected API to its apitree equivalent, assigns a confidence score, and generates a migration plan. APIs not yet on apitree are auto-reported for priority addition.
Generated adapters call both your original API and apitree simultaneously. Your app uses the original response — business impact is zero. In the background, responses are compared for structural equivalence.
Once shadow mode hits 100% match rate across 100+ requests, promote to canary: 10% of traffic goes through apitree, 90% through the original. Gradually increase to 100%. Auto-fallback on any error.
We built this for companies where API downtime means lost revenue. Every safety mechanism exists because it has to.
The agent creates new adapter files only. Your source code stays untouched. Remove the adapters and you're back to the original state instantly.
apitree-migrate rollback removes all generated files. Works without git. No version control needed. The agent tracks everything it creates.
Every API call is tested against both the original provider and apitree. Only when 100% of responses match structurally does the agent recommend promotion.
TypeScript, Python, Java, Go, Ruby, PHP, C#, Rust. The agent detects SDK imports, URL patterns, and environment variables across all languages.
The agent runs locally. Only provider names and occurrence counts are sent to apitree (for gap reporting). Source code, keys, and business logic stay on your infrastructure.
In canary and full mode, if apitree returns an error, the adapter automatically falls back to the original API. Your users never see a failure.
Real output from scanning a sample project with 6 API providers.
Found 12 source files | Language: typescript
━━ SCAN REPORT ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
openai 3 refs Tier 1 -> apitree: openai-gpt4o
SDK: openai | Files: 3 | Env: OPENAI_API_KEY
stripe 2 refs Tier 1 -> apitree: stripe-payments
SDK: stripe | Files: 2 | Env: STRIPE_SECRET_KEY
resend 2 refs Tier 2 -> apitree: resend-email
SDK: direct URL | Files: 1 | Env: RESEND_API_KEY
coingecko 1 refs Tier 3 -> apitree: coingecko-public
open-meteo 1 refs Tier 3 -> apitree: open-meteo-forecast
github 1 refs Tier 2 -> apitree: github-api
━━ AUDIT ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Score: 58/100 Grade: D
[!!] Hardcoded Stripe key in src/payments.ts:8
[ !] API call without error handling (3 locations)
[ !] API call without timeout (2 locations)
[ ] Same URL hardcoded in 4 files
━━ PLAN ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[ADAPTER] openai conf: 100% -> shadow adapter
[ADAPTER] stripe conf: 100% -> shadow adapter
[URL SWAP] resend conf: 90% -> URL replacement
[URL SWAP] coingecko conf: 90% -> URL replacement
[URL SWAP] open-meteo conf: 90% -> URL replacement
[URL SWAP] github conf: 90% -> URL replacement
Estimated effort: < 5 minutes
Risk: Zero (shadow mode default)
Rollback: apitree-migrate rollbackRun the free audit. No signup required for the scan. If your score is below 80, we can help.