Get a Goodreads series API
A Goodreads series with every work in reading order.
GET /v1/goodreads/seriesBeta1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/goodreads/series?id=66175",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "series": { "legacyId": 66175, "title": "Middle Earth Series", "webUrl": "https://www.goodreads.com/series/66175", "subtitle": "4 primary works • 17 total works", "description": "See also:\n* Unfinished Tales\n* The History of Middle-Earth\n\nThe Lord of the Rings is an epic high fantasy trilogy writte…", "works": [ { "position": "Book 0.5", "legacyId": 7332, "workLegacyId": 4733799, "title": "The Silmarillion", "webUrl": "https://www.goodreads.com/book/show/7332.The_Silmarillion", "imageUrl": "https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1610045590i/7332._SX120_.jpg", "numPages": 386, "averageRating": 4.05, "ratingsCount": 353267, "publicationYear": 1977, "author": { "legacyId": 656983, "name": "J.R.R. Tolkien", "webUrl": "https://www.goodreads.com/author/show/656983.J_R_R_Tolkien" }, "description": "The Silmarillion is an account of the Elder Days, of the First Age of Tolkien’s world. It is the ancient drama to which …" }, { "position": "Book 1", "legacyId": 5907, "workLegacyId": 1540236, "title": "The Hobbit, or There and Back Again", "webUrl": "https://www.goodreads.com/book/show/5907.The_Hobbit_or_There_and_Back_Again", "imageUrl": "https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1546071216i/5907._SY180_.jpg", "numPages": 366, "averageRating": 4.3, "ratingsCount": 4674975, "publicationYear": 1937, "author": { "legacyId": 656983, "name": "J.R.R. Tolkien", "webUrl": "https://www.goodreads.com/author/show/656983.J_R_R_Tolkien" }, "description": "In a hole in the ground there lived a hobbit. Not a nasty, dirty, wet hole, filled with the ends of worms and an oozy sm…" }, "… 13 more" ] }}Parameters
| Name | Type | Description |
|---|---|---|
idquery | string | Goodreads series id. Example: 66175. |
urlquery | string | A goodreads.com/series/… link instead. Example: https://www.goodreads.com/series/66175-middle-earth. |
Response fields
200 with a GoodreadsSeriesResponse, in Goodreads’s own JSON.
| Field | Type | Description |
|---|---|---|
series | object |
Status codes
| Status | Meaning |
|---|---|
200 | The series. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | No Goodreads book, author, series or list by that id, link or ISBN. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Goodreads is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Goodreads is a trademark of its owner. We are not affiliated with or endorsed by it.