I thought X^2=Y^3 + 1 was a well-known problem.
There are trivial solutions, such as y=0, x=1, or x=0, y=-1. Ingnoring that, we have (X-1)(X+1) = y^3, with all factors assumed positive. X-1 and X+1 can only have 2 as a common factor. And, in that case, one term is divisible by 4. X-1=2a^3, X+1 = 4b^3, assuming a>0, b>0, this gives us 2=4a^3-2b^3, or 1 =2a^3-b^3. This is only possible if a=b=1. Thus the solution is 3^2=2^3+1.
For negative terms,b=-1, a=-1, 1=b^3-2a^3, giving x-1=4a^3=-4, x+1=2b^3=-2, we could have found, but excluded: (-3)^2= 2^3+1 for a=b=-1.
If they have nothing in common we get 2 = b^3-a^3, which gives no answer in positive integers. However, X-1= a^3=-1, X+1= b^3=1, gives X=0, Y=-1, another trivial result.
Thus there is only one non-trivial solution, already given: 3^2= 2^3+1.