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

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

# Trainline: Journeys Price Prediction

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

GET `/v1/trainline/journeys-price-prediction`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `search_id` | string | Required | Any |
| `journey_id` | string | Required | Any |
| `currency` | string | Optional | GBP, EUR |

## Example request

cURL shell 

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

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