API Reference

Integrate Copyly into your applications with our REST API.

Authentication

All API requests require authentication using your API key:

Authorization: Bearer YOUR_API_KEY

Get your API key from Dashboard → Settings → API Keys

Base URL

https://copyly.ai/api/v1

Endpoints

POST/generate

Generate a product description

Request Body

{
  "productName": "Wireless Bluetooth Headphones",
  "keywords": "wireless, bluetooth, noise-canceling",
  "tone": "Professional",
  "features": "40-hour battery, active noise cancellation",
  "brandVoice": "optional-brand-voice-id"
}

Response

{
  "success": true,
  "description": "Experience premium audio...",
  "seo": {
    "score": 85,
    "grade": "B+",
    "suggestions": ["Add more keywords"]
  },
  "usage": {
    "plan": "pro",
    "used": 253,
    "limit": 500
  }
}
GET/usage

Get current usage statistics

Response

{
  "plan": "pro",
  "used": 253,
  "limit": 500,
  "resetDate": "2025-02-01T00:00:00Z"
}

Rate Limits

PlanRequests/MonthBurst Limit
Free101/sec
Starter1002/sec
Pro5005/sec
AgencyUnlimited10/sec

Error Codes

CodeMeaning
400Bad request - invalid parameters
401Unauthorized - invalid or missing API key
429Rate limit exceeded
500Server error - try again later