Base URL: https://sim.codediera.com/api/v1
Authorization: Bearer <YOUR_TOKEN> to every request.To revoke a token, go back to Profile → API Access and click Revoke next to that token.
Bearer Use a Laravel Sanctum Personal Access Token.
Header: Authorization: Bearer <YOUR_TOKEN>
GET /services/smm — list SMM services
category, typeGET /services/sms/countries — list available SMS countries
GET /services/sms — list SMS services or prices
country_id — when present, returns pricing and stock for that countryGET /services/virtual-numbers — list virtual numbers
country_id, service_code, provider, statusGET /me — verify token and get your profile
cURL:
curl -H "Accept: application/json" \ -H "Authorization: Bearer YOUR_TOKEN" \ "https://sim.codediera.com/api/v1/services/smm?category=Instagram"
JavaScript (fetch):
fetch("https://sim.codediera.com/api/v1/services/sms?country_id=1", {
headers: {
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN"
}
}).then(r => r.json()).then(console.log);
PHP (Guzzle):
$client = new \GuzzleHttp\Client([
'base_uri' => 'https://sim.codediera.com/api/v1',
'headers' => ['Authorization' => 'Bearer YOUR_TOKEN', 'Accept' => 'application/json'],
]);
$res = $client->get('/services/virtual-numbers', ['query' => ['status' => 'available']]);
echo $res->getBody();
Python (requests):
import requests
BASE = "https://sim.codediera.com/api/v1"
headers = {"Authorization": "Bearer YOUR_TOKEN", "Accept":"application/json"}
r = requests.get(f"{BASE}/services/sms/countries", headers=headers)
print(r.json())
Successful response format:
{
"ok": true,
"data": [...]
}
Error examples:
Create a Personal Access Token for your account and include it as a Bearer token in requests.
This API is read‑only. If you need ordering endpoints, contact support to enable write operations with balance checks and idempotency.