API Returning HTML Instead of JSON At Specific Routes?

Thanks.

https://{site-url}/user_actions.json?username={user}&api_key={key}

Does return the content that I need. However, shouldn’t the original path also work? You can see it being called in the network tab when accessing the user activity page and it’s got .json? appended to it.