Skip to main content
v1 API는 API 키 인증을 사용합니다.

API 키 발급

대시보드에서 API 키를 발급받을 수 있습니다.

인증 헤더

모든 요청에 X-API-Key 헤더를 포함해야 합니다.
curl -X POST https://api.sajuapi.dev/v1/fortunes/daily \
  -H "X-API-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"birthDate": "1994-12-30", "birthTime": "17:01"}'

에러 응답

인증 실패 시 다음 응답이 반환됩니다:
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid or missing API key"
  }
}

Rate Limits

플랜요청 제한
Free100 요청/일
Pro10,000 요청/일
Enterprise무제한