---
id: "google_books_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["publishing"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/google_books_id"
---

# Google Books volume ID (`google_books_id`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Identifier of a volume, an edition of a book, in Google Books: the id parameter of a books.google.com URL and the volume ID of the Google Books API. It has 12 characters: letters, digits, hyphens and underscores. Google publishes no grammar; the regexp matches 2975 of 3000 values of Wikidata property P675, and the rest are URLs and truncated IDs.

- Personal data (PII): no
- Categories: Publishing and print (publishing)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Za-z0-9_-]{12}$
```

## Examples

- `2Zc3AAAAYAAJ` — Frankenstein; or, The Modern Prometheus
- `7r14FzJdSuAC` — Tirant lo Blanch
- `https://books.google.com/books?id=2Zc3AAAAYAAJ` (invalid example) — A URL, not the ID

## Mappings

- wikidata: `P675`

## Translations

- ru: Идентификатор тома Google Books: Двенадцатисимвольный идентификатор издания книги в Google Books.

## Sources

- doc: <https://developers.google.com/books/docs/v1/using>
- wikidata: <https://www.wikidata.org/wiki/Property:P675>
- wikipedia: <https://en.wikipedia.org/wiki/Google_Books>

## Quality

Score 90/100. Missing: detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/google_books_id.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/publishing/google_books_id.yaml>
