ready-made APIby Audrey Davis

BG3 Wiki Spells, Items & Classes

bg3.wiki

Look up Baldur's Gate 3 reference data from bg3.wiki: classes and subclasses, spells filtered by level, school or class, items by category, quests, and a keyword search across the wiki.

Writ CloudRESTMCPwebhookschedule2 credits / call

No website sign-in or persona needed. Free to install. Try any function below with your own values, no account: 10 free credits a day per device. Cloud calls after that use your own credits. Pricing →

The name bg3.wiki belongs to its owner. This API is not affiliated with, endorsed by or sponsored by bg3.wiki. You are responsible for how you use it.

Functions included in this API

01 · Functions9 functions

The form is the docs.

Choose a function, fill in its inputs, and run it: the answer comes back from the live site, with your values. Without an account you get 10 free credits a day per device for this; install the listing in Writ to keep calling it.

9 functionschoose one to explore
01list_classesList all playable classes in Baldur's Gate 3 (the 12 base classes from bg3.wiki Category:Classes) with their wiki URLs.02search_wikiSearch the BG3 wiki (bg3.wiki) by keyword. Returns up to 20 results with title, text snippet and URL.03list_spellsList spells from bg3.wiki (player spells, NPC-only excluded), optionally filtered by level (0-6), school of magic, or class. Only one filter applies, priority level > school > class; without filters returns all spells. Each item has name and url.04list_items_by_categoryList items in a bg3.wiki category (e.g. Weapons, Amulets, Armour, Light Armour, Greatswords, Staves, Shields, Rings, Clothing). 'Armour' combines Light, Medium and Heavy Armour. Each item has name and url.05get_questQuest information from bg3.wiki: resolved name (follows redirects), url, introductory description and section headings.06get_itemItem details from bg3.wiki: uid, type, rarity, price, weight, quote, description; damage/damage_type for weapons, armour_class for armour (absent otherwise).07get_subclassSubclass details from bg3.wiki: name, url, description, parent_class and features (names).08get_spellSpell details from bg3.wiki: level, school, summary, description, damage, damage_type, cost, save, range (m), aoe, concentration and the classes that have it on their spell list.09get_classClass details from bg3.wiki: name, url, summary, description, subclasses (name, page, url), proficiencies (armor, weapons, saving_throws) and progression (the class progression table: columns plus one row per level).
When a call does not work
No key · GET

AI assistants and tools that can only open a URL can call it with no key: one URL per function, its inputs in the query string. Each call spends the free keyless allowance, 10 credits a day per IP address.

GET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=list_classesGET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=search_wiki&query=<query>GET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=list_spellsGET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=list_items_by_category&category=<category>GET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=get_quest&quest_name=<quest_name>GET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=get_item&item_name=<item_name>GET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=get_subclass&subclass_name=<subclass_name>GET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=get_spell&spell_name=<spell_name>GET https://api.usewrit.app/api/marketplace/listings/bg3-wiki-spells-items-classes/run?function_name=get_class&class_name=<class_name>
02 · Checks and timingsmeasured per function

Built to be called again.

Every function was called on the live site before this API was published, and keeps being measured. The numbers are the listing’s own.

0.77 stypical callmedian of 1 function
1measured runsacross 9 functions
—daily checks passedchecks start with the first install
—buyer runs succeededno counted buyer runs yet
functionmedian · 95th percentilemedianruns
list_classes Not measured —
search_wiki Not measured —
list_spells Not measured —
list_items_by_category 0.77 s 1
get_quest Not measured —
get_item Not measured —
get_subclass Not measured —
get_spell Not measured —
get_class Not measured —
Checked daily No daily check results published yet. Checks begin with the first install; no pass rate is claimed.
Repaired when it breaks A function that fails its check is re-tested and rebuilt. Installed copies receive the update; you redeploy nothing.
Buyer runs counted No counted buyer runs published yet; uptime counts real buyers’ runs only. Writ service status →

Historical measurements from the public listing, refreshed Dec 4, 2026. Timing samples are not an uptime claim or a guarantee for your next call.

03 · Your copyyour account

Install your copy. Call it your way.

2 credits
Priced per cloud call.

The listing’s base price is 2 credits per call. Longer runs, residential traffic and CAPTCHA solving can add usage. A site or Writ failure is free; your own input or login failures can be billable. Full usage rates →

cloud
No computer to keep running.

Marketplace copies execute in Writ Cloud, in your own account. Requirements and prices are checked before you use the listing.

REST · MCP
Every way to call it, at once.

Use your API key, connect an assistant, set a schedule with email or webhook delivery, or export answers as a dataset.

read-only
It only reads.

The published functions read data from the source website. No website sign-in or persona is needed for this listing.

private copy
Your account, your usage.

Your installed copy belongs to your account. Its underlying recipe stays sealed with its creator; no creator credentials are included.

04 · Or build your ownwebsite → API

Missing a function? Describe it.

Give Writ a website and say what you want. It builds and tests the API for your task.

On your computeryour machine

Build it in Writ Desktop and run it from your own IP. Execution on your machine costs 0 credits.

Get Writ Desktop →
In Writ Cloudcloud

Keep your API online without leaving your computer running. Cloud calls start at 2 credits, or 20 with a browser.

Build an API →
05 · More ready-madeAll APIs →
06 · Questions
Does BG3 Wiki have an API?
This page is an independent API and MCP server for bg3.wiki: Writ built it on the site’s public pages and tests it, and it has 9 functions you can call today. It is not an official BG3 Wiki product. For an official API, check BG3 Wiki’s own developer pages.
How do I use the BG3 Wiki API from Claude, ChatGPT or Cursor?
Install it in Writ, then add Writ’s MCP server (https://api.usewrit.app/mcp) to Claude, ChatGPT, Cursor or any MCP client: your assistant can run this API’s functions and read the results. From your own code, call the same functions over REST with a Writ API key.
How much does a call to the BG3 Wiki API cost?
2 credits per call, charged only when the call succeeds. New accounts start with 1,000 free credits, then 500 a month on the Free plan, no card.