Sprutgaming API
  • Welcome
  • Information
    • Authorization
  • Core
    • Media
      • Get Banners By Category
      • Get Gallery By Category
    • Stories
      • Get Story List
    • Site Blocks
      • Get News
        • Get Stock News List
        • Get Bonuses With News
        • Get Slot Templates?
      • Get Sections
      • Get Settings
      • Get Languages List
      • Get FAQ List
      • Get Language by slug
      • Get Site Section List
      • Get Site Section by slug
      • Get SIte Footer
    • Sportbook
      • Open Session
      • Close Session
    • Promocodes
      • Activate Promocode
    • Chat
      • Get Chats List
      • Get Ads
      • Get Rules
      • Get Messages In Chat
      • Send Message
  • Services
    • User Service
      • Authorization
        • Recovery
          • Send Code
          • Verify Code
          • Update
        • Password Reset
          • Send Code
          • Update
        • Confirmation
          • Send Code
          • Verify Code
        • Login
        • Register
        • Refresh Token
        • Me
        • Self Block
        • Update
      • Fingerprint
        • Get Widget
        • Get Balance
        • Get Transactions
      • Ranks
      • Avatars
        • Get Avatars
        • Update User Avatar
        • Remove User Avatar
      • Countries
      • Promocodes
    • Game Service
      • Session
        • 🎮Open Demo Session
        • 🎲Open Real Session
      • Sections
        • 🖇️Get Available Sections
        • 📦Get Games By Section
        • 🎲Get Section By Id
      • Themes
        • 🎨Get Available Themes
        • 📦Get Games By Theme
      • Favourites
        • Get Favourites
        • Add To Favourites
        • Remove From Favourites
      • Casino Games
        • Get last played games
        • Get Casino games List
      • Providers
        • Get Providers List
      • Misc
        • Get Game By UUID
        • Get Last Played Games
      • User Big Wins
    • Wallet Service
      • Exchanger
        • ➡️Get Output Pairs
        • ⬅️Get Input Pairs
      • 👉Prerequisites
      • 🗃️Get Wallets
      • 💲Get Wallet By Currency
      • 🗳️Get Transactions
      • 💱Get Available Currencies
      • True Play
        • Get True Play Balance
        • Get True Play Widget
        • Get True Play Exchange transactions
    • Bonus Service
      • Lucky Spin
        • Get Available Spins
        • Spin
      • Get Available Bonuses
      • Get Active Bonuses
      • Get Bonus History
      • Activate Bonus
      • Cancel Active Bonus
      • Get Bonus Categories
      • Get Bonus By Id
    • Tournament Service
      • Get Tournaments
      • Get Tournament by ID
      • Get Tournament Users
      • Get Tournament Games
      • Get User Tournament History
    • Jackpot Service
      • Get Jackpot Groups
      • Get Jackpot Group
      • Get Jackpot Group Winners History
      • Get Jackpot Group Games
      • Get User Jackpot Win History
    • Achievement Service
      • Get List of Achievement Categories
      • Get List of Achievements
      • Get User Achievement Points
    • Store Service
      • Get Products List
      • Get Product Categories
      • Get User Products
      • Purchase Bonus
    • Loyalty Store Service
    • Notification Service
      • User Notifications
        • Get notifications
        • Read Notifications
        • Read All Notifications
        • Delete Notifications
    • SSO (OAuth2) Service
    • Payment Serive
      • Payment Methods Groups
        • List
        • Get By Id
      • Payment Actions
        • Pay
        • Withdraw
        • Cancel
      • Payment Orders
        • List
      • Aggregate
        • Aggregate by currencies
    • Config Service
      • Settings
        • List Public Settings
Powered by GitBook
On this page
  • Endpoint
  • Response
  • Explanation
  1. Services
  2. Tournament Service

Get User Tournament History

Description

This endpoint retrieves the tournament participation history of a specific user, including their performance and results in past tournaments.

Endpoint

GET/tournament-service/v1/tournaments/users/history

Body

Name
Type
Description
Optional

page

number

Page number for pagination

Yes

per_page

number

Number of tournaments per page (default: 10)

Yes

Response

Success Response (200)

{
    "data": [
        {
            "id": 130,
            "user_id": "004bbc2d-6686-48ee-a537-dcd725354669",
            "points": 1,
            "bets_count": null,
            "place": 1,
            "sum_amount_bets": null,
            "winning_amount": 1,
            "created_at": "2025-02-24T17:34:14.000000Z",
            "updated_at": "2025-02-24T17:34:14.000000Z",
            "tournament": {
                "id": 11,
                "name": "Test",
                "description": "10",
                "start_date": null,
                "end_date": null,
                "conditions": "10",
                "prize_fund": 10,
                "currency": {
                    "id": 13,
                    "enabled": 1,
                    "name": "US Dollar",
                    "code": "USD",
                    "sign": "$",
                    "subunits": 2,
                    "type": "fiat"
                },
                "created_at": "2025-02-04T17:19:44.000000Z",
                "updated_at": "2025-02-27T13:05:48.000000Z",
                "media": []
            }
        }
    ],
    "links": {
        "first": "http://127.0.0.1:8001/api/tournament/users/{userId}/history?page=1",
        "last": "http://127.0.0.1:8001/api/tournament/users/{userId}/history?page=1",
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "last_page": 1,
        "per_page": 10,
        "to": 1,
        "total": 1
    }
}

Explanation

This API request allows you to fetch the tournament history for a specific user, identified by {userId}. The response includes:

  • Tournament ID and details

  • User's performance (points, ranking, winnings, etc.)

  • Tournament conditions and prize information

This endpoint is useful for tracking a player's participation in tournaments and reviewing their past achievements.

PreviousGet Tournament GamesNextJackpot Service

Last updated 2 months ago