---
title: "GET /rail/rail_cards"
method: GET
path: "/rail/rail_cards"
tags: ["rail"]
---

# GET /rail/rail_cards

`GET /rail/rail_cards`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/rail/rail_cards`
- Auth: API key in header `Authorization`

## Query parameters

- `new_rail_search` boolean

## Response `200`

Request fulfilled, document follows

- RailCardListResponseSchema[]
  - `id` string, uuid
  - `name_en` string
  - `status` 'active' | 'archived'
  - `vendor` 'DB' | 'DB_BIBE' | 'ATOC' | 'SNCF'
  - `vendor_code` string
  - `card_id` string
  - `is_number_required` boolean
  - `number_length` integer, nullable
  - `number_prefix` string, nullable
  - `number_validation_regex` string, nullable
  - `validation_algorithm` string, nullable

## Other responses

- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
