API Documentation

All CuteDSL services use a single unified endpoint. Authenticate with your API key, specify the service, and send your request.

Authentication

Connect your Solana wallet on the homepage to get your API key.

Once connected, your real API key will automatically replace YOUR_API_KEY in all code examples on this page.

Quick Start

All services share a single endpoint: POST /api/service

curl -X POST https://cutedsl.cc/api/service \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "service": "<service_name>",
    ...service-specific parameters
  }'

Response Format

All responses follow this envelope:

{
  "result": { ... },        // Service-specific response data
  "credits_used": 1000,     // $CUTEDSL tokens deducted
  "credits_remain": 49000,  // Remaining balance
  "usd_equivalent": 1.00    // USD value of credits used
}
401 — Invalid or missing API key
402 — Insufficient $CUTEDSL credits

Available Services