API:2/mounts/types

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

/v2/mounts/types

HTTP method
GET
Format
json
API version
version 2
Release date
2018-11-13
Scope
none
Optional
none

This resource returns information about mount types that are available in-game.

Endpoints

  • None - Request the list of all available mount type ids when the root endpoint (v2/mounts/types) has been accessed.
  • id - (Optional) Request the mount type for the specified id when accessing the endpoint (v2/mounts/types/id). Cannot be used when specifying the ids parameter.

Parameters

  • lang – (Optional) Request localized information.
  • page - (Optional; integer)
  • page_size - (Optional; integer)
  • ids - (Optional; Comma Delimited List|all) Request an array of mounts for the specified ids or all mounts. Cannot be used when accessing the id endpoint.

Response

For each requested mount id, an object with the following properties is returned:

  • id (string) (default/null value: "") - The id of the mount.
  • name (string) (default/null value: "") - The name of the mount type as it appears in-game.
  • default_skin (integer) - The mount skin a mount has when first obtained. Can be resolved against v2/mounts/skins
  • skins (array of numbers) (default to an empty array) - An array of mount skin ids. Can be resolved against v2/mounts/skins
  • skills (array of objects) (default to an empty array) - Each object contains a key-value pair for the skill id and weapon slot. Can be resolved against v2/skills

Example

https://api.guildwars2.com/v2/mounts/types

 [
   "griffon",
   "roller_beetle",
   "springer",
   "jackal",
   "raptor",
   "skimmer"
 ]

https://api.guildwars2.com/v2/mounts/types?ids=all

 [
   {
     "id": "griffon",
     "name": "Griffon",
     "default_skin": 4,
     "skins": [
       77,
       23,
       53,
       25,
       27,
       80,
       62,
       34,
       4,
       16,
       40,
       100,
       95,
       75,
       91,
       50
     ],
     "skills": [
       {
         "id": 40576,
         "slot": "Weapon_1"
       }
     ]
   },
   {
     "id": "roller_beetle",
     "name": "Roller Beetle",
     "default_skin": 103,
     "skins": [
       103,
       104
     ],
     "skills": [
       {
         "id": 51040,
         "slot": "Weapon_1"
       }
     ]
   },
   {
     "id": "springer",
     "name": "Springer",
     "default_skin": 3,
     "skins": [
       20,
       98,
       78,
       79,
       92,
       66,
       82,
       31,
       15,
       3,
       38,
       41,
       42,
       43,
       60,
       61,
       118
     ],
     "skills": [
       {
         "id": 45994,
         "slot": "Weapon_1"
       }
     ]
   },
   {
     "id": "jackal",
     "name": "Jackal",
     "default_skin": 6,
     "skins": [
       22,
       68,
       28,
       56,
       93,
       97,
       30,
       14,
       33,
       39,
       87,
       6,
       89,
       90,
       46,
       49,
       102
     ],
     "skills": [
       {
         "id": 46089,
         "slot": "Weapon_1"
       }
     ]
   },
   {
     "id": "raptor",
     "name": "Raptor",
     "default_skin": 1,
     "skins": [
       21,
       24,
       1,
       29,
       81,
       13,
       32,
       99,
       94,
       58,
       35,
       86,
       17,
       88,
       76,
       48
     ],
     "skills": [
       {
         "id": 40409,
         "slot": "Weapon_1"
       }
     ]
   },
   {
     "id": "skimmer",
     "name": "Skimmer",
     "default_skin": 2,
     "skins": [
       52,
       26,
       70,
       57,
       83,
       2,
       84,
       36,
       37,
       85,
       101,
       44,
       19,
       45,
       47,
       96
     ],
     "skills": [
       {
         "id": 41253,
         "slot": "Weapon_1"
       }
     ]
   }
 ]