{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"f0cfe7ac-d7b9-472e-824b-1816d5ff0516","catalogType":"api","categories":["search-research","data"],"dataPlatform":"books","dataPlatformLogoUrl":"https://api.sh/logos/books.png","dataPlatformTranslations":{},"dataProduct":"book-reference","description":"Get Open Library Trending data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, and retrieve structured data including selected trend period, source trend rank, work identifier, work title, and digital-access category for reading catalogue, and record matching, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"تصفح كتب Open Library الرائجة عبر OpenAny REST لفترة مختارة، مع ترتيب الأعمال والمؤلفين ومؤشرات الوصول الرقمي وصفحات النتائج. استخدم السجلات الببليوغرافية لإثراء فهرس قراءة أو ربط المؤلفين والأعمال والطبعات، ثم اتبع روابط المصدر لمزيد من القراءة.","ja":"OpenAny REST で期間を選んで Open Library のトレンド書籍を閲覧し、順位・作品・著者・デジタルアクセス情報をページ取得できます。 返された書誌情報で読書カタログを充実させ、著者・作品・版を結び付けて、出典リンクから詳しい情報を確認できます。","zh":"通过 OpenAny REST 按时间段浏览 Open Library 热门图书，获取排名、作品、作者及数字访问标记，并支持分页。 可利用书目记录补充阅读目录，关联作者、作品与版本，并通过来源链接继续阅读。"},"effectContentHtml":"","executionMode":"sync","id":"f046a46b-8b09-4e5e-90c9-32eb62e4eb31","includedContentHtml":"","inputs":[{"description":"Period (default daily).","enum_values":["now","daily","weekly","monthly","yearly","forever"],"location":"query","name":"period","nullable":false,"required":false,"type":"string"},{"description":"Results per page (default 50, max 100).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"Page number (up to 20).","location":"query","name":"page","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/books.png","method":"GET","name":"Books trending catalogue API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eOpen Library Trending API\u003c/h2\u003e\n\u003cp\u003eperiod selects a supported source period, defaulting to daily. items retains rank, work identity and digital-access flags. limit defaults to 50 and permits up to 100; page cannot exceed 20. These are Open Library trends rather than global book sales.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eChoose the lookup or search inputs described below. Optional: period, limit, page. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Books trending catalogue API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eReading catalogue\u003c/strong\u003e: Retain the returned source IDs and bibliographic links when adding entries to a reading catalogue.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eRecord matching\u003c/strong\u003e: Use resource identity and related author or edition records to match catalogue entries.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eperiod\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSelected trend period\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].rank\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource trend rank\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWork identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].title\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWork title\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eitems[].ebook_access\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDigital-access category\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_page\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eNext trend page\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/books/v1/trending \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/f046a46b-8b09-4e5e-90c9-32eb62e4eb31\"\u003ePublished Open Library Trending API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhat is the default period?\u003c/h3\u003e\n\u003cp\u003edaily; select another supported period explicitly when needed.\u003c/p\u003e\n\u003ch3\u003eIs this a book sales ranking?\u003c/h3\u003e\n\u003cp\u003eNo. It reports the source’s trending catalogue.\u003c/p\u003e\n\u003ch3\u003eHow far can I paginate?\u003c/h3\u003e\n\u003cp\u003epage is capped at 20; limit defaults to 50 and allows up to 100.\u003c/p\u003e\n\u003ch3\u003eDoes has_fulltext guarantee public access?\u003c/h3\u003e\n\u003cp\u003eNo. Check ebook_access and public_scan alongside the source record.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/books/books-author-profile-api\"\u003eBooks author profile API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/books/books-works-by-author-api\"\u003eBooks works by author API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/books/books-edition-details-api\"\u003eBooks edition details API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/books/books-trending-catalogue-api?offering=f046a46b-8b09-4e5e-90c9-32eb62e4eb31","providerId":"apish","publicPath":"/v1/agent-apis/apish/books/v1/trending","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"output":"json"}},"response_body":{"attribution":"Source: Open Library (openlibrary.org), Internet Archive","cached":false,"count":50,"credits_used":1,"items":[{"authors":[{"id":"OL7422948A","name":"James Clear"}],"cover":"https://covers.openlibrary.org/b/id/12539702-L.jpg","cover_edition":"OL36647151M","ebook_access":"printdisabled","edition_count":42,"first_publish_year":2016,"has_fulltext":true,"ia":["hbitosatmicos0000jame","hbitosatmicosumm0000jona","… 2 more"],"id":"OL17930368W","languages":["ger","ind","… 5 more"],"public_scan":false,"rank":1,"title":"Atomic Habits","url":"https://openlibrary.org/works/OL17930368W"},{"authors":[{"id":"OL236414A","name":"Robert Greene"}],"cover":"https://covers.openlibrary.org/b/id/6424160-L.jpg","cover_edition":"OL24274306M","ebook_access":"borrowable","edition_count":51,"first_publish_year":1998,"has_fulltext":true,"ia":["powerdie48gesetz0000robe","48lawsofpow00gree","… 2 more"],"id":"OL1968368W","languages":["rus","ger","… 7 more"],"public_scan":false,"rank":2,"title":"The 48 Laws of Power","url":"https://openlibrary.org/works/OL1968368W"},"… 48 more"],"limit":50,"next_page":2,"page":1,"period":"daily"}}],"seoDescription":"Get Open Library Trending data via REST or MCP powered by Apish. Pay per call, no subscription. Get selected trend period and source trend rank in JSON.","updatedAt":"2026-12-03T02:44:38.470Z","usageInstructionsHtml":""}}