The API uses environment variables to launch API calls: {{USERNAME}} and {{TOKEN}}. You can set them from TRY IT OUT
curl --location -g --request GET '/v2.2/stats/?user={{USERNAME}}&token={{TOKEN}}&t=team&id=98&season_id=406'
{}