Macademia Tree logo Macademia Tree
Sign In

Authentication

All requests require a Bearer token in the Authorization header.

1

Get your API key

Sign up and create a key from your dashboard. Each account can have up to 3 active keys.

2

Add to your request

curl -X GET "https://macademiatree.com/api/v2/domains" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
3

Check rate limit headers

Every response includes your current usage:

X-RateLimit-Limit: 100
X-RateLimit-Remaining: 99
X-RateLimit-Reset: 1742688000
X-RateLimit-Monthly-Limit: 3000
X-RateLimit-Monthly-Remaining: 2999

Key format: API keys are prefixed with pk_live_ followed by a random string. The full token is only shown once at creation time — store it securely.