Skip to main content

Spire Maritime AIS

The Conduit Platform by default supports Spire Maritime AIS as a source only.

The Spire Maritime AIS source can connect to and emit records from the Spire Maritime 2.0 GraphQL API.

Required Configurations

NameDescriptionRequiredDefault
tokenAPI access token to use when accessing the Spire Maritime 2.0 GraphQL API.Yes

Looking for something else? See advanced configurations.

If legacy Spire Maritime AIS API support is required, please contact us.

API Token

An API token is required to access the Spire Maritime 2.0 GraphQL API. These are manually generated by the Spire AIS team based on the subset of data and products purchased directly with Spire AIS.

Please contact your Spire AIS representative to provide a unique API token for use with the Conduit Platform.

GraphQL Query

The default configuration for the Spire Maritime AIS source connector queries the Maritime v2.0 API for the following data. For more information on the data and definitions, see the Spire Maritime AIS Data Dictionary.

query ($first: Int!, $after: String){
vessels(first:$first, after:$after) {
pageInfo {
hasNextPage
endCursor
}
nodes {
id
updateTimestamp
staticData {
aisClass
flag
name
callsign
timestamp
updateTimestamp
shipType
shipSubType
mmsi
imo
callsign
dimensions {
a
b
c
d
width
length
}
}
lastPositionUpdate {
accuracy
collectionType
course
heading
latitude
longitude
maneuver
navigationalStatus
rot
speed
timestamp
updateTimestamp
}
currentVoyage {
destination
draught
eta
timestamp
updateTimestamp
}
}
}
}

Advanced Configurations

NameDescriptionRequiredDefault
apiUrlThe API URL to use for accessing the Spire Maritime 2.0 GraphQL API.Nohttps://api.spire.com/graphql
queryThe query to send to the Spire Maritime 2.0 GraphQL API.NoSee default graphQL query
batchSizeThe maximum number of results to retrieve for each request.No100