Quick Start
Get started with Panda World in under 30 seconds. You only need two things: an API key and the endpoint URL.
Base URL: https://api.pandaworld.space/v1
1
1. Get Your API Key
- Sign up at the Dashboard
- Go to API Keys → Create Key
- Copy the sk-... key (you won’t see it again)
2
2. Make Your First Request
Replace the model ID, API key, and message content with your own. We recommend starting with deepseek-v4-flash for the best balance of speed, quality, and cost.
cURL
curl https://api.pandaworld.space/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $PANDA_API_KEY" \
-d '{
"model": "deepseek-v4-flash",
"messages": [
{"role": "user", "content": "Hello! Say hello back in Chinese."}
]
}'Python
from openai import OpenAI
client = OpenAI(
base_url="https://api.pandaworld.space/v1",
api_key="sk-your-key-here"
)
response = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Hello! Say hello back in Chinese."}]
)
print(response.choices[0].message.content)
# => "你好!很高兴见到你!"Node.js
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.pandaworld.space/v1",
apiKey: "sk-your-key-here",
});
const response = await client.chat.completions.create({
model: "deepseek-v4-flash",
messages: [{ role: "user", content: "Hello! Say hello back in Chinese." }],
});
console.log(response.choices[0].message.content);
// => "你好!很高兴见到你!"Example Response
The API returns a JSON response — the model's reply is in choices[0].message.content:
JSON
{
"id": "chatcmpl-abc123",
"object": "chat.completion",
"model": "deepseek-v4-flash",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "你好!很高兴见到你!"
},
"finish_reason": "stop"
}],
"usage": {
"prompt_tokens": 14,
"completion_tokens": 9,
"total_tokens": 23
}
}💡 Tip: You can change the model parameter to any supported model. See Models & Pricing for the full list.
3
3. Check Your Usage
Visit the Usage Dashboard to see your request history, token count, and remaining balance.