TruckStop

PRIME Web API Documentation

Description

Downloads the retail prices for all the stops in the ProMiles truck stop database that have reported prices for the current day.

Version

Version 1.0

Method Signature

TruckStop TruckStop(string apiKey, int id);

Code Sample - Get Method

Request


    {
        "apikey": "YOUR_API_KEY",
        "id": "235"
    }

Response


    {
    "Associations": [],
    "FuelCards": [
        "EFS",
        "Fleet One",
        "TCH",
        "T-Chek",
        "Comdata"
    ],
    "Amenities": [
        {
            "Name": "American Express",
            "Category": "CARDS",
            "Value": null
        },
        {
            "Name": "ATM",
            "Category": "MONEY SERVICES",
            "Value": null
        },
        {
            "Name": "Bank Debit Card",
            "Category": "CARDS",
            "Value": null
        },
        {
            "Name": "Bill Pay",
            "Category": "MONEY SERVICES",
            "Value": null
        },
        {
            "Name": "Comdata",
            "Category": "FUEL CARDS",
            "Value": null
        },
        {
            "Name": "Convenience Store",
            "Category": "GENERAL",
            "Value": null
        },
        {
            "Name": "Deli",
            "Category": "FOOD",
            "Value": null
        },
        {
            "Name": "Discover",
            "Category": "CARDS",
            "Value": null
        },
        {
            "Name": "EFS",
            "Category": "FUEL CARDS",
            "Value": null
        },
        {
            "Name": "Fleet One",
            "Category": "FUEL CARDS",
            "Value": null
        },
        {
            "Name": "Gasoline Available",
            "Category": "FUEL",
            "Value": null
        },
        {
            "Name": "MasterCard",
            "Category": "CARDS",
            "Value": null
        },
        {
            "Name": "Money Orders",
            "Category": "MONEY SERVICES",
            "Value": null
        },
        {
            "Name": "Parking Spaces",
            "Category": "GENERAL",
            "Value": null
        },
        {
            "Name": "Pay At Pump",
            "Category": "TECHNOLOGY",
            "Value": null
        },
        {
            "Name": "Pumps",
            "Category": "GENERAL",
            "Value": "2"
        },
        {
            "Name": "Snack / Coffee Bar",
            "Category": "FOOD",
            "Value": null
        },
        {
            "Name": "T-Chek",
            "Category": "FUEL CARDS",
            "Value": null
        },
        {
            "Name": "TCH",
            "Category": "FUEL CARDS",
            "Value": null
        },
        {
            "Name": "Visa",
            "Category": "CARDS",
            "Value": null
        }
    ],
    "ProMilesTSID": 235,
    "OpisID": "68797",
    "Name": "Speedway #1412",
    "State": "IL",
    "City": "Frankfort",
    "Zip": "60423",
    "Location": "I-80 Exit 148 ",
    "Chain": "Speedway",
    "DistanceFromOrigin": 0.0,
    "DistanceOOR": 0.0,
    "RetailPrice": 4.259,
    "ExTaxPrice": 3.632,
    "StateTax": 0.0,
    "PriceDate": "2023-03-15T00:55:00",
    "CostPrice": 0.0,
    "OpisRetail": 0.0,
    "OpisPriceDate": "1900-01-01T00:00:00",
    "Latitude": 41.5307083129883,
    "Longitude": -87.7909927368164
}

Notes

Prices are finalized at 11:50 PM Eastern time of the previous day.

Related

GetTodaysUSDieselAverageGetTodaysCanadianDieselAverageGetAverageDieselPriceInState