# Does sage offer API?

Hello, I am currently using sage for calculations on elliptic curves in my semestral project and I want to build a sort of a "wrap GUI" in JavaFX, which would generate input for Sage and then will format the output from it. I was wondering if Sage offers some kind of API? I am well aware of using Processbuilder class in java to create and manage different processes, but this method inevitably has some caveats, so I'm just interested, is Sage offering some kind of API?