---
title: "Retrieve Apple Books chart rankings"
method: GET
path: "/apple-books/charts"
tags: ["AppleBooks"]
---

# Retrieve Apple Books chart rankings

`GET /apple-books/charts`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/apple-books/charts`
- Auth: API key in header `x-api-key`

Returns Apple Books chart rankings for a `collection`, `top-free` (default) or `top-paid`. Narrow with `genre` (an Apple Books genre ID, `0` for all genres), `country` (default `us`) and `limit` (default 50, max 200). Each entry has `name`, author, `genres`, `release_date`, `artwork_url` and `url`.

## Query parameters

- `collection` 'top-free' | 'top-paid'
- `genre` integer
- `country` string
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- ApplebooksChartsResponseDoc
  - `code` integer
  - `data` ApplebooksChartItem[]
    - `artist_id` integer
    - `artist_name` string
    - `artist_url` string
    - `artwork_url` string
    - `genres` string[]
    - `id` integer
    - `name` string
    - `release_date` string
    - `url` string
  - `msg` string

## Other responses

- `400`: Missing or invalid parameters
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
