# OPDS Feeds Bookhoard provides OPDS 1.2 feeds for device compatibility. ## Get Device Catalog **Endpoint**: `GET /opds/devices/{deviceId}/catalog` **Auth**: Device token required ### Query Parameters | Parameter | Type | Required | Description | | --------- | ------- | -------- | -------------------------------------- | | page | integer | No | Page number (default: 1) | | per_page | integer | No | Items per page (default: 50, max: 200) | ### Example Request ```http GET /opds/devices/kobo-id/catalog?page=1&per_page=50 ``` ### Response (200 OK - OPDS 1.2 XML) ```xml urn:uuid:device-id Bookhoard Library 2026-02-01T12:00:00Z urn:uuid:bookhoard-uuid-123 The Hobbit J.R.R. Tolkien 2026-02-01T10:00:00Z uuid-123 abc123... ``` ## Search OPDS Catalog **Endpoint**: `GET /opds/devices/{deviceId}/search` **Auth**: Device token required ### Query Parameters | Parameter | Type | Required | Description | | --------- | ------ | -------- | ------------ | | q | string | Yes | Search query | ### Example Request ```http GET /opds/devices/kobo-id/search?q=Hobbit ``` ### Response (200 OK - OPDS 1.2 XML with search results) Returns OPDS feed with matching books.