---
title: "Trip.com API: Trains Calendar | Perceptlayer"
description: "Trains Calendar from Trip.com as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/trip-com/trains-calendar
---

[APIs](https://perceptlayer.com/apis) / [Trip.com](https://perceptlayer.com/apis/trip-com) / Trains Calendar

# Trip.com: Trains Calendar

Trains Calendar from Trip.com as JSON. 1 credit per successful call.

GET `/v1/trip-com/trains-calendar`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `from` | string | Required | Any |
| `to` | string | Required | Any |
| `date` | string | Required | Any |
| `currency` | string | Optional | USD, EUR, GBP, JPY, KRW |
| `locale` | string | Optional | en, en-gb, de, fr, ja, ko, zh-hk |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/trip-com/trains-calendar?from=GB3467&to=FR3466&date=2026-12-03&currency=EUR" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/trip-com?try=trains-calendar#playground) with your own parameters. 1 credit per successful call; failed calls are free.
