API:2/recipes/search

From Guild Wars 2 Wiki
< API:2‎ | recipes
Jump to navigationJump to search

/v2/recipes/search

HTTP method
GET
Format
json
API version
version 2
Release date
2014-10-24
Scope
none
Optional
none

This resource allows searching for recipe. To get additional information about the returned recipes, use the recipes endpoint.

Parameters

  • input (number) – The item id when searching for recipes with an item as an ingredient.
  • output (number) – The item id when searching for the recipes that craft an item.

Input and output parameters are mutually exclusive.

Response

The search returns a list of recipe ids (array of numbers) that match the query.

Examples

https://api.guildwars2.com/v2/recipes/search?input=46731 (Pile of Bloodstone Dust)

[7314,7839,7840,7841,7846,7847,7848,7849,7850]

https://api.guildwars2.com/v2/recipes/search?output=50065 (Gift of Blades)

[8455,8459,8460]