API Documentation

Integrate The Great House Publishing platform with your systems using our REST API.

Getting Started

Authentication

All API requests require authentication using an API key. Include your key in the request header:

Authorization: Bearer YOUR_API_KEY
Base URL
https://api.thegreathousepublishing.com/v1
Rate Limits

Standard plans: 1,000 requests per hour
Elite plans: 10,000 requests per hour
Contact support for higher limits

API Endpoints

Get Books

Retrieve a list of published books with optional filtering and pagination.

GET /api/v1/books

Get Book Details

Get detailed information about a specific book including metadata and sales data.

GET /api/v1/books/{id}

Get Author Info

Retrieve author profile information and published works.

GET /api/v1/authors/{id}

Get Sales Data

Access real-time sales metrics and analytics for your published titles.

GET /api/v1/publishers/{id}/sales

Submit Manuscript

Submit a new manuscript for review through the API.

POST /api/v1/submissions

Update Book Metadata

Update book information, description, pricing, and distribution settings.

PUT /api/v1/books/{id}

Code Examples

JavaScript Example
const response = await fetch('https://api.thegreathousepublishing.com/v1/books', {
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY'
  }
});
const books = await response.json();
console.log(books);
Python Example
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_KEY'
}

response = requests.get(
    'https://api.thegreathousepublishing.com/v1/books',
    headers=headers
)

books = response.json()
print(books)

Need Help?

Our technical support team is available to help with API integration and troubleshooting.