Authentication

Profile Authentication

User management within our system is seamlessly handled through the Auth0 service, powered by Okta.

Auth0 authentication is only used to securely manage your account on the API service. You can log in to the website and access your profile to manage your account from there.

Lottery data authentication

Authentication for all API endpoints designed to retrieve lottery data requires an authentication token. For details on tokens, please refer to Profile management.

When interacting with lottery data endpoints, the API Token must be included in the X-API-Token header parameter, as shown in the cURL command below:

curl -H 'X-API-Token: YOUR_TOKEN' \
  https://api.lotteryresultsapi.com/<endpoints>