curl --request GET \
--url 'https://openapi.msu.io/v1rc1/search/suggest?keyword=sword&type=item' \
--header 'Content-Type: application/json' \
--header 'x-nxopen-api-key: YOUR_API_KEY'
const response = await fetch('https://openapi.msu.io/v1rc1/search/suggest?keyword=sword&type=item', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'x-nxopen-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
import requests
url = "https://openapi.msu.io/v1rc1/search/suggest"
params = {
"keyword": "sword",
"type": "item"
}
headers = {
"x-nxopen-api-key": "YOUR_API_KEY"
}
response = requests.get(url, params=params, headers=headers)
data = response.json()
{
"success": true,
"data": {
"suggestions": []
}
}
Market
Suggest Keywords
Retrieve autocomplete keyword suggestions based on a search keyword.
GET
/
v1rc1
/
search
/
suggest
curl --request GET \
--url 'https://openapi.msu.io/v1rc1/search/suggest?keyword=sword&type=item' \
--header 'Content-Type: application/json' \
--header 'x-nxopen-api-key: YOUR_API_KEY'
const response = await fetch('https://openapi.msu.io/v1rc1/search/suggest?keyword=sword&type=item', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'x-nxopen-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
import requests
url = "https://openapi.msu.io/v1rc1/search/suggest"
params = {
"keyword": "sword",
"type": "item"
}
headers = {
"x-nxopen-api-key": "YOUR_API_KEY"
}
response = requests.get(url, params=params, headers=headers)
data = response.json()
{
"success": true,
"data": {
"suggestions": []
}
}
Keywords shorter than 2 characters return an empty list without error. Keywords are case-insensitive (normalized to lowercase internally). Results are cached for 10 seconds per unique
(keyword, type, tokenType) combination.Query parameters
string
Search keyword (minimum 2 characters)
string
required
Autocomplete type (
item, character, user). Returns 400 INVALID_ARGUMENT if not provided.string
Token type filter (
all, nft, ft)integer
Number of results to return
Response
boolean
Indicates if the request was successful
curl --request GET \
--url 'https://openapi.msu.io/v1rc1/search/suggest?keyword=sword&type=item' \
--header 'Content-Type: application/json' \
--header 'x-nxopen-api-key: YOUR_API_KEY'
const response = await fetch('https://openapi.msu.io/v1rc1/search/suggest?keyword=sword&type=item', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'x-nxopen-api-key': 'YOUR_API_KEY'
}
});
const data = await response.json();
import requests
url = "https://openapi.msu.io/v1rc1/search/suggest"
params = {
"keyword": "sword",
"type": "item"
}
headers = {
"x-nxopen-api-key": "YOUR_API_KEY"
}
response = requests.get(url, params=params, headers=headers)
data = response.json()
{
"success": true,
"data": {
"suggestions": []
}
}

