SMSOnline API Doc
  1. Lookup API
SMSOnline API Doc
  • Preparation
  • FAQ
  • V3
    • Customer API
      • Payments
        • Cryptocurrency via Cryptomus
          • Create new payment
          • Get direct wallet
          • Get transaction status
        • Credit Card via Pay4bit
          • Create new payment
      • Favourites
        • Get favourite services
        • Toggle favourite status
      • Get Account Balance
      • Get invoices
      • Get Coupons
    • Phones API
      • Lookup API
        • Get service list by country and carrier
          GET
        • Get service detail by country and carrier
          GET
      • Inventory API
        • Get inventory
      • Order API
        • Order a number
        • Get order data
        • Change order status
      • Get Popular list
        GET
      • Get all available countries/carriers
        GET
    • Statistics API
      • Get statistics
  • V2(Deprecated)
    • Warning: V2 API is deprecated
    • Account
      • Get Balance
      • Make a top-up with crypto
      • (Get direct wallet address) Make a top-up with crypto
    • Lookup
      • Get Available Countries
      • Get Available Services
      • Get Service Details
      • Get the country stats with success rates
    • Manage phone numbers
      • Purchase Number
      • Return Number
      • Request Another SMS
      • Get Status of A Single Number
      • Get Bulk Status of Numbers With Conditions
  1. Lookup API

Get service detail by country and carrier

Developing
GET
https://api-x.smsonline.cloud/v3/numbers/service/{service}
Get service details.
Get a list of other countries that can receive from the same service and a list of different carriers in the same country.

Request

Path Params
service
string 
required
Internal service name.
Example:
qf
Query Params
apiKey
string 
required
Example:
{{APIKey}}
userId
string 
required
Example:
{{userid}}
country
string 
required
Internal country code.
Example:
3
carrier
string 
required
Carrier name.
Example:
any

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://api-x.smsonline.cloud/v3/numbers/service/qf?apiKey={{APIKey}}&userId={{userid}}&country=3&carrier=any'

Responses

🟢200Success
application/json
Body
ok
boolean 
required
body
object 
required
data
object 
required
Example
{
    "ok": true,
    "body": {
        "data": {
            "id": "qf",
            "name": "RedBook",
            "price": 1.6,
            "m": "_",
            "n": "_",
            "quantity": 90,
            "discountRate": 0.8,
            "deliverability": 66.67,
            "countryList": [
                {
                    "country_id": 0,
                    "country_name": "Russia",
                    "price": 0.2,
                    "m": "_",
                    "n": "_"
                },
                {
                    "country_id": 52,
                    "country_name": "Thailand",
                    "price": 0.2,
                    "m": "_",
                    "n": "_"
                },
                {
                    "country_id": 43,
                    "country_name": "Germany",
                    "price": 0.2,
                    "m": "_",
                    "n": "_"
                },
                {
                    "country_id": 7,
                    "country_name": "Malaysia",
                    "price": 0.28,
                    "m": "_",
                    "n": "_"
                }
            ],
            "carrierList": [
                "any",
                "china_unicom",
                "chinamobile",
                "unicom"
            ]
        }
    }
}
Modified at 2025-05-17 05:41:20
Previous
Get service list by country and carrier
Next
Get inventory
Built with