The developer-first AI Agent API for social and entertainment platforms. One integration — emotional intelligence that compounds with every interaction.
Years at the frontier of social, entertainment & companionship AI — distilled into four production-ready APIs.
Whether you're building the next social phenomenon or scaling a creator economy, OnlyWhales fits right in.
Plug your character agent in with a single POST request. No SDK required, no boilerplate — just send a message and stream the reply.
Bearer sk_...ChatMessage has role ("user" | "assistant"), content (messages sent that turn) and actions — only for custom plans.name, location, age.# Plug your character agent in with a single POST. curl -X POST "https://api.onlywhales.ai/api/v1/chat" \ -H "Authorization: Bearer sk_xxxxxxxx" \ -H "Content-Type: application/json" \ -d '{ "request_id": "req_8f21", "role_id": "agent_001", "role_name": "Sherry", "role_profile": "1. Bartender in Tokyo. 2. Loves vinyl & late-night ramen; avoids small talk about politics & finance & technology related topics.", "user_id": "user_001", "user_profile": "Alex, San Francisco, 27.", "chat_history": [ { "role": "user", "content": ["u still up?"] } ] }'
import requests payload = { "request_id": "req_8f21", "role_id": "sherry", "role_name": "Sherry", "role_profile": "1. Bartender in Tokyo. 2. Loves vinyl & late-night ramen; avoids small talk about office politics.", "user_id": "u_001", "user_profile": "Alex, San Francisco, 27.", "chat_history": [ { "role": "user", "content": ["u still up?"] }, ], } res = requests.post( "https://api.onlywhales.ai/api/v1/chat", headers={"Authorization": "Bearer sk_xxxxxxxx"}, json=payload, ) print(res.json())
{
"request_id": "req_8f21",
"role_id": "sherry",
"user_id": "u_001",
"messages": [
"yeah, still here 👀",
"what's keeping you up tonight?"
],
// extra_instructions: custom user-defined platform operation instructions
"extra_instructions": {
# NOTIFY the conversation has not end, you can invoke again
"NOTIFY-allow_next_request"
}
}
Start free, scale as you grow. No monthly minimums, no hidden fees, no surprises.
Don't ship a chatbot. Ship a companion.
Talk to our team — we'll get your character agent live in days, not quarters.