API:2/characters/:id/recipes

From Guild Wars 2 Wiki
Jump to navigationJump to search

/v2/characters/:id/recipes

HTTP method
GET
Format
json
API version
version 2
Release date
2015-05-22
Scope
account
characters
inventories
Optional
none

This resource returns information about recipes that the given character can use.

Parameters

  • access_token (optional) – Can be used to specify an API key for the request if it is not given in the request header.

Response

The endpoint returns an object with an array in the recipes key, each value being the ID of a recipe that can be resolved against /v2/recipes. The returned recipes describe what the particular character can craft, with respect to their individual crafting professions and levels.

Example

Request

https://api.guildwars2.com/v2/characters/Test%20Character/recipes
Authorization: Bearer <API key>

Response

{
  "recipes": [
    104,
    105,
    11888,
    11889
  ]
}