---
# System prepended metadata

title: vp-schedule 賽事列表api

---

**賽事列表**
----

![截圖 2024-03-25 上午11.26.15](https://hackmd.io/_uploads/ByCe1d0Ap.png)




* **URL**

  https://event-api.vpgame.com/api/v1/schedule/list/all
  
  deprecated
  https://dataservice-sec.vpgame.com/dota2/pro/webservice/schedule/list/all

* **Method:**
  

  `GET`
  
*  **URL Params**


   **Required:**
 
   `start_date= 1595076723 // timestamp`
   
   `interval= 7`

   **Optional:**
   
   `as= timestamp` // anti crawler seed
   
   `cp= md5(parseInt(as * 2 / 3 + 4 - 5))` // anti crawler secret
   
   `game_type= dota | csgo | lol | pubg` // 遊戲篩選
   
   `status= wait | start | end` // 狀態篩選
   
   `league_id= 2001` // 賽事篩選
   
   `team_id= 1001` // 戰隊篩選


* **Success Response:**
  

  * **Code:** 200 <br />
    **Content:** 
    ```
    {
      "status": 200,
      "message": "success",
      "data": [
          {
              "date": 1710927087,
              "list":[
                {
                  "status":"wait",
                  "game_type":"dota",
                  "match_time":1710927087,
                  "rank":[], 
                  "milestone":[],
                  "schedule_name":"schedule_name",
                  "guess_link":"https://www.guess_link.com/",
                  "link_uid":123456,
                  "has_pre_data":true,
                  "has_match":true,
                  "has_live":true,
                  "has_video":true,
                  "has_highlight":true,
                  "box":"",  // 幾局幾勝
                  "team1":{
                    "logo":"https://resource-sec.vpgame.com/sh-dashboard/..png",
                    "abbr":"",
                    "score":1
                  },
                  "team2":{
                    "logo":"https://resource-sec.vpgame.com/sh-dashboard/..png",
                    "abbr":"",
                    "score":2
                  }
                }
              ]
            }
      ],
      "statusCode": 200
    }
    ```
 
* **Error Response:**

  * **Code:** 120500100  <br />
    **Content:**
    ```
    {
      "code": 120500100,
      "message": "wrong anti crawler seed and secret, are you a crawler ?",
      "success": false
    }
    ```
    
* **Sample Call:**

  https://event-api.vpgame.com/api/v1/schedule/list/all?interval=1&start_date=1595076723&game_type=lol&status=end
    

* **Notes:**
 