Tooltip
curl --request POST \
--url https://api.aisa.one/apis/v1/wowhead-com/news/tooltip \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 19019,
"type": "item"
}
'import requests
url = "https://api.aisa.one/apis/v1/wowhead-com/news/tooltip"
payload = {
"id": 19019,
"type": "item"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 19019, type: 'item'})
};
fetch('https://api.aisa.one/apis/v1/wowhead-com/news/tooltip', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/wowhead-com/news/tooltip",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 19019,
'type' => 'item'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/wowhead-com/news/tooltip"
payload := strings.NewReader("{\n \"id\": 19019,\n \"type\": \"item\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/wowhead-com/news/tooltip")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": 19019,\n \"type\": \"item\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/wowhead-com/news/tooltip")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 19019,\n \"type\": \"item\"\n}"
response = http.request(request)
puts response.read_body{
"data_env": 1,
"icon": "inv_sword_39",
"id": 19019,
"locale": 0,
"name": "Thunderfury, Blessed Blade of the Windseeker",
"observed_at_ms": 1790113990451,
"page_url": "https://www.wowhead.com/item=19019",
"quality": 5,
"spells": [],
"tooltip_html": "<table><tr><td><!--nstart--><b class=\"q5\">Thunderfury, Blessed Blade of the Windseeker</b><!--nend--><!--ndstart--><!--ndend--><span class=\"q\"><br>Item Level <!--ilvl-->40</span><!--bo--><br>Binds when picked up<br>Unique<!--ue--><!--ue--><table width=\"100%\"><tr><td>One-Hand</td><th><!--scstart2:7--><span class=\"q1\">Sword</span><!--scend--></th></tr></table><!--rf--><table width=\"100%\"><tr>\n <td><span><!--dmg-->9 - 16 Damage</span></td>\n <th>Speed <!--spd-->2.60</th>\n</tr></table><!--dps-->(4.8 damage per second)<br><span><!--stat3-->+2 Agility</span><br><span><!--stat7-->+3 Stamina</span><!--ebstats--><!--egstats--><!--eistats--><!--nameDescStats--><!--rs--><br>+2 Fire Resistance<br>+2 Nature Resistance<!--e--><!--ps--><br>Durability 130 / 130</td></tr></table><table><tr><td><!--rr--><!--useText:0:1--><span id=\"useText1\" class=\"q2\">Chance on hit: <!--useEffect:0:1--><a href=\"/spell=21992/thunderfury\" class=\"q2\">Blasts your enemy with lightning, dealing <!--pts2:0:0:21992:6.522-->35<!----> Nature damage and then jumping to additional nearby enemies. Each jump reduces that victim's Nature resistance by <!--pts1:0:0:21992:0.543-->3<!---->. Affects 5 targets. Your primary target is also consumed by a cyclone, slowing its attack speed by 20% for 12 sec.</a><!--useEffect:1--></span><!--useText:1--><!--itemEffects:1--><br>Requires Level <!--rlvl-->30<br><!--pvpEquip--><!--pvpEquip--><div class=\"whtt-sellprice\">Sell Price: <span class=\"moneygold\">4</span> <span class=\"moneysilver\">2</span> <span class=\"moneycopper\">63</span></div></td></tr></table>",
"type": "item",
"url": "https://nether.wowhead.com/tooltip/item/19019?dataEnv=1&locale=0"
}Wowhead
Tooltip
Look up a game entity’s name and tooltip by id (ids come from search_suggest). An id the site does not know is not_found.
POST
https://api.aisa.one
/
apis
/
v1
/
wowhead-com
/
news
/
tooltip
Tooltip
curl --request POST \
--url https://api.aisa.one/apis/v1/wowhead-com/news/tooltip \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": 19019,
"type": "item"
}
'import requests
url = "https://api.aisa.one/apis/v1/wowhead-com/news/tooltip"
payload = {
"id": 19019,
"type": "item"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 19019, type: 'item'})
};
fetch('https://api.aisa.one/apis/v1/wowhead-com/news/tooltip', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/wowhead-com/news/tooltip",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 19019,
'type' => 'item'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/wowhead-com/news/tooltip"
payload := strings.NewReader("{\n \"id\": 19019,\n \"type\": \"item\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/wowhead-com/news/tooltip")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": 19019,\n \"type\": \"item\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/wowhead-com/news/tooltip")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 19019,\n \"type\": \"item\"\n}"
response = http.request(request)
puts response.read_body{
"data_env": 1,
"icon": "inv_sword_39",
"id": 19019,
"locale": 0,
"name": "Thunderfury, Blessed Blade of the Windseeker",
"observed_at_ms": 1790113990451,
"page_url": "https://www.wowhead.com/item=19019",
"quality": 5,
"spells": [],
"tooltip_html": "<table><tr><td><!--nstart--><b class=\"q5\">Thunderfury, Blessed Blade of the Windseeker</b><!--nend--><!--ndstart--><!--ndend--><span class=\"q\"><br>Item Level <!--ilvl-->40</span><!--bo--><br>Binds when picked up<br>Unique<!--ue--><!--ue--><table width=\"100%\"><tr><td>One-Hand</td><th><!--scstart2:7--><span class=\"q1\">Sword</span><!--scend--></th></tr></table><!--rf--><table width=\"100%\"><tr>\n <td><span><!--dmg-->9 - 16 Damage</span></td>\n <th>Speed <!--spd-->2.60</th>\n</tr></table><!--dps-->(4.8 damage per second)<br><span><!--stat3-->+2 Agility</span><br><span><!--stat7-->+3 Stamina</span><!--ebstats--><!--egstats--><!--eistats--><!--nameDescStats--><!--rs--><br>+2 Fire Resistance<br>+2 Nature Resistance<!--e--><!--ps--><br>Durability 130 / 130</td></tr></table><table><tr><td><!--rr--><!--useText:0:1--><span id=\"useText1\" class=\"q2\">Chance on hit: <!--useEffect:0:1--><a href=\"/spell=21992/thunderfury\" class=\"q2\">Blasts your enemy with lightning, dealing <!--pts2:0:0:21992:6.522-->35<!----> Nature damage and then jumping to additional nearby enemies. Each jump reduces that victim's Nature resistance by <!--pts1:0:0:21992:0.543-->3<!---->. Affects 5 targets. Your primary target is also consumed by a cyclone, slowing its attack speed by 20% for 12 sec.</a><!--useEffect:1--></span><!--useText:1--><!--itemEffects:1--><br>Requires Level <!--rlvl-->30<br><!--pvpEquip--><!--pvpEquip--><div class=\"whtt-sellprice\">Sell Price: <span class=\"moneygold\">4</span> <span class=\"moneysilver\">2</span> <span class=\"moneycopper\">63</span></div></td></tr></table>",
"type": "item",
"url": "https://nether.wowhead.com/tooltip/item/19019?dataEnv=1&locale=0"
}Request contract
- Method and path: POST /apis/v1/wowhead-com/news/tooltip
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/wowhead-com/news/tooltip
{
"operationId": "wowhead-com.news.tooltip",
"method": "POST",
"path": "/apis/v1/wowhead-com/news/tooltip",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"id": 19019,
"type": "item"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"data_env": {
"description": "Data environment id: 1 live (default), 2 PTR, 4 Classic, 5 TBC, 6 Wrath, 7 Cata, 8 Mists Classic, 11 Diablo 4, 16 Forever.\n\nProvider reference: minimum 1; maximum 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"id": {
"description": "Entity id.\n\nProvider reference: minimum 1.",
"type": "number"
},
"locale": {
"description": "Locale id: 0 en (default), 2 fr, 3 de, 4 cn, 5 tw, 6 es, 7 mx, 8 ru, 9 pt, 10 it, 11 ko.\n\nProvider reference: minimum 0; maximum 20.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 20,
"min": 0
}
},
"type": {
"description": "Entity type slug: item, spell, npc, quest, achievement, object, zone, faction, currency, ... Pattern: ^[a-z-]+$.",
"type": "string"
}
},
"required": [
"id",
"type"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
Wowhead database tooltip for one entity (item, spell, npc, quest, achievement, ...) by type and id from the anonymous tooltip API: name, quality, icon and the rendered tooltip HTML, for a given data environment (1 live, 16 Forever, ...) and locale.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
data_env | number | |
icon | string | Icon name; null when the type has none. |
id | number | |
locale | number | |
name | string | |
observed_at_ms | number | Unix time in milliseconds when this program read the source. |
page_url | string | Wowhead database page for the entity. |
quality | number | Item quality id; null when the type has none. |
spells | number[] | Spell ids referenced by the tooltip; null when absent. |
tooltip_html | string | Rendered tooltip HTML as served by Wowhead. |
type | string | |
url | string | Tooltip API URL fetched. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.