One API, covering 200+ countries and regions. Deliver verification codes, notifications, and marketing messages worldwide.
Simple, stable global SMS service that lets developers focus on their business
Send SMS to 200+ countries and regions with a single API integration.
Multi-channel smart routing, average delivery time < 5s for critical messages.
99.9% availability, delivery status callbacks, full message tracking.
A clean RESTful API that integrates through standard HTTP requests.
From registration to sending your first SMS in just minutes.
// Set the API endpoint for your data center.
const API_BASE = 'https://sms-cn.maiyun.net';
fetch(API_BASE + '/api/send', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({
area: 'cn',
phone: 13800138000,
sign: 'YOUR_APPROVED_SIGN_UID',
text: 'Your verification code is 123456, valid for 5 minutes.',
})
})
.then(r => r.json())
.then(data => {
console.log(data.result); // => 1
console.log(data.uid);
});Use the API endpoint for the data center where your resources and Token reside, regardless of interface language or recipient region.
Pay per message sent, no hidden fees
No upfront commitment required. Pay for what you use. Ideal for variable sending volumes.
Commit to an annual volume and unlock lower per-message rates. The more you send, the less you pay.