API:2/achievements/daily
From Guild Wars 2 Wiki
< API:2 | achievements
Jump to navigationJump to search
/v2/achievements/daily
- HTTP method
- GET
- Format
- json
- API version
- version 2
- Release date
- 2015-09-21
- Scope
- none
- Optional
- none
This resource returns the current set of daily achievements.
Response
When requested, the endpoint will return an object containing 5 sub-objects: pve
, pvp
, wvw
, fractals
, and special
.
Each sub-object contains an array of objects describing the daily achievements for that category. The special
sub-object is for any current temporary content like festival dailies. Each achievement object includes:
id
(number) - The achievement id.level
(object) - Describes the level requirement for the daily to appear.min
(number) - The minimum level. Any character below this level will not see this daily achievement.max
(number) - The maximum level. Any character above this level will not see this daily achievement.
required_access
(array) - Contains which Guild Wars 2 campaigns are required in order to see this daily achievement. Possible values:GuildWars2
, and/orHeartOfThorns
, and/orPathOfFire
. Available on schema previous to2019-05-16T00:00:00.000Z
.required_access
(object - optional) - Describes if a daily requires a Guild Wars 2 campaign or not. Available on schema2019-05-16T00:00:00.000Z
or later.product
(string) - A Guild Wars 2 campaign. Can either beHeartOfThorns
orPathOfFire
.condition
(string) - The condition if a account can or cannot see this daily achievement. Can either beHasAccess
orNoAccess
.
Example
https://api.guildwars2.com/v2/achievements/daily
{ "pve": [ { "id": 1984, "level": { "min": 1, "max": 80 }, "required_access": ["GuildWars2","HeartOfThorns"] }, { "id": 1951, "level": { "min": 11, "max": 80 }, "required_access": ["GuildWars2"] }, { "id": 2945, "level": { "min": 80, "max": 80 }, "required_access": ["HeartOfThorns"] }, ... ], "pvp": [ { "id": 1858, "level": { "min": 1, "max": 80 }, "required_access": ["GuildWars2","HeartOfThorns"] }, ... ], "wvw": [ ... ], "fractals": [ ... ], "special": [ ... ] }
If using schema 2019-05-16T00:00:00.000Z
or later
{ "pve": [ { "id": 1968, "level": { "min": 1, "max": 80 } }, { "id": 2891, "level": { "min": 80, "max": 80 }, "required_access": { "product": "HeartOfThorns", "condition": "HasAccess" } }, { "id": 2025, "level": { "min": 80, "max": 80 }, "required_access": { "product": "HeartOfThorns", "condition": "NoAccess" } }, ... ], "pvp": [ { "id": 2816, "level": { "min": 1, "max": 80 }, }, ... ], "wvw": [ ... ], "fractals": [ ... ], "special": [ ... ] }