Skip to main content

Samples

note

Fixed forward prices apply only if your organization has access to fixed forward prices. Without it, latestFixedForwardPrices and the fixedForward price symbol of a fuel port profile return a Forbidden error. Contact team@tideform.io to request access.

The JavaScript and Python tabs assume you already have an access token (accessToken in JavaScript, access_token in Python) from the Authentication guide.

All Fixed Forward Prices​

query allFixedForwardPrices {
latestFixedForwardPrices {
port {
id
name
countryName
}
fuelGrade {
id
description
}
latestPrices {
publishedDate
price
effectiveDate
relativeDate {
count
unit
}
}
}
}

Filter By Fuel Grade And Port​

query fixedForwardPricesByFuelGradeAndPort {
latestFixedForwardPrices(
input: {
fuelGradeIds: ["mgo", "vlsfo"]
portIds: ["sgsin", "nlrtm", "aefjr"]
}
) {
port {
id
name
countryName
}
fuelGrade {
id
description
}
latestPrices {
publishedDate
price
effectiveDate
relativeDate {
count
unit
}
}
}
}