list: API endpoint for returning a list of classes.
retrieve: API endpoint for returning a particular class.

GET /v2/classes/srd_fighter/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://api-beta.open5e.com/v2/classes/srd_fighter/?format=api",
    "key": "srd_fighter",
    "features": [
        {
            "key": "srd_fighter_ability-score-improvement",
            "name": "Ability Score Improvement",
            "desc": "When you reach 4th level, and again at 6th, 8th, 12th, 14th, 16th, and 19th level, you can increase one ability score of your choice by 2, or you can increase two ability scores of your choice by 1. As normal, you can't increase an ability score above 20 using this feature.",
            "feature_type": "CLASS_FEATURE",
            "gained_at": [
                {
                    "level": 12,
                    "detail": null
                },
                {
                    "level": 14,
                    "detail": null
                },
                {
                    "level": 16,
                    "detail": null
                },
                {
                    "level": 19,
                    "detail": null
                },
                {
                    "level": 4,
                    "detail": null
                },
                {
                    "level": 6,
                    "detail": null
                },
                {
                    "level": 8,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_action-surge",
            "name": "Action Surge",
            "desc": "Starting at 2nd level, you can push yourself beyond your normal limits for a moment. On your turn, you can take one additional action on top of your regular action and a possible bonus action.\r\n\r\nOnce you use this feature, you must finish a short or long rest before you can use it again. Starting at 17th level, you can use it twice before a rest, but only once on the same turn.",
            "feature_type": "CLASS_FEATURE",
            "gained_at": [
                {
                    "level": 17,
                    "detail": "two uses"
                },
                {
                    "level": 2,
                    "detail": "one use"
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_equipment",
            "name": "Equipment",
            "desc": "You start with the following equipment, in addition to the equipment granted by your background:\r\n* (*a*) chain mail or (*b*) leather armor, longbow, and 20 arrows\r\n* (*a*) a martial weapon and a shield or (*b*) two martial weapons\r\n* (*a*) a light crossbow and 20 bolts or (*b*) two handaxes\r\n* (*a*) a dungeoneer’s pack or (*b*) an explorer’s pack",
            "feature_type": "STARTING_EQUIPMENT",
            "gained_at": [],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_extra-attack",
            "name": "Extra Attack",
            "desc": "Beginning at 5th level, you can attack twice, instead of once, whenever you take the Attack action on your turn.\r\n\r\nThe number of attacks increases to three when you reach 11th level in this class and to four when you reach 20th level in this class.",
            "feature_type": "CLASS_FEATURE",
            "gained_at": [
                {
                    "level": 11,
                    "detail": "2"
                },
                {
                    "level": 20,
                    "detail": "3"
                },
                {
                    "level": 5,
                    "detail": "1"
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_fighting-style",
            "name": "Fighting Style",
            "desc": "You adopt a particular style of fighting as your specialty. Choose one of the following options. You can't take a Fighting Style option more than once, even if you later get to choose again.\r\n\r\n###Archery\r\n\r\nYou gain a +2 bonus to attack rolls you make with ranged weapons.\r\n\r\n###Defense\r\n\r\nWhile you are wearing armor, you gain a +1 bonus to AC.\r\n\r\n###Dueling\r\n\r\nWhen you are wielding a melee weapon in one hand and no other weapons, you gain a +2 bonus to damage rolls with that weapon.\r\n\r\n###Great Weapon Fighting\r\n\r\nWhen you roll a 1 or 2 on a damage die for an attack you make with a melee weapon that you are wielding with two hands, you can reroll the die and must use the new roll, even if the new roll is a 1 or a 2. The weapon must have the two-handed or versatile property for you to gain this benefit.\r\n\r\n###Protection\r\n\r\nWhen a creature you can see attacks a target other than you that is within 5 feet of you, you can use your reaction to impose disadvantage on the attack roll. You must be wielding a shield.\r\n\r\n###Two-Weapon Fighting\r\n\r\nWhen you engage in two-weapon fighting, you can add your ability modifier to the damage of the second attack.",
            "feature_type": "CLASS_FEATURE",
            "gained_at": [
                {
                    "level": 1,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_indomitable",
            "name": "Indomitable",
            "desc": "Beginning at 9th level, you can reroll a saving throw that you fail. If you do so, you must use the new roll, and you can't use this feature again until you finish a long rest.\r\n\r\nYou can use this feature twice between long rests starting at 13th level and three times between long rests starting at 17th level.",
            "feature_type": "CLASS_FEATURE",
            "gained_at": [
                {
                    "level": 13,
                    "detail": "two uses"
                },
                {
                    "level": 17,
                    "detail": "three uses"
                },
                {
                    "level": 9,
                    "detail": "one use"
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_martial-archetype",
            "name": "Martial Archetype",
            "desc": "At 3rd level, you choose an archetype that you strive to emulate in your combat styles and techniques, such as Champion. The archetype you choose grants you features at 3rd level and again at 7th, 10th, 15th, and 18th level.",
            "feature_type": "CLASS_FEATURE",
            "gained_at": [
                {
                    "level": 3,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_proficiencies",
            "name": "Proficiencies",
            "desc": "**Armor:** All armor, shields\r\n**Weapons:** Simple weapons, martial weapons\r\n**Tools:** None\r\n**Saving Throws:** Strength, Constitution\r\n**Skills:** Choose two skills from Acrobatics, Animal Handling, Athletics, History, Insight, Intimidation, Perception, and Survival",
            "feature_type": "PROFICIENCIES",
            "gained_at": [],
            "data_for_class_table": []
        },
        {
            "key": "srd_fighter_proficiency-bonus",
            "name": "Proficiency Bonus",
            "desc": "[Column data]",
            "feature_type": "PROFICIENCY_BONUS",
            "gained_at": [],
            "data_for_class_table": [
                {
                    "level": 1,
                    "column_value": "+2"
                },
                {
                    "level": 10,
                    "column_value": "+4"
                },
                {
                    "level": 11,
                    "column_value": "+4"
                },
                {
                    "level": 12,
                    "column_value": "+4"
                },
                {
                    "level": 13,
                    "column_value": "+5"
                },
                {
                    "level": 14,
                    "column_value": "+5"
                },
                {
                    "level": 15,
                    "column_value": "+5"
                },
                {
                    "level": 16,
                    "column_value": "+5"
                },
                {
                    "level": 17,
                    "column_value": "+6"
                },
                {
                    "level": 18,
                    "column_value": "+6"
                },
                {
                    "level": 19,
                    "column_value": "+6"
                },
                {
                    "level": 2,
                    "column_value": "+2"
                },
                {
                    "level": 20,
                    "column_value": "+6"
                },
                {
                    "level": 3,
                    "column_value": "+2"
                },
                {
                    "level": 4,
                    "column_value": "+2"
                },
                {
                    "level": 5,
                    "column_value": "+3"
                },
                {
                    "level": 6,
                    "column_value": "+3"
                },
                {
                    "level": 7,
                    "column_value": "+3"
                },
                {
                    "level": 8,
                    "column_value": "+3"
                },
                {
                    "level": 9,
                    "column_value": "+4"
                }
            ]
        },
        {
            "key": "srd_fighter_second-wind",
            "name": "Second Wind",
            "desc": "You have a limited well of stamina that you can draw on to protect yourself from harm. On your turn, you can use a bonus action to regain hit points equal to 1d10 + your fighter level. Once you use this feature, you must finish a short or long rest before you can use it again.",
            "feature_type": "CLASS_FEATURE",
            "gained_at": [
                {
                    "level": 1,
                    "detail": null
                }
            ],
            "data_for_class_table": []
        }
    ],
    "hit_points": {
        "hit_dice": "D10",
        "hit_dice_name": "1D10 per Fighter level",
        "hit_points_at_1st_level": "10 + your Constitution modifier",
        "hit_points_at_higher_levels": "1D10 (or 6) + your Constitution modifier per fighter level after 1st"
    },
    "document": {
        "name": "System Reference Document 5.1",
        "key": "srd-2014",
        "display_name": "5e 2014 Rules",
        "publisher": {
            "name": "Wizards of the Coast",
            "key": "wizards-of-the-coast",
            "url": "https://api-beta.open5e.com/v2/publishers/wizards-of-the-coast/?format=api"
        },
        "gamesystem": {
            "name": "5th Edition 2014",
            "key": "5e-2014",
            "url": "https://api-beta.open5e.com/v2/gamesystems/5e-2014/?format=api"
        },
        "permalink": "https://dnd.wizards.com/resources/systems-reference-document"
    },
    "saving_throws": [
        {
            "name": "Constitution",
            "url": "https://api-beta.open5e.com/v2/abilities/con/?format=api"
        },
        {
            "name": "Strength",
            "url": "https://api-beta.open5e.com/v2/abilities/str/?format=api"
        }
    ],
    "subclass_of": null,
    "name": "Fighter",
    "hit_dice": "D10",
    "caster_type": null,
    "primary_abilities": []
}