API Documentation

StellarScript B2B API - personality analysis & compatibility matching

v2.1 (2025.12)Lunar / leap month support

StellarScript API

A B2B API service that delivers an individual's personality traits, fortune trends, and interpersonal compatibility as quantified data based on date of birth.

AI-powered analysis
Avg. 200ms response
99.9% uptime
Global time zones

Quick Start

Base URL

https://stellar-script.com/api/v1/b2b

Authentication

Authorization: Bearer YOUR_API_KEY

Content-Type

Content-Type: application/json

Use Cases by Industry

Dating / Matching

Compatibility-based matching, relationship type analysis, optimal partner recommendation

compatibility/paircompatibility/match

HR / Recruiting

Team composition optimization, collaboration compatibility, personality-based interview guides

profile/fullcompatibility/pairprofile/interaction

Marketing / Commerce

Customer segmentation, personalized recommendations, campaign targeting

profile/consumerprofile/full

AI / Chatbots

Personalized conversation styles, tailored response strategies

profile/interactionprofile/full

Gaming / Entertainment

Character creation, story personalization, fortune content

profile/fullcompatibility/pair
Lunar & Leap Month Support

All APIs support both solar and lunar calendars.

{
  "birthInfo": {
    "birthDate": "1990-05-15",
    "birthTime": "14:30",
    "gender": "MALE",
    "timezone": "Asia/Seoul",
    "calendarType": "LUNAR",
    "isLeapMonth": false
  }
}

API Endpoints

POST/profile/full
Full Profile Analysis
$0.05

Analyzes an individual's innate personality across 7 categories.

📊 Returned data

Personality type and traits
Strength / weakness keywords
Score per category (0-100)

💡 Use cases

Counseling / CoachingGenerate tailored counseling guides

Identifies a client's personality to suggest an effective counseling approach.

Example: For a client with an "analytical" personality type, data- and logic-based explanations work best

HR / RecruitingOptimize team composition

Analyzes applicants' personalities to predict team chemistry.

Example: Match fields with high aptitude scores to the actual applied position

Self-improvement appsPersonalized growth roadmap

Recommends self-improvement content suited to the user's personality.

Example: Prioritize communication-skill content for users with low interpersonal scores

POST/profile/interaction
LLM Conversation Style Guide
$0.02

Generates a personalized system prompt for AI chatbot / counseling services.

📊 Returned data

System prompt fragment
Preferred conversation style
Communication patterns to avoid

💡 Use cases

AI chatbotsPersonalized AI assistant

Converses with a different tone and approach for each user.

Example: Lead with the conclusion for "direct" users, and with acknowledging emotions for "empathetic" users

Education platformsLearning-style tailored feedback

Applies a feedback style suited to the student's personality.

Example: Provide feedback that acknowledges even small achievements for perfectionist students

Customer servicePersonality-based response strategy

Identifies the preferred communication style of VIP customers.

Example: Provide detailed data to analytical customers, and storytelling to emotional ones

POST/profile/consumer
Consumer Behavior Analysis
$0.02

Analyzes consumption tendencies for marketing and commerce services.

📊 Returned data

Consumption pattern type
Purchase decision factors
Marketing responsiveness prediction

💡 Use cases

E-commercePersonalized product recommendations

Prioritizes products that match the user's consumption tendencies.

Example: Limited-time discounts for impulse buyers, comparison information for planned buyers

MarketingCampaign targeting

Identifies segments with high responsiveness to marketing messages.

Example: Send new-product launch notifications first to trend-sensitive customers

CRMCustomer segmentation

Classifies customer groups based on consumption tendencies.

Example: Offer premium services to personality groups predicted to have high LTV

POST/profile/fortuneComing Soon
Fortune Trend Analysis
$0.04

Analyzes fortune scores and trends across 5 major categories at a given point in time.

📊 Returned data

Scores for 5 major categories (0-100)
Trend direction (UP/DOWN/STABLE)
Monthly peak / caution periods

💡 Use cases

Fortune / lifestyle appsDaily / monthly fortune content

Provides personalized fortune information to users.

Example: Automatically generate content such as today's fortune and this month's lucky days

Dating appsMatch timing recommendations

Encourages active matching during periods of good romantic luck.

Example: Push notification "Now is a great time to meet someone!" during a romantic-luck upswing

Health / wellnessHealth caution period alerts

Recommends rest during periods of low health luck.

Example: Recommend stress-management content during a health-luck downturn

POST/compatibility/pair
Two-Person Compatibility Analysis
$0.08

Analyzes the compatibility of two people and classifies it by relationship type.

📊 Returned data

Overall compatibility score (0-100)
Relationship type code and description
Strengths / cautions advice

💡 Use cases

Dating appsMatch score and chemistry analysis

Shows the compatibility score and relationship characteristics of two users.

Example: Display as "82 points - two people who become more complete because they differ"

Matchmaking agenciesCouple compatibility report

Generates a detailed compatibility report between members.

Example: Provide detailed scores such as emotional harmony, values, and growth potential

Team building / HRCheck collaboration compatibility

Predicts collaboration chemistry between team members.

Example: Recommend complementary combinations when forming project teams

POST/compatibility/match
1:N Best Match
$0.1+α

Finds the best-matching candidate for one person from up to 50 people.

📊 Returned data

Top N candidate list (by score)
Compatibility score per candidate
Relationship type and recommendation reason

💡 Use cases

Dating appsRecommendation list sorting

Determines recommendation order based on compatibility scores.

Example: Determine final ranking by compatibility score after general filtering

Matchmaking servicesBest match selection

Automatically matches the most compatible partner among members.

Example: Send the 3 weekly best matches by email

Mentoring platformsMentor-mentee matching

Recommends mentor-mentee combinations with matching personalities.

Example: Prioritize mentors with high "growth partner" compatibility

Request Example

curl -X POST https://stellar-script.com/api/v1/b2b/profile/full \
  -H "Authorization: Bearer ss_live_xxxxxxxxxxxxxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "birthInfo": {
      "birthDate": "1990-05-15",
      "birthTime": "14:30",
      "gender": "MALE",
      "timezone": "Asia/Seoul"
    }
  }'

Response Format

// Success response
{
  "success": true,
  "data": {
    // Analysis result per endpoint
  },
  "meta": {
    "requestId": "uuid-xxx",
    "processingTimeMs": 234,
    "billedAmount": 2,
    "endpoint": "/api/v1/b2b/..."
  }
}

// Error response
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "The input format is invalid."
  }
}

Error Codes

400VALIDATION_ERROR
Invalid input data format
401UNAUTHORIZED
API key missing or invalid
403FORBIDDEN
Insufficient permissions
429RATE_LIMITED
Request limit exceeded
500INTERNAL_ERROR
Internal server error

Get Started Now

Test the API with a free trial and apply it to your service.