Deepseek AI International

Getting Started: Your First “Hello World” with the DeepSeek API Platform
Share your love
So you’ve heard the buzz about DeepSeek’s AI models — from intelligent chat to code generation — and you’re ready to try it out. Great news: you can integrate and run your first API call in under 5 minutes.
This guide will walk you step-by-step through your first “Hello World” project using the DeepSeek API Platform, whether you prefer Python, Node.js, or a simple HTTP request.
Step 1: Get Your API Key
- Visit the DeepSeek Developer Console.
- Create a free account or log in.
- Go to API Keys → Generate New Key.
- Copy your key — you’ll need it for authentication.
⚠️ Important: Keep your API key private. Never hard-code it into client-side code or share it publicly.
Step 2: Choose Your Language
You can access the DeepSeek API via:
- ✅ Python SDK (
pip install deepseek) - ✅ Node.js SDK (
npm install deepseek-sdk) - ✅ Or standard HTTPS requests (cURL/Postman)
Let’s look at all three examples.
Option 1: Python Example
from deepseek import DeepSeek
client = DeepSeek("YOUR_API_KEY")
response = client.chat.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "Hello, DeepSeek!"}]
)
print(response.output)
Output:
Hello! How can I assist you today?
Option 2: Node.js Example
import DeepSeek from "deepseek-sdk";
const client = new DeepSeek("YOUR_API_KEY");
const response = await client.chat.create({
model: "deepseek-chat",
messages: [{ role: "user", content: "Hello, DeepSeek!" }]
});
console.log(response.data.output);
Output:
Hello! How can I assist you today?
Option 3: Direct API Call (cURL)
curl https://api.deepseek.international/v1/chat \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-chat",
"messages": [{"role": "user", "content": "Hello, DeepSeek!"}]
}'
Step 3: Test in the Playground
Before integrating into your app, try the DeepSeek Playground.
Here you can:
- Experiment with model parameters like temperature and max tokens
- View request and response JSON
- Export working code snippets directly into your project
Step 4: Integrate with Your App
Once your API call works, you can easily connect it to:
- Your web backend for chat or automation
- A Slack bot or Discord bot
- A CRM system for intelligent replies
- A frontend widget powered by DeepSeek responses
If you’re building something interactive, remember to handle rate limits and response streaming for optimal performance.
Step 5: Monitor and Optimize
Check the DeepSeek Dashboard to:
- Monitor token usage
- Analyze response times
- View error logs
- Upgrade to higher throughput tiers as you scale
Common Setup Issues
| Issue | Cause | Solution |
|---|---|---|
401 Unauthorized | Invalid API Key | Double-check your credentials |
429 Too Many Requests | Rate limit exceeded | Implement queuing or upgrade plan |
Invalid JSON | Formatting error | Validate payload structure |
Your First 10 Minutes with DeepSeek: Complete!
You’ve now successfully authenticated, sent your first request, and received a working response from DeepSeek’s API.
From here, you can explore advanced models like DeepSeek Coder, DeepSeek VL, or DeepSeek Math to build real-world AI products.
🚀 Next Steps






