API v1.0

API Documentation

Integrate TailG's powerful color tools into your applications with our RESTful API.

Fast & Reliable

99.9% uptime with global CDN

Secure

OAuth 2.0 and API key authentication

RESTful

Clean, predictable REST API design

Well Documented

Comprehensive docs with examples

Quick Start Example

Get started with TailG API in minutes

JavaScript
// Generate a color palette
const response = await fetch('https://api.tailg.vip/v1/palettes/create', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    baseColor: '#3B82F6',
    count: 5,
    harmony: 'complementary'
  })
});

const palette = await response.json();
console.log(palette);
Python
import requests

# Generate a color palette
response = requests.post(
    'https://api.tailg.vip/v1/palettes/create',
    headers={
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json'
    },
    json={
        'baseColor': '#3B82F6',
        'count': 5,
        'harmony': 'complementary'
    }
)

palette = response.json()
print(palette)
cURL
curl -X POST https://api.tailg.vip/v1/palettes/create \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "baseColor": "#3B82F6",
    "count": 5,
    "harmony": "complementary"
  }'

Rate Limits

Free Tier1,000 requests/day
Pro Tier10,000 requests/day
EnterpriseUnlimited

API Status

Status
Operational
Uptime99.9%
Response Time~50ms

Ready to Start Building?

Get your free API key and start integrating TailG into your applications today.