> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Open Library

> Open book catalog providing metadata for millions of books including titles, authors, ISBNs, cover images, and edition details.

Open book catalog providing metadata for millions of books including titles, authors, ISBNs, cover images, and edition details. Best for book lookups, reading list enrichment, and retrieving publication metadata by title or ISBN. The definitive open-access book database — use when a workflow needs bibliographic data without the academic focus of arXiv or Semantic Scholar.

1 example endpoint available through Lava's AI Gateway. See the [Open Library API docs](https://openlibrary.org/developers/api) for full documentation.

<Info>This provider is **managed** — no additional setup required.</Info>

<Info>This is a **catch-all provider** — any valid URL under `https://openlibrary.org` is supported. Open book catalog API. Construct URL as [https://openlibrary.org/\&#123;endpoint\&#125](https://openlibrary.org/\&#123;endpoint\&#125);. Common endpoints: /search.json?q=\{query}, /works/\{olid}.json, /isbn/\{isbn}.json, /authors/\{olid}.json. The endpoints below are curated examples.</Info>

## Endpoints

### Search for books

**GET** `https://openlibrary.org/search.json?q=dune+frank+herbert` — Free

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://openlibrary.org/search.json?q=dune+frank+herbert', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fopenlibrary.org%2Fsearch.json%3Fq%3Ddune%2Bfrank%2Bherbert" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
