OpenGL vs DirectX was an old debate from our age. Today tried to check where it stands. Only to figure out there's a 3rd contender now -- Vulkan. Just a direct competitor to OpenGL on the same level.
Also there seems to be WebGL. But guess that's a browser wrapper over OpenGL or DirectX.