# Philippines Regular Season Schedule

> `GET /api/esports/ph/schedule`: Esports endpoint of the Rone Arena API.

Regular-season schedule of the Philippine professional league, grouped by week and day.

Query parameters:
- **week**: Optional week number. Omit it to get every week; an unknown week returns 404.

Each match has:
- **match_id**: Value for the matches endpoint; null while no details page exists.
- **start_at**: Start time in UTC (ISO 8601). **local_time** is the time as shown on the site.
- **team1** / **team2** with logo, and **score1** / **score2** (null until played).

Data is read from the league's public site and cached for 5 minutes.

## Request

`GET https://arena.rone.dev/api/esports/ph/schedule`

### Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `week` | query | string | no |  | Regular-season week to return. Omit it to get every week. The number of weeks varies by season. |

### Example

```bash
curl -X GET 'https://arena.rone.dev/api/esports/ph/schedule'
```

## Example response

```json
{
  "weeks": [
    {
      "week": 1,
      "days": [
        {
          "day": 1,
          "label": "Friday, 14 August 2026",
          "matches": [
            {
              "match_id": "1036",
              "start_at": "2026-08-14T08:00:00+00:00",
              "local_time": "15:00",
              "team1": {
                "name": "EVOS",
                "logo": "https://wsrv.nl/?url=https%3A%2F%2Fexample.com%2Fteams%2Fevos.png"
              },
              "team2": {
                "name": "RRQ",
                "logo": "https://wsrv.nl/?url=https%3A%2F%2Fexample.com%2Fteams%2Fevos.png"
              },
              "score1": 2,
              "score2": 0
            }
          ]
        }
      ]
    }
  ]
}
```

## Links

- Try it in the playground: https://arena.rone.dev/web/esports/ph/schedule
- Esports endpoints: https://arena.rone.dev/web/esports.md
- OpenAPI schema: https://arena.rone.dev/api/openapi.json
