Lookup API - Aion Database - aion.yg.com

Use the Aion Lookup API!
Yellow Gremlin (YG) Aion Database

Aion Lookup API

API parameters available:

- This param is used to set the search string for doing lookups by Name. This should always have a value if searching by Name. The results will mimic our general site search for each object however it will only return up to a maximum of 10 objects.
Sample URL:
http://aion.yg.com/api/lookup?s=A%20Letter%20to%20Freyja
- This is the ID param and is used for looking up objects by ID. This should always have a value when doing lookups by ID.
Sample URL:
http://aion.yg.com/api/lookup?i=182204446
- Allows you to set the encoding type.
Encoding types:
- json (default)
- xml
Sample URL ():
http://aion.yg.com/api/lookup?s=Fire%20Temple%20Plate%20Pauldrons&t=json
Sample Response:
{"objects":[{"id":112601055,"name":"Fire Temple Plate Pauldrons","url":"http:\/\/aion.yg.com\/item\/fire-temple-plate-pauldrons?id=112601055","icon":{"small":"http:\/\/static.ygcdn.com\/aion\/img\/game\/icons\/small\/icon_item_pl_shoulder_l01.png","medium":"http:\/\/static.ygcdn.com\/aion\/img\/game\/icons\/medium\/icon_item_pl_shoulder_l01.png","large":"http:\/\/static.ygcdn.com\/aion\/game\/icons\/large\/icon_item_pl_shoulder_l01.png"}}]}
Sample URL ():
http://aion.yg.com/api/lookup?s=Fire%20Temple%20Plate%20Pauldrons&t=xml
Sample Response:
<?xml version="1.0" encoding="utf-8" ?>
<yg_xml>
  <object>
    <id>112601055</id>
    <name>Fire Temple Plate Pauldrons</name>
    <url>http://aion.yg.com/item/fire-temple-plate-pauldrons?id=112601055</url>
    <icons>
     <small>http://static.ygcdn.com/aion/img/game/icons/small/icon_item_pl_shoulder_l01.png</small>
     <medium>http://static.ygcdn.com/aion/img/game/icons/medium/icon_item_pl_shoulder_l01.png</medium>
     <large>http://static.ygcdn.com/aion/img/game/icons/large/icon_item_pl_shoulder_l01.png</large>
    </icons>
  </object>
</yg_xml>
- Allows you to set the object type.
Object types:
- item (default)
- itemset
- recipe
- gathersource
- skill
- quest
- title
- npc
- emote
Sample URL ():
http://aion.yg.com/api/lookup?s=wear%20plate%20armor&o=skill
Note: If parameter or is not set in the URL, the API will use their default values.

Multi-lingual Support:

Our API supports lookups for all of the languages we offer in our database simply by adding the character code before the /api/ section of the URL.

Character codes: , , , ,

Samples
http://aion.yg.com/de/api/lookup?s=Brief%20an%20Freyja
http://aion.yg.com/fr/api/lookup?s=Lettre%20pour%20Freyja
http://aion.yg.com/ja/api/lookup?s=Письмо%20к%20Фрейе
http://aion.yg.com/fr/api/lookup?s=프레이야에게%20보내는%20편지
http://aion.yg.com/ja/api/lookup?s=フレイヤに宛てた手紙
Note: Our API defaults to English lookups when no character code is set in the URL.

Sample URLs:


Item:
http://aion.yg.com/api/lookup?s=Weathered%20Drenite&o=item&t=json
Item (Same as above but using the defaults):
http://aion.yg.com/api/lookup?s=Weathered%20Drenite
Item Set:
http://aion.yg.com/api/lookup?s=Anuhart%20Cleric%20Set&o=itemset
Recipe:
http://aion.yg.com/api/lookup?s=Craft:%20Necsium%20Orb&o=recipe
Gather Source:
http://aion.yg.com/api/lookup?s=Innesi&o=gathersource
Skill:
http://aion.yg.com/api/lookup?s=Acquittal%20I&o=skill
Quest:
http://aion.yg.com/api/lookup?s=A%20Better%20Sword&o=quest
Title:
http://aion.yg.com/api/lookup?s=Aerialist&o=title
NPC:
http://aion.yg.com/api/lookup?s=Aarien%20the%20Seacaller&o=npc
Emote:
http://aion.yg.com/api/lookup?s=9%20Sign&o=emote