# Book by ISBN (Open Library) (`openlibrary.book`)

Look up one book edition by ISBN: title, authors, publisher, publication date, pages, subjects and cover.

- **Route:** `POST /v1/run/openlibrary.book`
- **Price:** $0.0008 per request ($0.80 per 1,000) · `cost_usd` on every response
- **Source:** Open Library (Internet Archive) (`openlibrary`) · failover: no
- **Measured latency:** p50 517 ms · p95 517 ms · p99 517 ms (1 calls, 30d)
- **Heavy response:** no

## Input

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `isbn` | string | yes |  | ISBN-10 or ISBN-13 |

## Output (`output` in the run envelope)

| Field | Meaning |
|---|---|
| `title` | Book title. |
| `authors` | Author names. |
| `publishers` | Publishers. |
| `publish_date` | Publication date as printed. |
| `pages` | Page count. |
| `cover` | Cover image URL. |

## Example

```bash
curl -s -X POST https://getallapis.com/v1/run/openlibrary.book \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"isbn":"9780441172719"}'
```

```python
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('openlibrary.book', {'isbn': '9780441172719'})
print(result['cost_usd'], result['output'])
```

```bash
getallapis run openlibrary.book '{"isbn":"9780441172719"}'
```

Quote first (free, validates input): `POST /v1/quote/openlibrary.book` with the same body.
