Forum Discussion

Re: nhl 21 api for stats?

You should be using the entire command I posted (starting with "curl" and ending with the URL) in your terminal. I've confirmed it works for Mac, Linux, and Windows command line. In any case, the "referer" portion is what handles authentication I believe. Let me know if that helps.

For clarity this is the command (substitute your club Id for "#####"):

curl --referer www.ea.com "https://proclubs.ea.com/api/nhl/members/stats?clubId=#####&platform=ps4"

32 Replies