GET Ferries

Returns all ferry terminals.

Request Information

https://nc.prod.traveliq.co//api/v2/get/ferryterminals

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
Id

A unique identifier.

integer
Latitude

The latitude describing the location. Format: double between -90 and 90.

double
Longitude

The longitude describing the location. Format: double between -180 and 180.

double
Name

The name of the ferry terminal.

string
Status

Associated with the Id, possible values:In Service On Schedule, In Service Off Schedule, Out of Service

string
LastUpdated

The date the item's details were last updated in Unix time. More information

integer

Response Formats

JSON

Sample:
[
    {
        "Id": 2054,
        "Latitude": 35.69805,
        "Longitude": -75.770616,
        "Name": "Hatteras to Stumpy Point",
        "Status": "No Status Available",
        "LastUpdated": 1730851200
    },
    {
        "Id": 2055,
        "Latitude": 35.20815,
        "Longitude": -75.702895,
        "Name": "Ocracoke to Hatteras",
        "Status": "No Status Available",
        "LastUpdated": 1730851200
    }
]

XML

Sample:
<FerryTerminalsList>
    <FerryTerminals>
        <Id>2055</Id>
        <Latitude>35.20815</Latitude>
        <Longitude>-75.702895</Longitude>
        <Name>Ocracoke to Hatteras</Name>
        <Status>No Status Available</Status>
        <LastUpdated>1730851200</LastUpdated>
    </FerryTerminals>
    <FerryTerminals>
        <Id>2056</Id>
        <Latitude>35.394739</Latitude>
        <Longitude>-76.329366</Longitude>
        <Name>Ocracoke to Swan Quarter</Name>
        <Status>No Status Available</Status>
        <LastUpdated>1730851200</LastUpdated>
    </FerryTerminals>
</FerryTerminalsList>