Skip to main content

Quick Start

Get your first API call working in under 5 minutes.

1. Create an account

Sign up at apitree.ai/signup. No credit card required — you get 100 free credits on the Trial plan.

2. Generate an API key

Go to API Keys and create a new key. Copy it — it's shown only once.

3. Make your first call

curl https://apitree.ai/api/v1/proxy/jsonplaceholder-posts/1 \
  -H "Authorization: Bearer nxs_live_YOUR_KEY"

4. Response

{
  "data": {
    "userId": 1,
    "id": 1,
    "title": "sunt aut facere repellat...",
    "body": "quia et suscipit..."
  },
  "meta": {
    "cached": false,
    "latency_ms": 234,
    "credits_used": 0.001,
    "request_id": "req_abc123"
  }
}

That's it. Every API in the apitree catalog follows the same pattern — one token, one endpoint format, standardized responses.

5. Code Examples

# Python
import requests
r = requests.get("https://apitree.ai/api/v1/proxy/exchange-rates",
    headers={"Authorization": "Bearer nxs_live_YOUR_KEY"})
print(r.json()["data"]["rates"]["EUR"])

# Go
req, _ := http.NewRequest("GET", "https://apitree.ai/api/v1/proxy/exchange-rates", nil)
req.Header.Set("Authorization", "Bearer nxs_live_YOUR_KEY")
resp, _ := http.DefaultClient.Do(req)

# JavaScript
const res = await fetch("https://apitree.ai/api/v1/proxy/exchange-rates", {
  headers: { Authorization: "Bearer nxs_live_YOUR_KEY" }
});
const { data } = await res.json();

6. Or use MCP (recommended)

For AI Agent integration, connect to the apitree Remote MCP endpoint — your agent discovers and calls APIs automatically, no install required.

apitree · AI-Native API Marketplace