AppleBooks API endpoint
Searches Apple Books audiobooks by `term`, which is required. `country` is the two-letter storefront code (default `us`), `lang` a language tag such as `en-us`, `limit` the result count (default 50, max 200) and `page` starts at 1. Results include `narrator`, `duration_seconds`, price, rating, genres and `preview_url`.
/apple-books/audiobook/searchMCP tool: apple_books_audiobook_search
Query parameters:
term: required. Search keyword.country: optional. Two-letter storefront country code, default us.lang: optional. Result language tag, e.g. en-us.limit: optional. Max results to return, default 50, max 200.page: optional. Result page number, default 1.| Field | Filled in, of 40 checked | Values in the sample |
|---|---|---|
| id | 40 | |
| name | 40 | “Harry Potter and the Sorcerer's Stone” and 37 other values |
| url | 40 | books.apple.com |
| artist_id | 40 | |
| artist_name | 40 | “J.K. Rowling” and 8 other values |
| artist_url | 40 | books.apple.com |
| description | 40 | median 749 characters |
| artwork_url | 40 | is1-ssl.mzstatic.com |
| genres | 40 | median 1 entry |
| preview_url | 40 | audio-ssl.itunes.apple.com |
| release_date | 40 | 2015-11-20 to 2024-04-18 |
| price | 40 | 1.99 to 39.99, median 25.99 |
| currency | 40 | USD in all 40 |
| free | 40 | true in 0 of 40 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| term | string | Yes | Search term | harry potter | |
| country | string | No | Two-letter storefront country code | us | |
| lang | string | No | Result language tag | en-us | |
| limit | integer | No | Number of audiobooks per page | 50 | |
| page | integer | No | Search page number (1-based) | 1 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/apple-books/audiobook/search?term=harry+potter&country=us&lang=en&limit=10&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": [
{
"id": 1442174040,
"name": "Harry Potter and the Sorcerer's Stone",
"url": "https://books.apple.com/us/audiobook/harry-potter-and-the-sorcerers-stone/id1442174040",
"artist_id": 79595314,
"artist_name": "J.K. Rowling",
"genres": [
"Kids & Young Adults"
],
"preview_url": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview.../sample.m4a",
"release_date": "2015-11-20T08:00:00Z",
"price": 25.99,
"currency": "USD",
"free": false
}
]
}Request schema
No body schema
Response schema
#/definitions/applebooks.audiobookSearchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | array | No | ||||
| data[].artist_id | integer | No | Apple Books id of the author. | |||
| data[].artist_name | string | No | Name of the author as Apple Books lists it. | |||
| data[].artist_url | string | No | Apple Books page URL of the author. | |||
| data[].artwork_url | string | No | URL of the audiobook cover artwork. | |||
| data[].book_id | integer | No | Apple Books id of the matching ebook edition, when one exists. | |||
| data[].currency | string | No | Currency code of `price`, such as `USD`. | |||
| data[].description | string | No | Audiobook description as shown on Apple Books. | |||
| data[].duration_seconds | integer | No | Length of the audiobook, in seconds. | |||
| data[].free | boolean | No | Whether the audiobook is free, meaning its price is 0. | |||
| data[].genres | array | No | Genres Apple Books files the audiobook under. | |||
| data[].id | integer | No | Apple Books audiobook id. | |||
| data[].name | string | No | Title of the audiobook as Apple Books shows it. | |||
| data[].narrator | string | No | Name of the narrator. | |||
| data[].preview_url | string | No | URL of an audio preview sample. | |||
| data[].price | number | No | Audiobook price in the currency given by `currency`. | |||
| data[].provider | string | No | Publisher or provider Apple Books credits for the audiobook. | |||
| data[].rating | number | No | Average customer rating of the audiobook. | |||
| data[].rating_count | integer | No | Number of customer ratings the audiobook has received. | |||
| data[].rating_histogram | object | No | Number of ratings for each star value, keyed `1` to `5`. | |||
| data[].release_date | string | No | Release date of the audiobook, in ISO 8601 format. | |||
| data[].series_id | integer | No | Apple Books id of the series the audiobook belongs to. | |||
| data[].series_name | string | No | Name of the series the audiobook belongs to. | |||
| data[].url | string | No | Apple Books page URL of the audiobook. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Missing or invalid parameters | #/definitions/app.Response |
| 429 | Rate limit exceeded | #/definitions/app.Response |
| 500 | Internal server error | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/apple-books/audiobook/search?term=harry+potter&country=us&lang=en&limit=10&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"