---
title: "GET /textbooks/{term}/{subject}/{code}"
method: GET
path: "/textbooks/{term}/{subject}/{code}"
---

# GET /textbooks/{term}/{subject}/{code}

`GET /textbooks/{term}/{subject}/{code}`

## Path parameters

- `term` '202001' | '202005' | '202009' | '202101' | '202105' | '202109' | '202201' | '202205' | '202209' | '202301' | '202305' | '202309' | '202401', required
- `subject` string, required
- `code` string, required

## Response `200`

Ok

- union
  - TextbookInfo
    - `subject` string, required
    - `code` string, required
    - `term` string, required
    - `sections` CourseTextbook[], required
      - `textbooks` ExtendedTextbook[], required
        - `instructor` string
        - `isbn` string
        - `price` object, required
          - `newAndDigitalAccessCad` string
          - `digitalAccessCad` string
          - `usedCad` string
          - `newCad` string
        - `required` boolean, required
        - `authors` string[]
        - `title` string, required
        - `imageUrl` string
        - `bookstoreUrl` string
        - `amazonUrl` string
        - `isbn10` string
      - `instructor` string
      - `additionalInfo` string[]
      - `section` string
  - unknown

## Other responses

- `404` — Textbooks Not Found

## Changes

> 17 revisions in range; 1 could not be searched.

- **2023-03-05** `28e93e6f472a` — 1 info
  - added the new enum value `202305` to the `path` request parameter `term`
- **2022-05-25** `72859a73f309` — 1 info
  - added the optional property `anyOf[#/components/schemas/TextbookInfo]/sections/items/textbooks/items/isbn10` to the response with the `200` status
- **2022-05-16** `f757cb07724b` — 2 info
  - added the new enum value `202209` to the `path` request parameter `term`
  - added the new enum value `202301` to the `path` request parameter `term`
- **2022-03-01** `b1f53c898f30` — 1 info
  - added the new enum value `202205` to the `path` request parameter `term`
- **2021-09-01** `ef28a3dbfd8f` — 2 breaking, 2 info
  - removed the required property `anyOf[#/components/schemas/TextbookInfo]/sections/items/code` from the response with the `200` status
  - removed the required property `anyOf[#/components/schemas/TextbookInfo]/sections/items/subject` from the response with the `200` status
  - api operation id `Seats` removed and replaced with `GetTextbooks`
  - added the optional property `anyOf[#/components/schemas/TextbookInfo]/sections/items/textbooks/items/amazonUrl` to the response with the `200` status

[Full history](https://skmtc.dev/vikelabs/apis/functions/changes/textbooks/:term/:subject/:code/get.md)

---

[API](https://skmtc.dev/vikelabs/apis/functions.md) · [All operations](https://skmtc.dev/vikelabs/apis/functions/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vikelabs/functions/revisions/5043f9148dcf/schema)
