V2 |
| Posted: 18 Dec 2025 06:31 | |||
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? | ||
![]() | |||
| Posted: 18 Dec 2025 07:23 | |||
Ovokx 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 | ||
![]() | |||
| Posted: 18 Dec 2025 09:13 | |||
zag Posts: 3,905 Joined: 2020 | 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 | ||
![]() |