Am I allowed to share Stack Overflow data along with a paper that uses it?
The license information can be found at https://academia.stackexchange.com/help/licensing, which also has links to the terms of service.
That, in turn, has links to the API terms of service.