{"name":"Aozora Bunko Works by Author API","description":"Works by one author in Aozora Bunko, the Japanese digital library, with title, source edition, text files and dates.","api_id":"generated_bbf8e901b833bd2d169542c0","slug":"aozora-gr-jp-works-api","source":{"name":"Aozora Bunko","domain":"aozora.gr.jp","url":"https://www.aozora.gr.jp/"},"category":"news_content","countries":["JP"],"languages":["ja"],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-01","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"2.0","versions":[{"major":2,"latest_minor":"2.0","status":"current","sunset_at":null},{"major":1,"latest_minor":"1.0","status":"deprecated","sunset_at":"2027-01-30T10:55:38.000Z"}],"changelog":[{"version":"2.0","date":"2026-12-01T10:55:38.000Z","kind":"major","changes":[{"code":"record_layout_changed","name":"","summary":"Records are now grouped: related fields sit under shared keys, so 29 field(s) have new paths (each listed below). Callers pinned to the previous major keep the previous shape until its sunset."},{"code":"field_moved","name":"title_reading","summary":"Field `spec_6e614baf` is now `title_reading`."},{"code":"field_moved","name":"author.display_name","summary":"Field `spec_b5a82cd9` is now `author.display_name`."},{"code":"field_moved","name":"classification","summary":"Field `spec_a5bac498_spec_97a6591d` is now `classification`."},{"code":"field_moved","name":"author.role","summary":"Field `spec_05b3d047_spec_97a6591d` is now `author.role`."},{"code":"field_moved","name":"publication.original_publication","summary":"Field `spec_8176d8cb` is now `publication.original_publication`."},{"code":"field_moved","name":"text_notation","summary":"Field `spec_36cdb9f1` is now `text_notation`."},{"code":"field_moved","name":"author.name","summary":"Field `spec_f12fac71` is now `author.name`."},{"code":"field_moved","name":"author.name_reading","summary":"Field `spec_674de29b` is now `author.name_reading`."},{"code":"field_moved","name":"author.name_latin","summary":"Field `spec_645a3e4d` is now `author.name_latin`."},{"code":"field_moved","name":"author.birth_date","summary":"Field `spec_b5e7c634` is now `author.birth_date`."},{"code":"field_moved","name":"author.death_date","summary":"Field `spec_2b4f7e3e` is now `author.death_date`."},{"code":"field_moved","name":"author.biography","summary":"Field `spec_1dd609a1` is now `author.biography`."},{"code":"field_moved","name":"source.title","summary":"Field `spec_4b8bcc3c` is now `source.title`."},{"code":"field_moved","name":"source.publisher","summary":"Field `spec_e995cd9e` is now `source.publisher`."},{"code":"field_moved","name":"source.publication_date","summary":"Field `spec_a5f2a884` is now `source.publication_date`."},{"code":"field_moved","name":"credits.first","summary":"Field `spec_fe23a3a3` is now `credits.first`."},{"code":"field_moved","name":"credits.second","summary":"Field `spec_674f84b8` is now `credits.second`."},{"code":"field_moved","name":"source.reprint_date","summary":"Field `spec_ab65db5e` is now `source.reprint_date`."},{"code":"field_moved","name":"parent_source.title","summary":"Field `parent_source_text` is now `parent_source.title`."},{"code":"field_moved","name":"parent_source.publisher","summary":"Field `parent_source_publisher` is now `parent_source.publisher`."},{"code":"field_moved","name":"parent_source.first_edition_date","summary":"Field `parent_source_first_edition_date` is now `parent_source.first_edition_date`."},{"code":"field_moved","name":"files.text.name","summary":"Field `text_file_name` is now `files.text.name`."},{"code":"field_moved","name":"files.text.size","summary":"Field `text_file_size` is now `files.text.size`."},{"code":"field_moved","name":"files.text.initial_registration_date","summary":"Field `text_file_initial_registration_date` is now `files.text.initial_registration_date`."},{"code":"field_moved","name":"files.text.updated_date","summary":"Field `text_file_updated_date` is now `files.text.updated_date`."},{"code":"field_moved","name":"files.ebook.name","summary":"Field `ebook_file_name` is now `files.ebook.name`."},{"code":"field_moved","name":"files.ebook.size","summary":"Field `ebook_file_size` is now `files.ebook.size`."},{"code":"field_moved","name":"files.xhtml.name","summary":"Field `xhtml_file_name` is now `files.xhtml.name`."},{"code":"field_moved","name":"files.xhtml.size","summary":"Field `xhtml_file_size` is now `files.xhtml.size`."}]},{"version":"1.0","date":"2026-11-29T22:06:09.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_bbf8e901b833bd2d169542c0_search","name":"List Aozora.gr.jp Works","description":"Return records within the accepted scope.","definition_version":"4854099746e4043b83b017d49d6123e3d5af82150fa47226fff43106db075541","method":"POST","path":"/v1/catalog/public/apis/generated_bbf8e901b833bd2d169542c0/endpoints/generated_bbf8e901b833bd2d169542c0_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_bbf8e901b833bd2d169542c0/endpoints/generated_bbf8e901b833bd2d169542c0_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional."},"author_id":{"x-enum-labels":["person35.html","person1777.html"],"x-value-status":["observed","verified"],"x-source-key":"author_id","type":"string","pattern":"^[A-Za-z0-9_][A-Za-z0-9_\\.\\-]{0,127}$","minLength":1,"maxLength":128,"examples":["person35.html","person1777.html"],"x-open-values":true,"description":"Required. The name of a page of the same kind as the pages the pasted one links (any name that fits the pattern; the examples are the names it links). The site decides: a name it does not serve is refused as input_value_unverified.","not":{"type":"string","pattern":"\\n"},"x-source-route":"path_segment","x-input-type":{"kind":"string"}}},"required":["author_id"],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":false,"properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"row":{"type":"string"},"title_reading":{"type":"string","description":"作品名読み："},"author":{"type":"object","properties":{"display_name":{"type":"string","description":"著者名："},"role":{"type":"string","description":"作家データ / 分類："},"name":{"type":"string","description":"作家名："},"name_reading":{"type":"string","description":"作家名読み："},"name_latin":{"type":"string","description":"ローマ字表記："},"birth_date":{"type":"string","description":"生年："},"death_date":{"type":"string","description":"没年："},"biography":{"type":"string","description":"人物について："}},"additionalProperties":false},"classification":{"type":"string","description":"作品データ / 分類："},"publication":{"type":"object","properties":{"original_publication":{"type":"string","description":"初出："}},"additionalProperties":false},"text_notation":{"type":"string","description":"文字遣い種別："},"source":{"type":"object","properties":{"title":{"type":"string","description":"底本："},"publisher":{"type":"string","description":"出版社："},"publication_date":{"type":"string","description":"初版発行日："},"reprint_date":{"type":"string","description":"入力に使用："}},"additionalProperties":false},"credits":{"type":"object","properties":{"first":{"type":"string","description":"入力："},"second":{"type":"string","description":"校正："}},"additionalProperties":false},"editorial_note":{"type":"string"},"parent_source":{"type":"object","properties":{"title":{"type":"string"},"publisher":{"type":"string"},"first_edition_date":{"type":"string"}},"additionalProperties":false},"files":{"type":"object","properties":{"text":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"string"},"initial_registration_date":{"type":"string"},"updated_date":{"type":"string"}},"additionalProperties":false},"ebook":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"string"}},"additionalProperties":false},"xhtml":{"type":"object","properties":{"name":{"type":"string"},"size":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"other_details":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":["string","boolean"]}}}},"required":["title","url"]},"examples":[{"kind":"saved_validation_records","saved_at":"2026-12-01T10:55:38.288Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"files":{"ebook":{"name":"236.ebk","size":"110656"},"text":{"initial_registration_date":"1999-10-20","name":"236_ruby_19995.zip","size":"2514","updated_date":"2005-10-23"},"xhtml":{"name":"236_19996.html","size":"5383"}},"parent_source":{"first_edition_date":"1975（昭和50）年6月～1976（昭和51）年6月刊行","publisher":"筑摩書房","title":"筑摩全集類聚版太宰治全集"},"author":{"role":"著者","biography":"津軽の大地主の六男として生まれる。共産主義運動から脱落して遺書のつもりで書いた第一創作集のタイトルは「晩年」（昭和11年）という。この時太宰は27歳だった。その後太平洋戦争に向う時期から戦争末期までの困難な間も、妥協を許さない創作活動を続けた数少ない作家の一人である。戦後「斜陽」（昭和22年）は大きな反響を呼び、若い読者をひきつけた。 「 太宰治 」","death_date":"1948-06-13","name_latin":"Dazai, Osamu","name_reading":"だざい おさむ","display_name":"太宰 治","birth_date":"1909-06-19","name":"太宰 治"},"source":{"title":"太宰治全集3","publication_date":"1988（昭和63）年10月25日","publisher":"ちくま文庫、筑摩書房"},"credits":{"second":"小林繁雄","first":"柴田卓治"},"publication":{"original_publication":"「若草」1939（昭和14）年10月"},"editorial_note":"この作品には、今日からみれば、不適切と受け取られる可能性のある表現がみられます。その旨をここに記載した上で、そのままの形で作品を公開します。（青空文庫）","row":"ア、秋 （新字新仮名、作品ID：236）","text_notation":"新字新仮名","title_reading":"ア、あき","classification":"NDC 914","title":"ア、秋","url":"https://www.aozora.gr.jp/cards/000035/card236.html"},{"files":{"ebook":{"name":"1572_19910.html","size":"6219"},"text":{"initial_registration_date":"2005-10-16","name":"1572_ruby_19823.zip","size":"2733","updated_date":"2016-02-01"}},"parent_source":{"publisher":"鈴木厚司","title":"土屋隆"},"author":{"role":"著者","biography":"津軽の大地主の六男として生まれる。共産主義運動から脱落して遺書のつもりで書いた第一創作集のタイトルは「晩年」（昭和11年）という。この時太宰は27歳だった。その後太平洋戦争に向う時期から戦争末期までの困難な間も、妥協を許さない創作活動を続けた数少ない作家の一人である。戦後「斜陽」（昭和22年）は大きな反響を呼び、若い読者をひきつけた。 「 太宰治 」","death_date":"1948-06-13","name_latin":"Dazai, Osamu","name_reading":"だざい おさむ","display_name":"太宰 治","birth_date":"1909-06-19","name":"太宰 治"},"source":{"title":"新樹の言葉","publication_date":"1982（昭和57）年7月25日","reprint_date":"1982（昭和57）年7月25日","publisher":"新潮文庫、新潮社"},"credits":{"second":"鈴木厚司","first":"土屋隆"},"publication":{"original_publication":"「若草」1939（昭和14）年2月号"},"row":"I can speak （新字新仮名、作品ID：1572）","text_notation":"新字新仮名","title_reading":"アイ キャン スピーク","classification":"NDC 913","title":"I can speak","url":"https://www.aozora.gr.jp/cards/000035/card1572.html"}]}],"request_example":{"body":{"input":{"author_id":"person35.html"},"version":2,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_bbf8e901b833bd2d169542c0/endpoints/generated_bbf8e901b833bd2d169542c0_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {\n    \"author_id\": \"person35.html\"\n  },\n  \"version\": 2,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_bbf8e901b833bd2d169542c0/endpoints/generated_bbf8e901b833bd2d169542c0_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/aozora-gr-jp-works-api/","markdown":"https://cleanedweb.com/catalog/aozora-gr-jp-works-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_bbf8e901b833bd2d169542c0/endpoints/generated_bbf8e901b833bd2d169542c0_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/aozora-gr-jp-works-api/","markdown":"https://cleanedweb.com/catalog/aozora-gr-jp-works-api/index.md","contract":"https://cleanedweb.com/catalog/aozora-gr-jp-works-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
