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://ffxi.yg.com/api/lookup?s=Aquiline%20belt
- 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://ffxi.yg.com/api/lookup?i=11733
- Allows you to set the encoding type.
Encoding types:
- json (default)
- xml
- json (default)
- xml
Sample URL ():
http://ffxi.yg.com/api/lookup?s=Aquiline%20belt&t=jsonSample Response:
{"objects":[{"id":11733,"name":"Aquiline belt", "url":"http:\/\/ffxi.yg.com\/item\/aquiline-belt?id=11733","icon" : {"small":"http:\/\/static.ygcdn.com\/ffxi\/img\/game\/small\/armor___13193___.png", "medium":"http:\/\/static.ygcdn.com\/ffxi\/img\/game\/medium\/armor___13193___.png"}}]}Sample URL ():
http://ffxi.yg.com/api/lookup?s=Aquiline%20belt&t=xmlSample Response:
<?xml version="1.0" encoding="utf-8" ?>
<yg_xml>
<object>
<id>11733</id>
<name>Aquiline belt</name>
<url>http://ffxi.yg.com/item/aquiline-belt?id=11733</url>
<icons>
<small>http://static.ygcdn.com/ffxi/img/game/small/armor___13193___.png</small>
<medium>http://static.ygcdn.com/ffxi/img/game/medium/armor___13193___.png</medium>
</icons>
</object>
</yg_xml>
- Allows you to set the object type.
Object types:
- item (default)
- item (default)
Sample URL ():
http://ffxi.yg.com/api/lookup?s=Aquiline%20belt&o=item
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://ffxi.yg.com/de/api/lookup?s=Aquiline-G%C3%BCrtel
http://ffxi.yg.com/fr/api/lookup?s=Ceinture%20aquiline
http://ffxi.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://ffxi.yg.com/api/lookup?s=Bronze%20Sword&o=item&t=jsonItem (Same as above but using the defaults):
http://ffxi.yg.com/api/lookup?s=Bronze%20Sword

