Look up full metadata for one indexed book by book_id: title, author, year, subjects, book
Look up full metadata for one indexed book by book_id: title, author, year, subjects, bookshelves, download rank, chunk count, and detected chapter range. Use book_id from /book-search or a category shelf. No license, no API key required.
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-17
updated
Provider
library.forgemesh.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x85df5380DEbe236AD6BF49dE788243924B080267",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"book_id": 1342
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"author": "Austen, Jane, 1775-1817",
"book_id": 1342,
"bookshelves": [
"Category: Novels",
"Best Books Ever Listings"
],
"chapter_detection": "heading",
"chapter_range": [
0,
61
],
"chapters_available": 62,
"chunk_count": 973,
"download_count": 59636,
"subjects": [
"Courtship -- Fiction",
"England -- Fiction"
],
"title": "Pride and Prejudice",
"year": "1998"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"book_id": {
"description": "Gutenberg book id, e.g. 1342 for Pride and Prejudice",
"type": "integer"
}
},
"required": [
"book_id"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"info": {
"required": false
},
"offer-receipt": {
"info": {
"offers": [
{
"acceptIndex": 0,
"format": "eip712",
"payload": {
"amount": "2000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "eip155:8453",
"payTo": "0x85df5380DEbe236AD6BF49dE788243924B080267",
"resourceUrl": "https://library.forgemesh.io/book-metadata",
"scheme": "exact",
"validUntil": 1789616507,
"version": 1
},
"signature": "0x368caaa48043312476fefbff2536e28424e5b2ab802a01e5bbe38d09eadb401e7aa6282dda540ed6eefa1ca7567171646b82d4138a4a34aa1f81a951984c41f51b"
}
]
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"offers": {
"items": {
"properties": {
"acceptIndex": {
"type": "integer"
},
"format": {
"type": "string"
},
"payload": {
"properties": {
"amount": {
"type": "string"
},
"asset": {
"type": "string"
},
"network": {
"type": "string"
},
"payTo": {
"type": "string"
},
"resourceUrl": {
"type": "string"
},
"scheme": {
"type": "string"
},
"validUntil": {
"type": "integer"
},
"version": {
"type": "integer"
}
},
"required": [
"version",
"resourceUrl",
"scheme",
"network",
"asset",
"payTo",
"amount"
],
"type": "object"
},
"signature": {
"type": "string"
}
},
"required": [
"format",
"signature"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"offers"
],
"type": "object"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}Use it
curl
curl "https://library.forgemesh.io/book-metadata" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://library.forgemesh.io/book-metadata");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://library.forgemesh.io/book-metadata")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/13860.json, and this resource appears in /discovery/resources and /discovery/search.