Download OpenAPI specification:
Aggegate audiobook data
Returns a list of authors, based on search query provided
| name required | string Name to search with |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
[- {
- "asin": "string",
- "description": "string",
- "genres": [
- {
- "asin": "string",
- "name": "string",
- "type": "string"
}
], - "image": "string",
- "name": "string",
- "region": "au",
- "similar": [
- {
- "asin": "string",
- "name": "string"
}
]
}
]Returns a single author
| ASIN required | string ID of author to return |
| update | string Enum: "0" "1" Have server check for updated data upstream |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
{- "asin": "B00G0WYW92",
- "description": "ANDY WEIR built a two-decade career as a software engineer until the success of his first published novel, The Martian, allowed him to live out his dream of writing full-time. He is a lifelong space nerd and a devoted hobbyist of such subjects as relativistic physics, orbital mechanics, and the history of manned spaceflight. He also mixes a mean cocktail. He lives in California.",
- "genres": [
- {
- "asin": "18580606011",
- "name": "Science Fiction & Fantasy",
- "type": "genre"
}, - {
- "asin": "18574597011",
- "name": "Mystery, Thriller & Suspense",
- "type": "genre"
}, - {
- "asin": "18574426011",
- "name": "Literature & Fiction",
- "type": "genre"
}
], - "name": "Andy Weir",
- "region": "us",
- "similar": [
- {
- "asin": "B002XLHS8Q",
- "name": "Adrian Tchaikovsky"
}, - {
- "asin": "B001H6U8X0",
- "name": "Blake Crouch"
}, - {
- "asin": "B001IGFHW6",
- "name": "Brandon Sanderson"
}, - {
- "asin": "B007JP96JU",
- "name": "Cixin Liu"
}, - {
- "asin": "B010ETTBJC",
- "name": "Dennis E. Taylor"
}, - {
- "asin": "B004XRR8Z6",
- "name": "Ernest Cline"
}, - {
- "asin": "B000APO5OM",
- "name": "Frank Herbert"
}, - {
- "asin": "B00EDBZVNI",
- "name": "Pierce Brown"
}
]
}Returns a single book
| ASIN required | string ID of book to return |
| seedAuthors | number Enum: 0 1 Whether to seed authors of book |
| update | number Enum: 0 1 Have server check for updated data upstream |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
{- "asin": "B08G9PRS1K",
- "authors": [
- {
- "asin": "B00G0WYW92",
- "name": "Andy Weir"
}
], - "copyright": 2021,
- "description": "Ryland Grace is the sole survivor on a desperate, last-chance mission - and if he fails, humanity and the Earth itself will perish. Except that right now, he doesn't know that. He can't even remember his own name, let alone the nature of his assignment or how to complete it....",
- "formatType": "unabridged",
- "genres": [
- {
- "asin": "18580606011",
- "name": "Science Fiction & Fantasy",
- "type": "genre"
}, - {
- "asin": "18580628011",
- "name": "Science Fiction",
- "type": "tag"
}, - {
- "asin": "18580629011",
- "name": "Adventure",
- "type": "tag"
}, - {
- "asin": "18580639011",
- "name": "Hard Science Fiction",
- "type": "tag"
}, - {
- "asin": "18580645011",
- "name": "Space Opera",
- "type": "tag"
}
], - "isAdult": false,
- "isbn": "9781603935470",
- "language": "english",
- "literatureType": "fiction",
- "narrators": [
- {
- "name": "Ray Porter"
}
], - "publisherName": "Audible Studios",
- "rating": "4.9",
- "ratings": {
- "value": "4.9",
- "numRatings": 158505,
- "numReviews": 18832,
- "distribution": {
- "five": 141378,
- "four": 14019,
- "three": 2262,
- "two": 558,
- "one": 288
}, - "performanceDistribution": {
- "five": 136044,
- "four": 7138,
- "three": 1126,
- "two": 237,
- "one": 185
}, - "storyDistribution": {
- "five": 125817,
- "four": 14956,
- "three": 2467,
- "two": 619,
- "one": 318
}
}, - "region": "us",
- "releaseDate": "2021-05-04T00:00:00.000Z",
- "runtimeLengthMin": 970,
- "summary": "<p><b><i>Winner of the 2022 Audie Awards' Audiobook of the Year</i></b></p> <p><b><i>Number-One Audible and </i></b><b>New York Times</b><b><i> Audio Best Seller</i></b></p> <p><b><i>More than one million audiobooks sold</i></b></p> <p><b>A lone astronaut must save the earth from disaster in this incredible new science-based thriller from the number-one </b><b><i>New York Times</i></b><b> best-selling author of </b><b><i>The Martian</i></b><b>.</b></p> <p>Ryland Grace is the sole survivor on a desperate, last-chance mission - and if he fails, humanity and the Earth itself will perish.</p> <p>Except that right now, he doesn't know that. He can't even remember his own name, let alone the nature of his assignment or how to complete it.</p> <p>All he knows is that he's been asleep for a very, very long time. And he's just been awakened to find himself millions of miles from home, with nothing but two corpses for company.</p> <p>His crewmates dead, his memories fuzzily returning, he realizes that an impossible task now confronts him. Alone on this tiny ship that's been cobbled together by every government and space agency on the planet and hurled into the depths of space, it's up to him to conquer an extinction-level threat to our species.</p> <p>And thanks to an unexpected ally, he just might have a chance.</p> <p>Part scientific mystery, part dazzling interstellar journey, <i>Project Hail Mary</i> is a tale of discovery, speculation, and survival to rival <i>The Martian</i> - while taking us to places it never dreamed of going.</p> <p>PLEASE NOTE: To accommodate this audio edition, some changes to the original text have been made with the approval of author Andy Weir.</p>",
- "title": "Project Hail Mary"
}Returns the retained artwork gallery for one exact asin+region pair,
newest immutable sequence first. Parsed (Amazon image ID) and unparsed
references are both listed; unparsed entries carry a null imageId.
Live-observed references report the URL verbatim, and unparsed
live-observed entries expose their exact URL through their rendition
entries. Imported legacy references report the server-side stored URL
and import time via legacy with an empty renditions array — their
URL is not exposed through rendition entries.
Read-only: served from retained data, and may answer even when the current book is deleted. 200 for a pending (no state yet) trusted current book, returning empty items; 409 for an unresolved identity conflict only while no established history state exists (an established retained state always wins and reads 200); 404 for a wholly unknown resource; 400 for invalid path/query input.
| ASIN required | string |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
| limit | string^\d{1,3}$ Default: "50" Page size, 1-100 (declared as a decimal digit string) |
| cursor | string <= 2048 characters Opaque keyset continuation cursor from a previous page. Bound to the exact asin+region pair that issued it; reusing it for any other pair returns 400 ("Cursor does not match"). |
{- "asin": "string",
- "region": "string",
- "tracking": {
- "status": "pending",
- "recordingEnabled": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "fields": {
- "property1": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}
}, - "artwork": {
- "property1": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}
}
}, - "items": [
- {
- "assetId": "string",
- "imageId": "string",
- "legacy": {
- "storedUrl": "string",
- "importedAt": "2019-08-24T14:15:22Z",
- "observedAt": "string",
- "rendition": "string"
}, - "renditions": [
- {
- "rendition": "string",
- "firstSourceUrl": "string",
- "sourceUrl": "string",
- "firstObservedAt": "2019-08-24T14:15:22Z",
- "observedAt": "2019-08-24T14:15:22Z"
}
]
}
], - "nextCursor": "string"
}Returns stored metadata/artwork history for one exact asin+region
pair, newest revision first. Each item is a revision identity with
its changed-field names; use the detail endpoint for a revision's
full stored delta. The optional field filter narrows to revisions
that changed that field. Read-only, served from retained data and
may answer even when the current book is deleted. 200 for an
established (retained) resource and for a pending trusted current
book (empty items, pending tracking); 409 for an unresolved identity
conflict only while no established history state exists (an
established retained state always wins and reads 200); 404 for a
wholly unknown resource. An invalid cursor on an established
resource is 400; on an unknown resource the existence check runs
first and is 404.
| ASIN required | string |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
| limit | string^\d{1,3}$ Default: "50" Page size, 1-100 (declared as a decimal digit string) |
| cursor | string <= 2048 characters Opaque keyset continuation cursor from a previous page. Bound
to the exact asin+region pair (and |
| field | string Enum: "title" "subtitle" "authors" "narrators" "publisherName" "description" "summary" "isbn" "language" "formatType" "copyright" "releaseDate" "runtimeLengthMin" "seriesPrimary" "seriesSecondary" "genres" "literatureType" "isAdult" "artwork" |
{- "asin": "string",
- "region": "string",
- "tracking": {
- "status": "pending",
- "recordingEnabled": true,
- "startedAt": "2019-08-24T14:15:22Z",
- "fields": {
- "property1": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}
}, - "artwork": {
- "property1": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}, - "property2": {
- "policy": "string",
- "baselineAt": "2019-08-24T14:15:22Z"
}
}
}, - "items": [
- {
- "revision": "string",
- "observedAt": "2019-08-24T14:15:22Z",
- "changedFields": [
- "string"
]
}
], - "nextCursor": "string"
}Returns the complete stored delta for one revision of an exact asin+region pair. The revision number is exact (no 0, no leading zeros, safe integer bound). An unknown, cross-book, cross-region, or not-yet-existing revision is always 404, even for a pending resource.
| ASIN required | string |
| revision required | string^[1-9][0-9]*$ |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
{- "asin": "string",
- "region": "string",
- "revision": 0,
- "observedAt": "2019-08-24T14:15:22Z",
- "changedFields": [
- "string"
], - "policies": {
- "fields": {
- "property1": "string",
- "property2": "string"
}, - "artwork": {
- "property1": "string",
- "property2": "string"
}
}, - "changes": { }
}Re-fetches every stored book that is missing the ratings field and
persists the rating counts and star distributions. Admin-only; disabled
unless the UPDATE_STATS environment flag is enabled.
The backfill runs in the background: the endpoint returns 202
immediately and the final summary (total / updated / skipped / failed)
is logged, not returned. Pre-order books (releaseDate in the future)
are reported as skipped — their refreshed data is not persisted
while pre-release, so they cannot be counted as updated. Only one
backfill can be queued or running at a time (queue-wide, durable
across API restarts); concurrent requests normally receive 409,
though a racing request that is deduped on the job id before the
running check observes it receives 202 with the same job id.
| x-admin-token required | string Admin token used to authorize the backfill. Set via the |
{- "message": "Ratings backfill started",
- "id": "backfill-ratings"
}Returns a single book's chapters
| ASIN required | string ID of book to return |
| update | number Enum: 0 1 Have server check for updated data upstream |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
{- "asin": "B08G9PRS1K",
- "brandIntroDurationMs": 2043,
- "brandOutroDurationMs": 5061,
- "chapters": [
- {
- "lengthMs": 13307,
- "startOffsetMs": 0,
- "startOffsetSec": 0,
- "title": "Opening Credits"
}, - {
- "lengthMs": 5909,
- "startOffsetMs": 13307,
- "startOffsetSec": 13,
- "title": "Dedication"
}, - {
- "lengthMs": 2203908,
- "startOffsetMs": 19216,
- "startOffsetSec": 19,
- "title": "Chapter 1"
}, - {
- "lengthMs": 1721527,
- "startOffsetMs": 2223124,
- "startOffsetSec": 2223,
- "title": "Chapter 2"
}, - {
- "lengthMs": 2241282,
- "startOffsetMs": 3944651,
- "startOffsetSec": 3945,
- "title": "Chapter 3"
}, - {
- "lengthMs": 2460850,
- "startOffsetMs": 6185933,
- "startOffsetSec": 6186,
- "title": "Chapter 4"
}, - {
- "lengthMs": 3189400,
- "startOffsetMs": 8646783,
- "startOffsetSec": 8647,
- "title": "Chapter 5"
}, - {
- "lengthMs": 2650650,
- "startOffsetMs": 11836183,
- "startOffsetSec": 11836,
- "title": "Chapter 6"
}, - {
- "lengthMs": 1806744,
- "startOffsetMs": 14486833,
- "startOffsetSec": 14487,
- "title": "Chapter 7"
}, - {
- "lengthMs": 2189734,
- "startOffsetMs": 16293577,
- "startOffsetSec": 16294,
- "title": "Chapter 8"
}, - {
- "lengthMs": 1759608,
- "startOffsetMs": 18483311,
- "startOffsetSec": 18483,
- "title": "Chapter 9"
}, - {
- "lengthMs": 2120817,
- "startOffsetMs": 20242919,
- "startOffsetSec": 20243,
- "title": "Chapter 10"
}, - {
- "lengthMs": 1566928,
- "startOffsetMs": 22363736,
- "startOffsetSec": 22364,
- "title": "Chapter 11"
}, - {
- "lengthMs": 1744236,
- "startOffsetMs": 23930664,
- "startOffsetSec": 23931,
- "title": "Chapter 12"
}, - {
- "lengthMs": 1954655,
- "startOffsetMs": 25674900,
- "startOffsetSec": 25675,
- "title": "Chapter 13"
}, - {
- "lengthMs": 2405262,
- "startOffsetMs": 27629555,
- "startOffsetSec": 27630,
- "title": "Chapter 14"
}, - {
- "lengthMs": 1429838,
- "startOffsetMs": 30034817,
- "startOffsetSec": 30035,
- "title": "Chapter 15"
}, - {
- "lengthMs": 1950336,
- "startOffsetMs": 31464655,
- "startOffsetSec": 31465,
- "title": "Chapter 16"
}, - {
- "lengthMs": 1928602,
- "startOffsetMs": 33414991,
- "startOffsetSec": 33415,
- "title": "Chapter 17"
}, - {
- "lengthMs": 1863772,
- "startOffsetMs": 35343593,
- "startOffsetSec": 35344,
- "title": "Chapter 18"
}, - {
- "lengthMs": 2176359,
- "startOffsetMs": 37207365,
- "startOffsetSec": 37207,
- "title": "Chapter 19"
}, - {
- "lengthMs": 1984841,
- "startOffsetMs": 39383724,
- "startOffsetSec": 39384,
- "title": "Chapter 20"
}, - {
- "lengthMs": 2536919,
- "startOffsetMs": 41368565,
- "startOffsetSec": 41369,
- "title": "Chapter 21"
}, - {
- "lengthMs": 2396531,
- "startOffsetMs": 43905484,
- "startOffsetSec": 43905,
- "title": "Chapter 22"
}, - {
- "lengthMs": 1726217,
- "startOffsetMs": 46302015,
- "startOffsetSec": 46302,
- "title": "Chapter 23"
}, - {
- "lengthMs": 1672672,
- "startOffsetMs": 48028232,
- "startOffsetSec": 48028,
- "title": "Chapter 24"
}, - {
- "lengthMs": 2376608,
- "startOffsetMs": 49700904,
- "startOffsetSec": 49701,
- "title": "Chapter 25"
}, - {
- "lengthMs": 1290100,
- "startOffsetMs": 52077512,
- "startOffsetSec": 52078,
- "title": "Chapter 26"
}, - {
- "lengthMs": 613331,
- "startOffsetMs": 53367612,
- "startOffsetSec": 53368,
- "title": "Chapter 27"
}, - {
- "lengthMs": 1191369,
- "startOffsetMs": 53980943,
- "startOffsetSec": 53981,
- "title": "Chapter 28"
}, - {
- "lengthMs": 2198976,
- "startOffsetMs": 55172312,
- "startOffsetSec": 55172,
- "title": "Chapter 29"
}, - {
- "lengthMs": 838616,
- "startOffsetMs": 57371288,
- "startOffsetSec": 57371,
- "title": "Chapter 30"
}, - {
- "lengthMs": 43091,
- "startOffsetMs": 58209904,
- "startOffsetSec": 58210,
- "title": "End Credits"
}
], - "isAccurate": true,
- "region": "us",
- "runtimeLengthMs": 58252995,
- "runtimeLengthSec": 58253
}Deletes a single book's chapters
| ASIN required | string Audible.com ID |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
{- "message": "string"
}Returns a list of authors, based on search query provided
| name required | string Name to search with |
| region | string Default: "us" Enum: "au" "ca" "de" "es" "fr" "in" "it" "jp" "us" "uk" Region code |
[- {
- "asin": "string",
- "description": "string",
- "genres": [
- {
- "asin": "string",
- "name": "string",
- "type": "string"
}
], - "image": "string",
- "name": "string",
- "region": "au",
- "similar": [
- {
- "asin": "string",
- "name": "string"
}
]
}
]Returns performance metrics including memory usage, uptime, and request statistics.
This endpoint requires authentication via either x-metrics-token header or IP-based access control.
{- "memory": {
- "used": 45.23,
- "total": 128,
- "external": 12.5,
- "rss": 95.8
}, - "uptime": 86400,
- "requests": {
- "/books/{ASIN}": {
- "count": 1500,
- "duration": 45000,
- "min": 10,
- "max": 500,
- "avg": 30
}, - "/health": {
- "count": 500,
- "duration": 2500,
- "min": 2,
- "max": 20,
- "avg": 5
}
}
}