Gas Prices Api

Description

Reach gasoline and diesel prices in different fuel stations in different cities.

Pricing per Call: 0.001$
For learn the packages and usage details of the services, go to the pricing page.

End Points

get/gasoline

Service that brings up the current gasoline prices at gas stations.

Parameters
FieldDescriptionTypeHeaderRequired
data.cityYou need to write the name of the city you want to know the price of gasoline to be small.text
Example
Request
{
  "uri": "https://api.collectapi.com/gasPrice/gasoline?data.city=ankara",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "95": "6,99",
      "97/98": "6,94",
      "image": ".../images/sirketler/alpet.png"
    },
    {
      "95": "6,99",
      "97/98": "6,94",
      "image": ".../images/sirketler/bp.png"
    },
    {
      "95": "6,94",
      "97/98": "6,94",
      "image": ".../images/sirketler/lukoil.png"
    },
    "..."
  ]
}
get/diesel

Service that allows you to learn the current diesel prices in gas stations.

Parameters
FieldDescriptionTypeHeaderRequired
data.cityYou need to write the name of the city you want to know the diesel prices to be small.text
Example
Request
{
  "uri": "https://api.collectapi.com/gasPrice/diesel?data.city=ankara",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "motorin": "6,30",
      "katkili": "6,34",
      "image": ".../images/sirketler/lukoil.png"
    },
    {
      "motorin": "6,30",
      "katkili": "6,33",
      "image": ".../images/sirketler/moil.png"
    },
    {
      "motorin": "6,30",
      "katkili": "6,34",
      "image": ".../images/sirketler/total.png"
    },
    "..."
  ]
}
get/lpg

Service that allows you to find out the current LPG prices in gas stations.

Parameters
FieldDescriptionTypeHeaderRequired
data.cityYou need to write the name of the city where you want to learn LPG prices to be small. Istanbul, Anatolia and Europe (Istanbul-Anatolia, Istanbul-Europe)text
Example
Request
{
  "uri": "https://api.collectapi.com/gasPrice/lpg?data.city=ankara",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "lastupdate": "26.04.2019",
      "price": [
        {
          "lpg": "3,76",
          "marka": "Total"
        },
        {
          "lpg": "3,83",
          "marka": "Milangaz"
        },
        "..."
      ]
    }
  ]
}
get/gazyagi

Service that allows you to learn the current gas oil prices in gas stations.

Parameters
FieldDescriptionTypeHeaderRequired
data.cityYou have to write the name of the city where you want to know the gas oil prices so that the initial letter is small. Istanbul, Anatolia and Europe (Istanbul-Anatolia, Istanbul-Europe)text
Example
Request
{
  "uri": "https://api.collectapi.com/gasPrice/gazyagi?data.city=ankara",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "lastupdate": "26.04.2019",
      "price": [
        {
          "gazyagi": "5,83",
          "marka": "Soil"
        },
        {
          "gazyagi": "5,92",
          "marka": "Opet"
        },
        {
          "gazyagi": "5,93",
          "marka": "M Oil"
        },
        "..."
      ]
    }
  ]
}
get/fueloil

Service that allows you to learn the current fuel oil prices in gas stations.

Parameters
FieldDescriptionTypeHeaderRequired
data.cityYou need to write the name of the city where you want to know the fuel oil prices. Istanbul, Anatolia and Europe (istanbul-anadolu, istanbul-avrupa)text
Example
Request
{
  "uri": "https://api.collectapi.com/gasPrice/fueloil?data.city=ankara",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "lastupdate": "26.04.2019",
      "price": [
        {
          "yuksekkukurtlu": "3,71",
          "fueloil": "4,00",
          "kalorifer": "4,46",
          "marka": "M Oil"
        },
        {
          "yuksekkukurtlu": "3,79",
          "fueloil": "4,04",
          "kalorifer": "4,49",
          "marka": "Lukoil"
        },
        "..."
      ]
    }
  ]
}