---
# System prepended metadata

title: vp-schedule LoL 賽事狀態api

---

**賽事狀態**
----
 
![截圖 2024-04-19 下午2.36.26](https://hackmd.io/_uploads/r1VWZ9JW0.png)




* **URL**

  https://event-api.vpgame.com/api/v1/schedule/lol/scheduleinfo
  
  deprecated
  https://www.vpgame.com/schedule/sha/dota2/pro/webservice/v2/schedule/schedule-info
  

* **Method:**
  

  `GET`
  
*  **URL Params**


   **Required:**
   
    `schedule_id=12345`

   **Optional:**
   
   `as= timestamp` // anti crawler seed
   
   `cp= md5(parseInt(as * 2 / 3 + 4 - 5))` // anti crawler secret
   


* **Success Response:**
  

  * **Code:** 200 <br />
    **Content:** 
    ```
    {
      "status": 200,
      "message": "success",
      "data": {
  	      info: {
  	        status: 'start', // wait | start | end
  	        link_uid: 8888,
  	        match_time: 1710927087,
  	        team1: {
  	          id: 12345,
  	          abbr: 'team1',
  	          logo: 'https://logo.png',
  	          score: 1,             // 比分
  	        },
  	        team2: {
  	          id: 67890,
  	          abbr: 'team2',
  	          logo: 'https://logo.png',
  	          score: 2,             // 比分
  	        },
  	        box: 5,               // 幾局幾勝
  	        guess_link: 'https://www.guess_link.com/',
  	      },
  	      match: [5566, 1234]    // matchIds 局id
        },
      "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/lol/scheduleinfo?schedule_id=3025

* **Notes:**


