{"id":"es-pension-jubilacion","summary":"Spanish state pension estimate from a career of periods (employee, self-employed or mixed), with the 2026 dual base reguladora and the early or delayed retirement adjustment.","method":"POST","inputSchema":{"type":"object","properties":{"periods":{"type":"array","description":"Career periods, oldest first","items":{"type":"object","properties":{"years":{"type":"number","description":"Years in this period"},"regimen":{"type":"string","enum":["general","reta"],"description":"Employee or self-employed scheme"},"monthlyBase":{"type":"number","description":"Monthly contribution base, EUR in current terms"}},"required":["years","monthlyBase"]}},"retirementAge":{"type":"number","description":"Age at retirement; 64.5 means 64 years 6 months"}},"required":["periods"]},"exampleInput":{"periods":[{"years":12,"regimen":"general","monthlyBase":1800},{"years":18,"regimen":"reta","monthlyBase":1200}],"retirementAge":66.83},"exampleOutput":{"monthsCotizados":360,"yearsCotizados":30,"eligible":true,"percentage":85.18,"baseReguladora":1178.4406664206851,"brMethod":"b302","brMethodA":1172.5714285714287,"brMethodB":1178.4406664206851,"ordinaryAgeMonths":802,"anticipationMonths":0,"delayMonths":0,"bracket":"under38y6m","reductionPct":0,"delayBonusPct":0,"monthlyPension":1003.7957596571398,"annualPension":14053.140635199958,"cappedAtMax":false,"belowMinimum":false,"rulesChecked":"2026-08","note":"Bases are read in current euros; the real INSS calculation revalues older bases with the CPI."}}