Google Books Familysharing API
The Familysharing API from Google Books — 3 operation(s) for familysharing.
The Familysharing API from Google Books — 3 operation(s) for familysharing.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/google-books:google-books-familysharing-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Books API Familysharing API
version: v1
description: Generated from Google's published Discovery document for Books API (books v1, revision 20261105). 3 operation(s).
contact:
name: Google
url: https://developers.google.com/
termsOfService: https://developers.google.com/terms
externalDocs:
url: https://code.google.com/apis/books/docs/v1/getting_started.html
servers:
- url: https://books.googleapis.com
paths:
/books/v1/familysharing/unshare:
post:
operationId: books.familysharing.unshare
summary: Unshare familysharing
description: Initiates revoking content that has already been shared with the user's family. Empty response indicates
success.
parameters:
- name: docId
in: query
required: false
description: The docid to unshare.
schema:
type: string
- name: source
in: query
required: false
description: String to identify the originator of this request.
schema:
type: string
- name: volumeId
in: query
required: false
description: The volume to unshare.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Empty'
4XX:
content: &id001
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id001
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/books
- apiKey: []
tags:
- Familysharing
/books/v1/familysharing/getFamilyInfo:
get:
operationId: books.familysharing.getFamilyInfo
summary: Get family info familysharing
description: Gets information regarding the family that the user is part of.
parameters:
- name: source
in: query
required: false
description: String to identify the originator of this request.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/FamilyInfo'
4XX:
content: &id002
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id002
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/books
- apiKey: []
tags:
- Familysharing
/books/v1/familysharing/share:
post:
operationId: books.familysharing.share
summary: Share familysharing
description: Initiates sharing of the content with the user's family. Empty response indicates success.
parameters:
- name: docId
in: query
required: false
description: The docid to share.
schema:
type: string
- name: source
in: query
required: false
description: String to identify the originator of this request.
schema:
type: string
- name: volumeId
in: query
required: false
description: The volume to share.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Empty'
4XX:
content: &id003
application/json:
schema:
$ref: '#/components/schemas/GoogleRpcError'
description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
default:
content: *id003
description: Error response (google.rpc.Status)
security:
- oauth2:
- https://www.googleapis.com/auth/books
- apiKey: []
tags:
- Familysharing
components:
securitySchemes:
apiKey:
type: apiKey
in: query
name: key
description: API key; accepted by methods that do not need user data.
oauth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
tokenUrl: https://oauth2.googleapis.com/token
scopes:
https://www.googleapis.com/auth/books: Manage your books
schemas:
Empty:
description: 'A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc
Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }'
type: object
properties: {}
FamilyInfo:
type: object
properties:
kind:
type: string
description: Resource type.
membership:
description: Family membership info of the user that made the request.
type: object
properties:
allowedMaturityRating:
description: The maximum allowed maturity rating for the user.
type: string
role:
type: string
description: The role of the user in the family.
ageGroup:
type: string
description: The age group of the user.
isInFamily:
type: boolean
acquirePermission:
description: Restrictions on user buying and acquiring content.
type: string
GoogleRpcError:
type: object
description: The error envelope every Google API returns.
properties:
error:
type: object
properties:
code:
type: integer
message:
type: string
status:
type: string
details:
type: array
items:
type: object
x-provenance:
method: harvested
publisher: Google
source: https://books.googleapis.com/$discovery/rest?version=v1
note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261105)