moovexDocs

Get fares

Retrieve paginated list of fares.

GET/fares

Query Parameters

ParameterTypeRequiredDescription
sortstringNoSort by field:asc/desc Allowed: asc, desc
limitnumberYes-
pagenumberYes-
searchstringNo-

Example Response

{
  "page": 1,
  "limit": 20,
  "totalPages": 1,
  "totalResults": 2,
  "records": [
    {
      "id": 10,
      "name": "Airport to City",
      "start": 1715000000,
      "end": 1717600000
    },
    {
      "id": 11,
      "name": "City to Suburb",
      "start": 1715000000,
      "end": 1717600000
    }
  ]
}

On this page