Albion Intel API for developers
Use the same market data as this site in your Discord bot, spreadsheet or script. Below are the public read endpoints, how to send an API key and the limits that apply.
Overview
- Every endpoint answers with JSON. Field names are snake_case.
- Most endpoints take a
regionparameter:west,eastoreurope. Without it you getwest. - Item ids are the game ids, such as
T6_MAIN_SWORDorT4_BAG. - Prices come from players who run the Albion Data Project client (see the end of this page).
Public endpoints
These GET endpoints work without an account.
GET/api/v1/markets/prices
Current buy and sell orders per item and city.
region- west, east or europe (default west)
items- Comma-separated item ids, such as T4_BAG,T5_BAG
locations- Comma-separated location ids
tier- Item tier, 1-8
sort- Sort order, such as net_spread_desc
curl "https://api.albionintel.com/api/v1/markets/prices?region=west&items=T4_BAG,T5_BAG"GET/api/v1/markets/summary
How many items and locations have prices in a region.
region- west, east or europe (default west)
curl "https://api.albionintel.com/api/v1/markets/summary?region=west"GET/api/v1/markets/history
Price and trade history for one item.
region- west, east or europe (default west)
item_id- Item id, such as T6_MAIN_SWORD (required)
range- 24h, 7d or 4w (default 24h)
enchantment- Enchantment level, 0-4
quality- Quality, 1-5
location_id- Only this location
curl "https://api.albionintel.com/api/v1/markets/history?region=west&item_id=T6_MAIN_SWORD&range=7d"GET/api/v1/items/card
Name, prices and details of one item.
item_id- Item id, such as T6_MAIN_SWORD (required)
lang- en, pt-BR, ru or es
enchantment- Enchantment level, 0-4
quality- Quality, 1-5
region- west, east or europe (default west)
curl "https://api.albionintel.com/api/v1/items/card?item_id=T6_MAIN_SWORD&lang=en"GET/api/v1/items/search
Find items by name.
q- Search text
curl "https://api.albionintel.com/api/v1/items/search?q=broadsword"GET/api/v1/gold/prices
Latest gold prices.
region- west, east or europe (default west)
count- How many recent prices to return
curl "https://api.albionintel.com/api/v1/gold/prices?region=west&count=24"GET/api/v1/gold/prices/range
Gold prices over a time range, with the change.
region- west, east or europe (default west)
range- 24h, 7d or 4w (default 24h)
curl "https://api.albionintel.com/api/v1/gold/prices/range?region=west&range=7d"GET/api/v1/arbitrage/deals
Buy in one city, sell in another.
region- west, east or europe (default west)
premium- true or false, changes the tax
max_price_age_minutes- Skip older prices
min_quantity- Minimum order amount
curl "https://api.albionintel.com/api/v1/arbitrage/deals?region=west&premium=true"GET/api/v1/arbitrage/black-market
Buy in a city, sell to the Black Market.
region- west, east or europe (default west)
premium- true or false, changes the tax
max_price_age_minutes- Skip older prices
curl "https://api.albionintel.com/api/v1/arbitrage/black-market?region=west"GET/api/v1/crafting/opportunities
Profitable items to craft.
region- west, east or europe (default west)
city- Crafting city
category- Item category
sort- Sort order
min_profit- Minimum profit in silver
premium- true or false
curl "https://api.albionintel.com/api/v1/crafting/opportunities?region=west&min_profit=10000"API keys
- Create a key under Settings → API keys. Keys start with
ati_live_. Keep them secret, like a password. - The public endpoints above need no key and ignore one. A key is for the endpoints of your own account, such as your favorites.
- Send the key in the
X-API-Keyheader or asAuthorization: Bearer. - A key has read or write permission. A bot that only reads data needs read.
curl -H "X-API-Key: ati_live_..." "https://api.albionintel.com/api/v1/markets/favorites"Limits
- Each key can make 1,000 requests per hour. An administrator can raise this up to 10,000. The hour starts with the first request of the key.
- Over the limit you get HTTP 429 with the code
RATE_LIMIT_EXCEEDED. Wait until that hour is over. - Sending a wrong key to an account endpoint again and again also gets HTTP 429.
- Browsers block calls from other websites (CORS). Call the API from a server, a bot or a script, not from JavaScript on your own web page.
- Please cache answers and do not ask for the same data many times a minute. Prices change slowly.
Fair use and attribution
The market data is collected by players through the Albion Data Project client. If you show it to others, please credit the Albion Data Project and Albion Intel.
Albion Intel is not affiliated with Sandbox Interactive. Albion Online is a trademark of Sandbox Interactive.