Skip to content

Database

API for developers

The same data as the site's pages, as JSON for your own tools, bots and addons. Every record says where the information comes from and whether it is confirmed in WoW Forever – confirmed first, Classic last.

Getting started

  1. Sign in and create a key above or under My account. The account needs a linked login (Discord, Battle.net or Google) – an account with only a name and a password is not enough. The key is shown once – save it.
  2. Send it in the header Authorization: Bearer <key> – never in the URL.
  3. Start with the index, which lists every endpoint and needs no key.

Example

curl -H "Authorization: Bearer fg_…" \
  "https://guide.wow4ever.se/api/v1/items/2589?lang=en"
{
  "api": "v1",
  "lang": "en",
  "attribution": {
    "notice": "…",
    "sources": { "scout": {…}, "import": {…}, "classic": {…}, "addon": {…}, "client": {…} }
  },
  "data": {
    "id": 2589,
    "name": "Linen Cloth",
    "source": "client", "confirmed": false, "license": "client", "build": "…",
    "sources": {
      "drops": [
        { "npc": 1234, "name": "…", "chance": 0.21,
          "source": "confirmed", "confirmed": true, "license": "scout", "players": 4 },
        { "npc": 5678, "name": "…", "chance": 0.18,
          "source": "import", "confirmed": false, "license": "import" }
      ]
    }
  }
}

The key

The key is always sent in the header Authorization: Bearer fg_… . A key in the URL (?key=, ?token= …) is refused with 400, so that it never ends up in logs or browser history.

Keys are personal. You can have five at a time and remove one whenever you like – it stops working at once. We only store a hash of the key.

The API can be called from browsers on other sites (CORS for GET), but never put your key in code that others can read.

Limits

  • At most 60 requests per minute and 10,000 per UTC day per account – all your keys count together, including one you removed during the day. Several accounts behind the same IP address also share a limit of three times that.
  • Above a limit the API answers 429 with the Retry-After header (seconds). Every response has X-RateLimit-Limit-Minute, X-RateLimit-Limit-Day and X-RateLimit-Remaining-Day.
  • The site owner can block a key that is misused. The block covers the account: all of its keys then answer 403, and while the block stands the account can neither remove the blocked key nor create new ones.
  • The block also follows the linked login: a new account with the same Discord, Battle.net or Google account gets no key, even after the old account has been deleted. Only a hash of the login's id is stored in the block list.

The response

Every response is { api, lang, attribution, data }. attribution comes first in every response with the sources and their licences; data is the record or the list. lang=sv or lang=en (default) sets the names of zones, professions and labels.

The source on every record

source
Where the information comes from (see below).
confirmed
true when the information is confirmed in WoW Forever by the guide's players.
license
The key in attribution.sources – the licence that applies to the record.
players
Number of players behind confirmed or reported information – never who.
first_seen, last_seen
First and last day (YYYY-MM-DD), when known.
build
The game client build for data from the client.

The sources

confirmed
Confirmed in WoW Forever by the guide's players (Forever Scout).
reported
Reported in WoW Forever by the guide's players but not confirmed yet.
import
From EG Link – collected in WoW Forever by EG Link's users (CC BY 4.0), not confirmed with Forever Scout.
client
Straight from the WoW Forever game client's data files (build).
new
New in Forever – did not exist in Classic 1.12 – from the game client.
addon
From the OneForAll addon (GPL-3.0-or-later), only where nothing else is known; mostly Classic chances.
classic
According to Classic 1.12 (CMaNGOS classic-db, GPL-3.0) – not confirmed in WoW Forever. Always sorted last.

Endpoints

All are GET and need a key except the index and the licences.

GET /api/v1
Index: every endpoint, the limits and the game client build. No key.
GET /api/v1/items/{id}
Item: values from the game client and where to get it – vendors, drops, objects, quests and recipes.
GET /api/v1/items/{id}/variants/{bonus}
The item with a random bonus (“… of the Owl”): name and stats.
GET /api/v1/items/{id}/prices
Players' auction prices per day, realm and faction, the last 30 days.
GET /api/v1/npcs/{id}
NPC: location, services and what it teaches, wares, quests and loot.
GET /api/v1/objects/{id}
Object (ore, herbs, chests, quest objects): location, quests and contents.
GET /api/v1/quests/{id}
Quest: objectives, rewards, giver, turn-in and the chain (previous, next, the whole chain).
GET /api/v1/professions
Every profession.
GET /api/v1/professions/{slug}
The profession with every recipe: reagents, the colours and where they are learned.
GET /api/v1/instances
Every dungeon, raid and battleground.
GET /api/v1/instances/{slug}
The instance with its bosses in the game's order and their loot.
GET /api/v1/zones
Every zone and city.
GET /api/v1/zones/{slug|id}
The zone with NPCs, mobs and objects and where they are (x and y in percent of the map).
GET /api/v1/search?q={text}&limit={1–50}
The same search as the site, with a link to the right endpoint for every hit.
GET /api/v1/licenses
The sources, what they mean and the terms. No key.

Errors

400
Invalid request – wrong id, slug, language or search text, or a key in the URL.
401
The key is missing, unknown or removed.
403
The key, or another key on the account, is blocked by the site owner.
404
The record does not exist.
429
Above a limit – wait as many seconds as Retry-After says.
503
The API is temporarily unavailable.

What is not provided – and why

Blizzard's auction house and armory
Prices from Blizzard's auction house and the characters in the armory come from Blizzard's Battle.net API. Blizzard's terms do not allow passing that data on to others, so it is only on the site. Players' own auction scans are under /prices.
Items from the hotfix cache
The values of items that exist only on the server and that we know from players' hotfix cache are not provided – only the id and where to get the item. The hotfix cache is never published.
Who contributed
Players' names, accounts, keys and IP addresses are never in the responses – only how many players stand behind a piece of information and on which days.
Single observations
Locations reported by only one player are that player's own position and are not provided; only confirmed locations (as clusters) and EG Link's and Classic's locations.
Characters
Characters' progress, bags and quest logs are private and never provided.

What is provided of players' data is described in the privacy policy.

Terms

  • The API is free and non-commercial. Keys are personal; the limits and blocked keys only govern access to our service.
  • Each source's own licence applies to its records (attribution.sources and the license field on every record). Nothing in these terms restricts what those licences allow – EG Link's CC BY 4.0 and the GPL for CMaNGOS and OneForAll included.
  • Credit the sources as their licences require, and the Forever guide's players (CC BY 4.0) for confirmed and reported data. Say if you changed the data.
  • World of Warcraft content belongs to Blizzard Entertainment. We grant no licence to it, and the API must not be used to sell it.
  • The data is provided as is and may be wrong.

Unofficial, non-profit fan site. World of Warcraft and Blizzard are trademarks of Blizzard Entertainment, Inc.; Blizzard does not endorse this guide.