API:1/recipe_details

From Guild Wars 2 Wiki
Jump to: navigation, search

/v1/recipe_details.json

HTTP method
GET
Format
json
API version
version 1
Release date
 ?
Scope
none
Optional
none

This resource returns a details about a single item.

Parameters

Required parameters
  • recipe_id – The recipe to query for.
Optional parameters
  • lang – The language to display the texts in.

Response

The response is an object with the following properties:

  • recipe_id (number) – The recipe id.
  • type (string) – The recipe type.
    • Possible values:
"Amulet"
"Axe"
"Backpack"
"Bag"
"Boots"
"Bulk"
"Coat"
"Component"
"Consumable"
"Dagger"
"Dessert"
"Dye"
"Earring"
"Feast"
"Focus"
"Gloves"
"Greatsword"
"Hammer"
"Harpoon"
"Helm"
"IngredientCooking"
"Inscription"
"Insignia"
"Leggings"
"LongBow"
"Mace"
"Meal"
"Pistol"
"Potion"
"Refinement"
"RefinementEctoplasm"
"RefinementObsidian"
"Rifle"
"Ring"
"Scepter"
"Seasoning"
"Shield"
"ShortBow"
"Shoulders"
"Snack"
"Soup"
"Speargun"
"Staff"
"Sword"
"Torch"
"Trident"
"UpgradeComponent"
"Warhorn"
  • output_item_id (string) – The item id of the produced item.
  • output_item_count (string) – The amount of items produced.
  • min_rating (string) – The minimum rating of the recipe.
  • time_to_craft_ms (string) – The time it takes to craft the item.
  • vendor_value (string) – The value in coins when selling to a vendor.
  • disciplines (list) – The crafting disciplines that can use the recipe.
    • Possible values:
"Artificer"
"Armorsmith"
"Chef"
"Huntsman"
"Jeweler"
"Leatherworker"
"Scribe"
"Tailor"
"Weaponsmith"
  • flags (list) – Additional recipe flags.
    • Possible values:
"AutoLearned" - Indicates that the recipe unlocks automatically upon reaching the required rating in the discipline.
"LearnedFromItem" - Indicates that the recipe must be unlocked through a recipe sheet consumable.
  • ingredients (list) – A list of objects describing the ingredients for this recipe. Each object contains the following properties:
    • item_id (string) – The item id of the ingredient.
    • count (string) – The amount of ingredients required.

Example

https://api.guildwars2.com/v1/recipe_details.json?recipe_id=1275

{
  "recipe_id": "1275",
  "type": "Coat",
  "output_item_id": "11541",
  "output_item_count": "1",
  "min_rating": "25",
  "time_to_craft_ms": "1000",
  "disciplines": [ "Leatherworker" ],
  "flags": [],
  "ingredients": [
    { "item_id": "19797", "count": "1" },
    { "item_id": "13094", "count": "1" },
    { "item_id": "13093", "count": "1" }
  ]
}