Site
Home / Forum / General Discussion / V2

V2


Posted: 18 Dec 2025 06:31
Barbar511
Editor Premium
Posts: 4
Joined: 2025

Hello, I purchased the premium package but the V2 coding is not working. It says the API key is missing and that I need to register. I registered, what's the problem?

transparent spacer
Posted: 18 Dec 2025 07:23

Ovokx
Admin
Posts: 1,860
Joined: 2020

Hello, check "V2 Authentication" here: https://www.thesportsdb.com/documentation#authentication_v2 and make sure you are including the API key in the header using this attribute 'X-API-KEY'.

zag
transparent spacer
Posted: 18 Dec 2025 09:13

zag
Admin
Posts: 3,905
Joined: 2020

Hello, I purchased the premium package but the V2 coding is not working. It says the API key is missing and that I need to register. I registered, what's the problem?

Most likely you are not sending the API key in the header.

The easiest way to test v2 is to use Httpie as in our testing guide here:

https://www.thesportsdb.com/docs_api_testing

transparent spacer
Showing 0 to 3 (Total: 3)