{"openapi": "3.1.0", "info": {"title": "シルギア 健康保険の給付API", "version": "1.0.0", "description": "登録不要・無料の健康保険の給付のAPI。出産育児一時金の額（1994年10月からの時期ごと・産科医療補償制度の加算の有無）、出産手当金・傷病手当金の計算のしかた（標準報酬月額の平均÷30×2/3・端数・12か月に満たないとき・支給期間・待期）、標準報酬月額の等級表（健康保険 第1〜50級・厚生年金 第1〜32級と2029年9月までの改正）を返します。健康保険法・施行令・厚生年金保険法（e-Gov）と厚生労働省・協会けんぽの公表から作成し、照合した日を data_version で返します。保険料率は /shaho/ にあります。説明: https://api.shirugear.com/kenpo/ 。v1 の中では項目を足すことはあっても、名前や意味は変えません（知らない項目は無視してください）。", "termsOfService": "https://api.shirugear.com/terms/", "contact": {"name": "アナライズギア株式会社（シルギア）", "url": "https://shirugear.com/contact"}}, "servers": [{"url": "https://api.shirugear.com"}], "paths": {"/kenpo/v1/birth.json": {"get": {"summary": "出産育児一時金の時期ごとの額と決まり", "operationId": "getBirth", "responses": {"200": {"description": "出産育児一時金", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Birth"}, "example": {"name": "出産育児一時金（健康保険）", "currency": "JPY", "periods": [{"key": "2022-01", "from": "2022-01-01", "until": "2023-03-31", "amount": 420000, "base": 408000, "sanka_addition": 12000, "basis": "本人分40.4万円→40.8万円・掛金1.6万円→1.2万円（原則42万円）。令和3年政令第222号"}, {"key": "2023-04", "from": "2023-04-01", "until": null, "amount": 500000, "base": 488000, "sanka_addition": 12000, "basis": "本人分40.8万円→48.8万円（原則50万円）。令和5年政令第23号"}], "rules": {"amount": "産科医療補償制度に加入している病院・診療所・助産所で、在胎週数22週以降に出産したときは amount（今は50万円）。加入していない医療機関での出産や、在胎週数22週未満の出産は base（今は48.8万円）。差の sanka_addition（今は1.2万円）は、産科医療補償制度の掛金にあたる加算です。", "per_child": "1児につきの額です。双子など多胎のときは、生まれた子の数だけ支給されます。", "birth": "妊娠85日（4か月）以後の出産が対象で、早産・死産（流産）・人工妊娠中絶も含みます。", "family": "被扶養者が出産したときの家族出産育児一時金も、同じ額です。", "payment": "多くは、健康保険から医療機関へ直接支払う「直接支払制度」で受け取ります。出産費用が支給額より少なければ差額を後から受け取り、多ければ超えた分を医療機関に支払います。", "time": "時期は出産の日で決まります（政令の附則で、施行日前の出産は前の額）。", "addition_law": "加算は「3万円を超えない範囲内で保険者が定める金額」（健康保険法施行令 第36条ただし書）。sanka_addition は厚生労働省の資料にある掛金分の額です。", "law": "健康保険法 第101条・第114条、健康保険法施行令 第36条"}, "upcoming": {"law": "健康保険法等の一部を改正する法律（令和8年法律第31号・2026年6月5日公布）", "change": "出産育児一時金は、健康保険の「分娩費」（分娩の手当に要する標準的な費用の額を勘案して厚生労働大臣が定める額）と「出産時一時金」（政令で定める額）に変わります。", "from": null, "from_note": "施行日は「公布の日から起算して2年を超えない範囲内において政令で定める日」で、まだ決まっていません。分娩費・出産時一時金の額も決まっていません。決まったら時期を足します。"}, "data_version": "2026-12-02"}}}}, "400": {"description": "URLの形が違う", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "日本国内以外から", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "404": {"description": "無いファイル", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "405": {"description": "GET/HEAD以外", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}}}}, "/kenpo/v1/allowance.json": {"get": {"summary": "出産手当金・傷病手当金の計算のしかた・期間・待期", "operationId": "getAllowance", "responses": {"200": {"description": "計算のしかた", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Allowance"}, "example": {"name": "出産手当金・傷病手当金の計算のしかた（健康保険）", "currency": "JPY", "rules": {"daily": {"rule": "1日あたりの額 = 支給を始める日の属する月以前の直近の継続した12か月の各月の標準報酬月額の平均 ÷ 30 × 2/3", "round_30": "÷30 の額は、5円未満を切り捨て、5円以上10円未満を10円に切り上げます（10円未満の四捨五入）。", "round_2_3": "×2/3 の額は、50銭未満を切り捨て、50銭以上1円未満を1円に切り上げます（1円未満の四捨五入）。", "months": 12, "law": "健康保険法 第99条第2項（出産手当金は第102条第2項で準用）"}, "short_tenure": {"rule": "支給を始める日の属する月以前の直近の継続した期間で、標準報酬月額が定められている月が12か月に満たないときは、次のうち少ない額の2/3（1円未満の四捨五入）です。(1) その継続した各月の標準報酬月額の平均 ÷ 30（10円未満の四捨五入）。(2) 前年度の9月30日の全被保険者の標準報酬月額の平均を、報酬月額とみなしたときの標準報酬月額 ÷ 30（10円未満の四捨五入）。", "kyoukai_average": [{"from": null, "until": "2025-03-31", "amount": 300000}, {"from": "2025-04-01", "until": null, "amount": 320000}], "kyoukai_note": "kyoukai_average は協会けんぽの (2) の額で、支給を始める日で選びます。協会けんぽの案内には 30万円を「支給開始日が令和7年3月31日以前の方」とだけ書いてあり、それより前の額（28万円の時期など）は収録していません。健康保険組合は組合ごとに額が違います。", "law": "健康保険法 第99条第2項ただし書"}}, "data_version": "2026-12-02"}}}}, "400": {"description": "URLの形が違う", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "日本国内以外から", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "404": {"description": "無いファイル", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "405": {"description": "GET/HEAD以外", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}}}}, "/kenpo/v1/grades.json": {"get": {"summary": "標準報酬月額の等級表（健康保険・厚生年金保険）", "operationId": "getGrades", "responses": {"200": {"description": "等級表", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Grades"}, "example": {"name": "標準報酬月額の等級表（健康保険・厚生年金保険）", "currency": "JPY", "health": {"law": "健康保険法 第40条第1項", "periods": [{"key": "2016-04", "from": "2016-04-01", "until": null, "count": 50, "min_amount": 58000, "max_amount": 1390000, "basis": "健康保険法 第40条第1項（平成27年法律第31号で第48〜50級を追加。2016年4月施行）", "grades": [{"grade": 1, "amount": 58000, "min": 0, "max": 63000}, {"grade": 2, "amount": 68000, "min": 63000, "max": 73000}]}]}, "pension": {"law": "厚生年金保険法 第20条第1項", "periods": [{"key": "2020-09", "from": "2020-09-01", "until": "2027-08-31", "count": 32, "min_amount": 88000, "max_amount": 650000, "basis": "令和2年政令第246号で第32級 650,000円を追加（2020年9月施行）", "grades": [{"grade": 1, "amount": 88000, "min": 0, "max": 93000}, {"grade": 2, "amount": 98000, "min": 93000, "max": 101000}]}]}, "rules": {"range": "報酬月額が min 以上 max 未満のとき、その等級の amount が標準報酬月額です。第1級の min は 0、最高等級の max は null（上限なし）です。"}, "data_version": "2026-12-02"}}}}, "400": {"description": "URLの形が違う", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "日本国内以外から", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "404": {"description": "無いファイル", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "405": {"description": "GET/HEAD以外", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}}}}, "/kenpo/v1/meta.json": {"get": {"summary": "データの版・時期の一覧・出典", "operationId": "getMeta", "responses": {"200": {"description": "データの版", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Meta"}, "example": {"data_version": "2026-12-02", "files": ["birth", "allowance", "grades"]}}}}, "400": {"description": "URLの形が違う", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "日本国内以外から", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "404": {"description": "無いファイル", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "405": {"description": "GET/HEAD以外", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}}}}}, "components": {"schemas": {"BirthPeriod": {"type": "object", "properties": {"key": {"type": "string"}, "from": {"type": "string", "format": "date"}, "until": {"type": ["string", "null"], "format": "date"}, "amount": {"type": "integer", "description": "産科医療補償制度の対象の出産の額（1児・円）"}, "base": {"type": "integer", "description": "加算なしの額（制度に入っていない医療機関・在胎週数22週未満）"}, "sanka_addition": {"type": ["integer", "null"], "description": "産科医療補償制度の掛金分の加算。制度が無かった時期は null"}, "basis": {"type": "string"}}, "required": ["key", "from", "until", "amount", "base", "sanka_addition", "basis"]}, "Birth": {"type": "object", "properties": {"name": {"type": "string"}, "currency": {"type": "string", "const": "JPY"}, "periods": {"type": "array", "items": {"$ref": "#/components/schemas/BirthPeriod"}}, "rules": {"type": "object", "description": "条件・多胎・家族出産育児一時金・直接支払制度など（文で説明）"}, "upcoming": {"type": "object", "description": "公布済みで施行日が決まっていない改正（令和8年法律第31号）"}, "data_version": {"type": "string"}}, "required": ["name", "currency", "periods", "rules", "upcoming", "data_version"]}, "Allowance": {"type": "object", "properties": {"name": {"type": "string"}, "currency": {"type": "string", "const": "JPY"}, "rules": {"type": "object", "description": "daily（計算式と端数）・short_tenure（12か月に満たないとき。kyoukai_average は協会けんぽの上限の時期ごとの額）・maternity（before_days 42・before_days_multiple 98・after_days 56）・sickness（waiting_days 3・通算1年6か月）など"}, "data_version": {"type": "string"}}, "required": ["name", "currency", "rules", "data_version"]}, "Grade": {"type": "object", "properties": {"grade": {"type": "integer"}, "amount": {"type": "integer", "description": "標準報酬月額（円）"}, "min": {"type": "integer", "description": "報酬月額の下限（以上・円）"}, "max": {"type": ["integer", "null"], "description": "報酬月額の上限（未満・円）。最高等級は null"}}, "required": ["grade", "amount", "min", "max"]}, "GradePeriod": {"type": "object", "properties": {"key": {"type": "string"}, "from": {"type": "string", "format": "date"}, "until": {"type": ["string", "null"], "format": "date"}, "count": {"type": "integer"}, "min_amount": {"type": "integer"}, "max_amount": {"type": "integer"}, "basis": {"type": "string"}, "grades": {"type": "array", "items": {"$ref": "#/components/schemas/Grade"}}}, "required": ["key", "from", "until", "count", "min_amount", "max_amount", "basis", "grades"]}, "Grades": {"type": "object", "properties": {"name": {"type": "string"}, "currency": {"type": "string", "const": "JPY"}, "health": {"type": "object", "properties": {"law": {"type": "string"}, "periods": {"type": "array", "items": {"$ref": "#/components/schemas/GradePeriod"}}}}, "pension": {"type": "object", "properties": {"law": {"type": "string"}, "periods": {"type": "array", "items": {"$ref": "#/components/schemas/GradePeriod"}}}}, "rules": {"type": "object", "description": "範囲の読み方・標準賞与額の上限（health_bonus_cap 573万円/年度・pension_bonus_cap 150万円/月）・今後の改正"}, "data_version": {"type": "string"}}, "required": ["name", "currency", "health", "pension", "rules", "data_version"]}, "Meta": {"type": "object", "properties": {"data_version": {"type": "string"}, "checked_at": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}, "periods": {"type": "object", "additionalProperties": {"type": "array", "items": {"type": "object", "properties": {"key": {"type": "string"}, "from": {"type": ["string", "null"], "format": "date"}, "until": {"type": ["string", "null"], "format": "date"}}, "required": ["key", "from", "until"]}}}, "scope": {"type": "string"}, "notice": {"type": "string"}, "sources": {"type": "array", "items": {"type": "object", "properties": {"label": {"type": "string"}, "url": {"type": "string"}}, "required": ["label", "url"]}}}, "required": ["data_version", "checked_at", "files", "periods", "scope", "sources"]}, "Error": {"type": "object", "properties": {"error": {"type": "object", "properties": {"status": {"type": "integer"}, "code": {"type": "string", "enum": ["invalid_request", "not_found", "region_not_allowed", "method_not_allowed"]}, "message": {"type": "string"}}, "required": ["status", "code", "message"]}}, "required": ["error"]}}}}
