Forums

Sofascore API not working (paid account)

I can't get the Sofascore API to work, I've tried with Http Client and requests, and also tried with Selenium, and I always get a 403 Forbidden response. Why is that? Other APIs works fine but not the one from Sofascore.

Your account "emtippning" is a free one, but I assume you're running the code you describe in a different account that is paid.

A 403 error is just a generic "access denied" message, so with a free account you'd get that error from our systems when they deny you access to a non-allowlisted site, but even with a paid account you might get one if the API that you are connecting to is denying you access for some reason.

Your best best is to look at the content of the 403 response. This will normally contain information about why the access was denied.