Like this GET application/rate_limit_status | Docs | Twitter Developer Platform
No, there’s no v2 endpoint for this.