Keyword lookup
Check whether a keyword is still free on a short code before you register it, with the legacy HTTP API.
https://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspxParameters
| Parameter | In | Description |
|---|---|---|
| USERID stringrequired in body | body | Your Wire2Air user ID. |
| PASSWORD stringrequired in body | body | Your Wire2Air password. |
| VASID stringrequired in body | body | Your VASID. |
| SHORTCODE stringrequired in body | body | The short code to check. |
| KEYWORD stringrequired in body | body | The keyword you want. |
Examples
curl "https://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspx" \
--data-urlencode "USERID=YOUR_USERID" \
--data-urlencode "PASSWORD=YOUR_PASSWORD" \
--data-urlencode "VASID=YOUR_VASID" \
--data-urlencode "SHORTCODE=27126" \
--data-urlencode "KEYWORD=coupon"
import urllib.error
import urllib.parse
import urllib.request
params = urllib.parse.urlencode({
"USERID": "YOUR_USERID",
"PASSWORD": "YOUR_PASSWORD",
"VASID": "YOUR_VASID",
"SHORTCODE": "27126",
"KEYWORD": "coupon",
})
request = urllib.request.Request(
"https://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspx",
data=params.encode("utf-8"),
method="POST",
)
try:
with urllib.request.urlopen(request, timeout=30) as response:
print(response.status, response.read().decode("utf-8"))
except urllib.error.HTTPError as error:
print(error.code, error.read().decode("utf-8"))
const params = new URLSearchParams({
USERID: "YOUR_USERID",
PASSWORD: "YOUR_PASSWORD",
VASID: "YOUR_VASID",
SHORTCODE: "27126",
KEYWORD: "coupon",
});
const response = await fetch("https://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspx", {
method: "POST",
body: params, // sent as application/x-www-form-urlencoded
});
console.log(response.status, await response.text());
<?php
$params = http_build_query([
'USERID' => 'YOUR_USERID',
'PASSWORD' => 'YOUR_PASSWORD',
'VASID' => 'YOUR_VASID',
'SHORTCODE' => '27126',
'KEYWORD' => 'coupon',
]);
$ch = curl_init('https://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspx');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $params,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
]);
$body = curl_exec($ch);
if ($body === false) {
echo 'Request failed: ' . curl_error($ch) . PHP_EOL;
} else {
echo curl_getinfo($ch, CURLINFO_HTTP_CODE) . ' ' . $body . PHP_EOL;
}
curl_close($ch);
using System;
using System.Collections.Generic;
using System.Net.Http;
var parameters = new Dictionary<string, string>
{
["USERID"] = "YOUR_USERID",
["PASSWORD"] = "YOUR_PASSWORD",
["VASID"] = "YOUR_VASID",
["SHORTCODE"] = "27126",
["KEYWORD"] = "coupon",
};
using var client = new HttpClient();
using var request = new HttpRequestMessage(HttpMethod.Post, "https://mzone.wire2air.com/mserver/servicemanager/api/checkkeywordapi.aspx")
{
Content = new FormUrlEncodedContent(parameters),
};
using var response = await client.SendAsync(request);
Console.WriteLine($"{(int)response.StatusCode} {await response.Content.ReadAsStringAsync()}");
Response
| Response | Meaning |
|---|---|
Err:0: Keyword is available | The keyword is free. Despite the Err: prefix, this is the success response. |
Err:705:Keyword is taken, Please try another keyword | Someone already uses the keyword on this short code. |
Next: register the keyword.

