🇸🇴 Somalia Phone Number API - The only comprehensive Somali phone number validator and generator covering all 10 telecom operators plus landlines
# 🇸🇴 Somalia Phone Number API - Complete Documentation
**The FIRST and ONLY comprehensive Somali phone number API** covering **ALL 10 telecom operators** plus **7 landline regions**. Generate, validate, and analyze Somali phone numbers with industry-standard Google libphonenumber validation.
## ✨ Key Features
- âś… **10 Mobile Operators**: Complete coverage of all Somali telecom operators
- âś… **7 Landline Regions**: Full landline support across Somalia
- âś… **Google libphonenumber**: Industry-standard validation
- âś… **Carrier Lookup**: MCC/MNC codes and network details
- âś… **Bulk Validation**: Process up to 100 numbers at once
- âś… **CSV Export**: Batch export up to 1000 numbers
- âś… **E.164 Compliant**: International standard formatting
- âś… **Production Ready**: Fast, reliable, and scalable
## 🚀 Quick Start
### Python Example
```python
import requests
url = "
somalia-phone-number-api1.p…"
headers = {
"X-RapidAPI-Key": "YOUR_API_KEY",
"X-RapidAPI-Host": "somalia-phone-number-api1.p.rapidapi.com",
"Content-Type": "application/json"
}
payload = {
"operator": "telesom",
"count": 5,
"city": "Hargeisa"
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())
```
### JavaScript/Node.js Example
```javascript
const axios = require('axios');
const options = {
method: 'POST',
url: '
somalia-phone-number-api1.p…',
headers: {
'X-RapidAPI-Key': 'YOUR_API_KEY',
'X-RapidAPI-Host': 'somalia-phone-number-api1.p.rapidapi.com',
'Content-Type': 'application/json'
},
data: {
phone_number: '+252631234567'
}
};
axios.request(options).then(response => {
console.log(response.data);
}).catch(error => {
console.error(error);
});
```
### cURL Example
```bash
curl --request POST \
--url
somalia-phone-number-api1.p… \
--header 'X-RapidAPI-Key: YOUR_API_KEY' \
--header 'X-RapidAPI-Host: somalia-phone-number-api1.p.rapidapi.com' \
--header 'Content-Type: …