---
title: "Trainline API: Journeys | Perceptlayer"
description: "Journeys from Trainline as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/trainline/journeys
---

[APIs](https://perceptlayer.com/apis) / [Trainline](https://perceptlayer.com/apis/trainline) / Journeys

# Trainline: Journeys

Journeys from Trainline as JSON. 1 credit per successful call.

GET `/v1/trainline/journeys`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `origin` | string | Required | Any |
| `destination` | string | Required | Any |
| `date` | string | Required | Any |
| `time` | string | Optional | Any |
| `journey_type` | string | Optional | single, return, open\_return |
| `return_date` | string | Optional | Any |
| `return_time` | string | Optional | Any |
| `adults` | integer | Optional | Any |
| `children` | integer | Optional | Any |
| `child_age` | integer | Optional | Any |
| `transport_mode` | string | Optional | all, train, coach |
| `currency` | string | Optional | GBP, EUR |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/trainline/journeys" \
  -H "X-API-Key: $API_KEY"
```

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