What the..?

API stands for 'Application Programming Interface', literally specifying how software components should interact with each other. In our context, this means we have endpoints that return different kinds of data to developers using JSON objects, allowing them to use and manipulate it for their own applications.

Bottom line is; this service creates a lot of opportunities for developers that don't necessarily have the know-how, time or resources to get the data themselves, but are full of ideas for using it. So if you have an idea that only needs a little more data to become a reality, don't hesitate to contact us or even contribute yourself to our github repository.

How does it all work?

Our servers scrape various websites for the desired information. For more detailed information on individual endpoints visit our github repository and look at the source code.

How to get started?

This documentation includes simple demo curl calls and jQuery.ajax demos. Feel free to copy these to your projects, but remember that they are provided as is, and you will most certainly have to adjust them to your own needs.

What about version control?

At the moment, including an accept-version header is not necessary, since all endpoints are at version 1, but we strongly recommend it, especially in production environments. Once an endpoint has been updated, the default version to be returned is the most recent, and this documentation will be updated accordingly. Changes in functionality between versions will be outlisted.

Icelandic Bus System

Source: bus.is

Real-time location of buses. Results are only shown for active buses.

Parameters
buses
Comma seperated list of numbers. Good to know: If not declared, the endpoint will return location of all available buses.
curl demo
curl -X GET 'apis.is/bus/realtime?buses=1,5' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/bus/realtime',
  'type': 'GET',
  'dataType': 'json',
  'data': {'buses': '1,5'},
  'success': function(response) {
    console.log(response);
  }
});
Response
{
    "results": [
        {
            "busNr": "1",
            "buses": [
                {
                    "unixTime": 1354618575,
                    "x": 64.090668,
                    "y": -21.92904,
                    "from": "Hlemmur",
                    "to": "Klukkuvellir"
                },
                {
                    "unixTime": 1354618575,
                    "x": 64.086315,
                    "y": -21.937813,
                    "from": "Klukkuvellir",
                    "to": "Hlemmur"
                }
            ]
        },
        {
            "busNr": "5",
            "buses": [
                {
                    "unixTime": 1354618563,
                    "x": 64.135644,
                    "y": -21.850126,
                    "from": "Hlemmur",
                    "to": "Elliðabraut / Árvað"
                },
                {
                    "unixTime": 1354618577,
                    "x": 64.143989,
                    "y": -21.913048,
                    "from": "Elliðabraut / Árvað",
                    "to": "Hlemmur"
                }
            ]
        }
    ]
}

Cars in Iceland

Source: The Road Traffic Directorate in Iceland

get

Search the icelandic vehicle registry

Parameters
number
registry number
curl demo
curl -X GET 'apis.is/car?number=aa031' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/car',
  'type': 'GET',
  'dataType': 'json',
  'data': {'number': 'aa031'},
  'success': function(response) {
    console.log(response);
  }
});
Response
{
    "results": [
        {
            "registryNumber": "AA031",
            "number": "AA031",
            "factoryNumber": "VF37ENFZE32286866",
            "type": "PEUGEOT",
            "subType": "306",
            "color": "Blár",
            "registeredAt": "26.02.1998",
            "status": "Í lagi",
            "nextCheck": "01.01.2013",
            "pollution": "",
            "weight": "1120"
        }
    ]
}

Icelandic cinema

Source: kvikmyndir.is

get

Get a list of showtimes in icelandic movie theaters; sort by movies

curl demo
curl -X GET 'apis.is/cinema' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/cinema',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "title": "jOBS",
      "released": "2013",
      "restricted": "12 ára",
      "imdb": "5.5/10  9,907 atkv.",
      "image": "http://kvikmyndir.is/images/poster/8497_500.jpg",
      "showtimes": [
        {
          "theater": "Borgarbíó",
          "schedule": [
            "22:00"
          ]
        },
        {
          "theater": "Laugarásbíó",
          "schedule": [
            "20:00",
            "22:10"
          ]
        }
      ]
    }
  ]
}

Get a list of showtimes in icelandic movie theaters; sort by theater

curl demo
curl -X GET 'apis.is/cinema/theaters' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/cinema/theaters',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "name": "Laugarásbíó",
  "location": "Laugarási",
  "image": "http://kvikmyndir.is/images/biohus_biosida/laugarasbio.jpg",
  "movies": [
    {
      "title": "Despicable Me 2",
      "schedule": [
        "16:00 (2D )",
        "16:00 (3D )",
        "18:00 (3D )",
        "18:00 (2D )",
        "20:00 (2D )"
      ]
    },
    {
      "title": "jOBS",
      "schedule": [
        "20:00",
        "22:10"
      ]
    }
  ]
}

Icelandic companies

Source: Directorate of Internal Revenue in Iceland

get

Search the icelandic company registry

NB: At least one parameter is required.

Parameters
name
Company name
address
Company's address
socialnumber
Company's social security number / ID number
vsknr
Company's VAT-number (VSK in icelandic)
curl demo
curl -X GET 'apis.is/company?name=hagar' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/company',
  'type': 'GET',
  'dataType': 'json',
  'data': {'name': 'hagar'},
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "name": "Hagar ehf (samruni)",
      "sn": "6712962309",
      "active": 0,
      "address": "Skútuvogi 7, 104 Reykjavík"
    },
    {
      "name": "Hagar hf.",
      "sn": "6702032120",
      "active": 1,
      "address": "Hagasmára 1, 201 Kópavogur"
    },
    {
      "name": "Hagar verslanir ehf",
      "sn": "4707100390",
      "active": 1,
      "address": "Hagasmára 1, 201 Kópavogur"
    }
  ]
}

Concerts in Iceland

Source: midi.is

get

Get a list of all the concerts in Iceland sorted by date

curl demo
curl -X GET 'apis.is/concerts' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/concerts',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results" : [
    {
      "date": "Laugardagur, 12. júlí 2014",
      "concerts": [
        {
          "title":"All Tomorrow's Parties Iceland",
          "info":"Day pass - Saturday - w/bus transfers",
          "date":"12.07.2014 kl 17:00",
          "location":"Ásbrú",
          "type":"Tónleikar"
        },
        {
          "title":"All Tomorrow's Parties Iceland",
          "info":"Day pass - Saturday",
          "date":"12.07.2014 kl. 19:00",
          "location":"Ásbrú",
          "type":"Tónleikar"
        }
      ]
    },
    {
      "date":"Miðvikudagur, 5. nóvember 2014",
      "concerts":[
        {
          "title":"Iceland Airwaves 2014",
          "info":"November 5th - November 9th",
          "date":"05.11.2014 kl. 18:00",
          "location":"Reykjavík",
          "type":"Tónleikar"
        }
      ]
    }
  ]
}

Currency in relation to ISK

Sources: M5, Arion banki and Landsbankinn

Get currency data from M5

curl demo
curl -X GET 'apis.is/currency/m5' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/currency/m5',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "shortName": "USD",
      "longName": "Bandarískur dalur",
      "value": 121.53,
      "askValue": 0,
      "bidValue": 0,
      "changeCur": 0.055,
      "changePer": 0.05
    },
    {
      "shortName": "EUR",
      "longName": "Evra",
      "value": 162.2,
      "askValue": 0,
      "bidValue": 0,
      "changeCur": 0.015,
      "changePer": 0.01
    }
  ]
}

Get currency data from Arion banki

curl demo
curl -X GET 'apis.is/currency/arion' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/currency/arion',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "shortName": "USD",
      "longName": "Bandarískur dalur",
      "value": 121.515,
      "askValue": 121.88,
      "bidValue": 121.15,
      "changeCur": -0.40857,
      "changePer": 0
    },
    {
      "shortName": "EUR",
      "longName": "Evra",
      "value": 162.185,
      "askValue": 162.67,
      "bidValue": 161.7,
      "changeCur": 0.09845,
      "changePer": "0.00"
    }
  ]
}

Get currency data from Landsbankinn

curl demo
curl -X GET 'apis.is/currency/lb' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/currency/lb',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "shortName": "USD",
      "longName": "Bandaríkjadalur",
      "value": 121.47,
      "askValue": 121.83,
      "bidValue": 121.11,
      "changeCur": 0.01,
      "changePer": 0
    },
    {
      "shortName": "EUR",
      "longName": "Evra",
      "value": 162.3,
      "askValue": 162.78,
      "bidValue": 161.82,
      "changeCur": 0.09,
      "changePer": 0
    }
  ]
}

Bicyclecounter in Reykjavik

Sources: Bicycle Counter

Get current status of bicycle counters in Iceland, currently only one located by Sudurlandsbraut in Reykjavik.

curl demo
curl -X GET 'apis.is/cyclecounter' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/cyclecounter',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "DayCount": "154",
      "YearCount": "31853",
      "Time": "16:48",
      "Date": "18. Sep 2013"
    }
  ]
}

Earthquakes in Iceland

Source: Icelandic Meteorological Office

Get earthquake monitoring data for the last 48 hours.

curl demo
curl -X GET 'apis.is/earthquake/is' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/earthquake/is',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "timestamp": "2013-09-17T10:35:46.000Z",
      "latitude": 66.181,
      "longitude": -17.764,
      "depth": 11.3,
      "size": 0.9,
      "quality": 54.02,
      "humanReadableLocation": "3,8 km ANA af Flatey"
    },
    {
      "timestamp": "2013-09-17T04:52:13.000Z",
      "latitude": 63.684,
      "longitude": -19.282,
      "depth": 4.7,
      "size": 1.7,
      "quality": 35.9,
      "humanReadableLocation": "5,1 km NNV af Goðabungu"
    }
  ]
}

International flights in Iceland

Source: Keflavik Airport

get

Get a list of all international flights departing and arriving at Keflavik Airport today.

Parameters
language
'en' or 'is'
type
'departures' or 'arrivals'
curl demo
curl -X GET 'apis.is/flight?language=en&type=departures' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/flight',
  'type': 'GET',
  'dataType': 'json',
  'data': {'language': 'en', 'type': 'departures'},
  'success': function(response) {
    console.log(response);
  }
});
Response
{
    "results": [
        {
            "date": "26. Jan",
            "flightNumber": "FI671",
            "to": "Denver Intl",
            "plannedArrival": "17:00",
            "realArrival": "17:23",
            "status": "Departed 17:12"
        },
        {
            "date": "26. Jan",
            "flightNumber": "FI615",
            "to": "New York JFK",
            "plannedArrival": "17:05",
            "realArrival": "17:26",
            "status": "Departed 17:17"
        }
    ]
}

Icelandic lottery

Source: lotto.is

get

Get the most recent numbers for the icelandic lottery.

curl demo
curl -X GET 'apis.is/lottery' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/lottery',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "date": "14.09.2013",
      "lotto": "13 14 28 37 39 (29)",
      "joker": "0 7 6 6 9",
      "prize": "6.091.360 kr.",
      "link": "http://lotto.is/lottoleikir/urslit/lotto?_date=14.09.2013"
    },
    {
      "date": "07.09.2013",
      "lotto": "10 15 34 35 39 (27)",
      "joker": "6 5 1 7 4",
      "prize": "13.287.850 kr.",
      "link": "http://lotto.is/lottoleikir/urslit/lotto?_date=07.09.2013"
    }
  ]
}

Get the most recent numbers for Vikingalotto.

curl demo
curl -X GET 'apis.is/lottery/vikingalotto' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/lottery/vikingalotto',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "date": "11.09.2013",
      "lotto": "3 8 25 32 34 45 20 22 (27)",
      "joker": "2 2 0 4 0",
      "prize": "316.866.390 kr.",
      "link": "http://lotto.is/lottoleikir/urslit/vikingalotto?_date=11.09.2013"
    },
    {
      "date": "04.09.2013",
      "lotto": "8 12 13 14 33 47 27 48 (3)",
      "joker": "9 5 8 0 1",
      "prize": "206.822.330 kr.",
      "link": "http://lotto.is/lottoleikir/urslit/vikingalotto?_date=04.09.2013"
    }
  ]
}

Get the most recent numbers for EuroJackpot

curl demo
curl -X GET 'apis.is/lottery/eurojackpot' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/lottery/eurojackpot',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "date": "13.09.2013",
      "lotto": "3 10 18 31 43 1 (7)",
      "joker": "1 8 3 1 3",
      "prize": "2.456.318.720 kr.",
      "link": "http://lotto.is/lottoleikir/urslit/eurojackpot?_date=13.09.2013"
    },
    {
      "date": "06.09.2013",
      "lotto": "3 7 20 32 44 4 (5)",
      "joker": "0 5 5 5 8",
      "prize": "2.137.751.150 kr.",
      "link": "http://lotto.is/lottoleikir/urslit/eurojackpot?_date=06.09.2013"
    }
  ]
}

Particulates in Reykjavik

Sources: Reykjavik City

Get current status of particulates in Reykjavik City

curl demo
curl -X GET 'apis.is/particulates' -H 'accept-version:1' -H 'Content-Type: application/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/particulates',
  'type': 'GET',
  'dataType': 'json',
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "PM10nuna": "0",
      "PM10medaltal": "9.1",
      "Counter": "29",
      "Dags": "2013-09-18",
      "nanariuppl": "http://www.rvk.is/desktopdefault.aspx/tabid-1007"
    }
  ]
}

Icelandic Weather

Source: Icelandic Meteorological Office

get
/weather/:type/:lang

Get weather information for Iceland.

Under 'Descriptions' you will find a list that will help you understand the output of the following endpoints.

Parameters
/:type
Type of information to get (forecasts|observations|texts)
/:lang
Language of output ('en' or 'is'), defaults to 'is'
Descriptions
var descriptions = {
  'F'   : { 'is': 'Vindhraði (m/s)',
            'en': 'Wind speed (m/s)'},
  'FX'  : { 'is': 'Mesti vindhraði (m/s)',
            'en': 'Top wind speed (m/s)'},
  'FG'  : { 'is': 'Mesta vindhviða (m/s)',
            'en': 'Top wind gust (m/s)'},
  'D'   : { 'is': 'Vindstefna',
            'en': 'Wind direction'},
  'T'   : { 'is': 'Hiti (°C)',
            'en': 'Air temperature (°C)'},
  'W'   : { 'is': 'Veðurlýsing',
            'en': 'Weather description'},
  'V'   : { 'is': 'Skyggni (km)',
            'en': 'Visibility (km)'},
  'N'   : { 'is': 'Skýjahula (%)',
            'en': 'Cloud cover (%)'},
  'P'   : { 'is': 'Loftþrýstingur (hPa)',
            'en': 'Air pressure'},
  'RH'  : { 'is': 'Rakastig (%)',
            'en': 'Humidity (%)'},
  'SNC' : { 'is': 'Lýsing á snjó',
            'en': 'Snow description'},
  'SND' : { 'is': 'Snjódýpt',
            'en': 'Snow depth'},
  'SED' : { 'is': 'Snjólag',
            'en': 'Snow type'},
  'RTE' : { 'is': 'Vegahiti (°C)',
            'en': 'Road temperature (°C)'},
  'TD'  : { 'is': 'Daggarmark (°C)',
            'en': 'Dew limit (°C)'},
  'R'   : { 'is': 'Uppsöfnuð úrkoma (mm/klst) úr sjálfvirkum mælum',
            'en': 'Cumulative precipitation (mm/h) from automatic measuring units'}
};

Response
{
  "results": [
    {
      "info": "This is an api for Icelandic weather reports and observations",
      "endpoints": {
        "forecasts": "/weather/forecasts/",
        "observations": "/weather/observations/",
        "texts": "/weather/texts/"
      }
    }
  ]
}
Parameters
/:lang
Language of output ('en' or 'is'), defaults to 'is'
stations
List of station numbers seperated by commas(,) or semicolons(;).
See links below for more information.
Weather stations (icelandic) | Weather stations (english)
curl demo
curl -X GET 'apis.is/weather/forecasts/en/?stations=1,422' -H 'accept-version:1' -H 'Content-Type: applucation/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/weather/forecasts/en',
  'type': 'GET',
  'dataType': 'json',
  'data': {'stations': '1,422'},
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "name": "Reykjavík",
      "atime": "2013-09-17 12:00:00",
      "err": "",
      "link": "http://en.vedur.is/WeatherServlet/weather/forecasts/areas/reykjavik/#group=100&station=1",
      "forecast": [
        {
          "ftime": "2013-09-17 15:00:00",
          "F": "9",
          "D": "N",
          "T": "7",
          "W": "Clear sky",
          "N": "0",
          "TD": "-3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-17 18:00:00",
          "F": "8",
          "D": "N",
          "T": "7",
          "W": "Clear sky",
          "N": "0",
          "TD": "-4",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-17 21:00:00",
          "F": "8",
          "D": "N",
          "T": "6",
          "W": "Partly cloudy",
          "N": "20",
          "TD": "-4",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 00:00:00",
          "F": "6",
          "D": "NNW",
          "T": "5",
          "W": "Partly cloudy",
          "N": "40",
          "TD": "-3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 03:00:00",
          "F": "6",
          "D": "N",
          "T": "5",
          "W": "Cloudy",
          "N": "70",
          "TD": "-4",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 06:00:00",
          "F": "5",
          "D": "NNW",
          "T": "4",
          "W": "Partly cloudy",
          "N": "30",
          "TD": "-2",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 09:00:00",
          "F": "5",
          "D": "N",
          "T": "5",
          "W": "Clear sky",
          "N": "0",
          "TD": "-2",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 12:00:00",
          "F": "4",
          "D": "NNW",
          "T": "6",
          "W": "Clear sky",
          "N": "0",
          "TD": "-3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 15:00:00",
          "F": "3",
          "D": "NNW",
          "T": "7",
          "W": "Clear sky",
          "N": "0",
          "TD": "-3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 18:00:00",
          "F": "3",
          "D": "N",
          "T": "8",
          "W": "Partly cloudy",
          "N": "0",
          "TD": "-2",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-18 21:00:00",
          "F": "3",
          "D": "NE",
          "T": "6",
          "W": "Cloudy",
          "N": "100",
          "TD": "0",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 00:00:00",
          "F": "2",
          "D": "E",
          "T": "4",
          "W": "Overcast",
          "N": "90",
          "TD": "0",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 03:00:00",
          "F": "3",
          "D": "ESE",
          "T": "4",
          "W": "Light rain",
          "N": "100",
          "TD": "1",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 06:00:00",
          "F": "4",
          "D": "ESE",
          "T": "5",
          "W": "Light rain",
          "N": "100",
          "TD": "3",
          "R": "0.4"
        },
        {
          "ftime": "2013-09-19 09:00:00",
          "F": "4",
          "D": "ESE",
          "T": "5",
          "W": "Light rain",
          "N": "100",
          "TD": "4",
          "R": "0.4"
        },
        {
          "ftime": "2013-09-19 12:00:00",
          "F": "5",
          "D": "SE",
          "T": "7",
          "W": "Light rain",
          "N": "100",
          "TD": "5",
          "R": "0.8"
        },
        {
          "ftime": "2013-09-19 15:00:00",
          "F": "7",
          "D": "ESE",
          "T": "7",
          "W": "Light rain",
          "N": "100",
          "TD": "5",
          "R": "0.6"
        },
        {
          "ftime": "2013-09-19 18:00:00",
          "F": "7",
          "D": "ESE",
          "T": "5",
          "W": "Light rain",
          "N": "100",
          "TD": "4",
          "R": "1.7"
        },
        {
          "ftime": "2013-09-20 00:00:00",
          "F": "7",
          "D": "ESE",
          "T": "5",
          "W": "Rain",
          "N": "100",
          "TD": "4",
          "R": "2.2"
        },
        {
          "ftime": "2013-09-20 06:00:00",
          "F": "2",
          "D": "SE",
          "T": "3",
          "W": "Rain",
          "N": "100",
          "TD": "3",
          "R": "8.1"
        },
        {
          "ftime": "2013-09-20 12:00:00",
          "F": "2",
          "D": "NW",
          "T": "6",
          "W": "Rain showers",
          "N": "30",
          "TD": "2",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-20 18:00:00",
          "F": "5",
          "D": "W",
          "T": "6",
          "W": "Rain",
          "N": "100",
          "TD": "3",
          "R": "1.3"
        },
        {
          "ftime": "2013-09-21 00:00:00",
          "F": "3",
          "D": "WSW",
          "T": "5",
          "W": "Rain",
          "N": "100",
          "TD": "5",
          "R": "8.7"
        },
        {
          "ftime": "2013-09-21 06:00:00",
          "F": "3",
          "D": "WSW",
          "T": "6",
          "W": "Light rain",
          "N": "80",
          "TD": "5",
          "R": "1.0"
        },
        {
          "ftime": "2013-09-21 12:00:00",
          "F": "3",
          "D": "WSW",
          "T": "7",
          "W": "Light rain",
          "N": "90",
          "TD": "5",
          "R": "0.5"
        },
        {
          "ftime": "2013-09-21 18:00:00",
          "F": "2",
          "D": "W",
          "T": "8",
          "W": "Rain showers",
          "N": "60",
          "TD": "5",
          "R": "0.8"
        },
        {
          "ftime": "2013-09-22 00:00:00",
          "F": "3",
          "D": "E",
          "T": "4",
          "W": "Overcast",
          "N": "100",
          "TD": "3",
          "R": "0.1"
        },
        {
          "ftime": "2013-09-22 06:00:00",
          "F": "4",
          "D": "ENE",
          "T": "6",
          "W": "Overcast",
          "N": "100",
          "TD": "2",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-22 12:00:00",
          "F": "6",
          "D": "E",
          "T": "8",
          "W": "Rain",
          "N": "100",
          "TD": "2",
          "R": "0.3"
        },
        {
          "ftime": "2013-09-22 18:00:00",
          "F": "7",
          "D": "ESE",
          "T": "8",
          "W": "Rain",
          "N": "100",
          "TD": "7",
          "R": "5.2"
        },
        {
          "ftime": "2013-09-23 00:00:00",
          "F": "8",
          "D": "SSE",
          "T": "9",
          "W": "Light rain",
          "N": "100",
          "TD": "9",
          "R": "1.1"
        }
      ],
      "id": "1",
      "valid": "1"
    },
    {
      "name": "Akureyri",
      "atime": "2013-09-17 12:00:00",
      "err": "",
      "link": "http://en.vedur.is/WeatherServlet/weather/forecasts/areas/northeast/#group=15&station=422",
      "forecast": [
        {
          "ftime": "2013-09-17 15:00:00",
          "F": "5",
          "D": "NNW",
          "T": "2",
          "W": "Light rain",
          "N": "100",
          "TD": "0",
          "R": "0.4"
        },
        {
          "ftime": "2013-09-17 18:00:00",
          "F": "5",
          "D": "NNW",
          "T": "2",
          "W": "Light rain",
          "N": "100",
          "TD": "0",
          "R": "0.5"
        },
        {
          "ftime": "2013-09-17 21:00:00",
          "F": "4",
          "D": "NW",
          "T": "1",
          "W": "Sleet",
          "N": "100",
          "TD": "0",
          "R": "1.1"
        },
        {
          "ftime": "2013-09-18 00:00:00",
          "F": "3",
          "D": "NW",
          "T": "1",
          "W": "Sleet",
          "N": "100",
          "TD": "-1",
          "R": "1.5"
        },
        {
          "ftime": "2013-09-18 03:00:00",
          "F": "2",
          "D": "NW",
          "T": "1",
          "W": "Sleet",
          "N": "100",
          "TD": "-1",
          "R": "1.7"
        },
        {
          "ftime": "2013-09-18 06:00:00",
          "F": "2",
          "D": "NW",
          "T": "2",
          "W": "Light sleet",
          "N": "100",
          "TD": "-1",
          "R": "0.9"
        },
        {
          "ftime": "2013-09-18 09:00:00",
          "F": "2",
          "D": "NW",
          "T": "2",
          "W": "Light rain",
          "N": "80",
          "TD": "-1",
          "R": "0.6"
        },
        {
          "ftime": "2013-09-18 12:00:00",
          "F": "1",
          "D": "NNW",
          "T": "3",
          "W": "Light rain",
          "N": "90",
          "TD": "0",
          "R": "0.3"
        },
        {
          "ftime": "2013-09-18 15:00:00",
          "F": "2",
          "D": "NNE",
          "T": "4",
          "W": "Light rain",
          "N": "100",
          "TD": "1",
          "R": "0.2"
        },
        {
          "ftime": "2013-09-18 18:00:00",
          "F": "2",
          "D": "NNE",
          "T": "2",
          "W": "Cloudy",
          "N": "80",
          "TD": "1",
          "R": "0.2"
        },
        {
          "ftime": "2013-09-18 21:00:00",
          "F": "1",
          "D": "NE",
          "T": "1",
          "W": "Cloudy",
          "N": "50",
          "TD": "0",
          "R": "0.1"
        },
        {
          "ftime": "2013-09-19 00:00:00",
          "F": "1",
          "D": "NNE",
          "T": "1",
          "W": "Cloudy",
          "N": "60",
          "TD": "0",
          "R": "0.1"
        },
        {
          "ftime": "2013-09-19 03:00:00",
          "F": "0",
          "D": "Calm",
          "T": "1",
          "W": "Cloudy",
          "N": "50",
          "TD": "-1",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 06:00:00",
          "F": "1",
          "D": "ESE",
          "T": "1",
          "W": "Cloudy",
          "N": "80",
          "TD": "-1",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 09:00:00",
          "F": "2",
          "D": "SE",
          "T": "2",
          "W": "Overcast",
          "N": "90",
          "TD": "0",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 12:00:00",
          "F": "2",
          "D": "SE",
          "T": "6",
          "W": "Overcast",
          "N": "100",
          "TD": "3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 15:00:00",
          "F": "2",
          "D": "ESE",
          "T": "8",
          "W": "Overcast",
          "N": "90",
          "TD": "3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-19 18:00:00",
          "F": "1",
          "D": "SE",
          "T": "1",
          "W": "Overcast",
          "N": "100",
          "TD": "-1",
          "R": "0.1"
        },
        {
          "ftime": "2013-09-20 00:00:00",
          "F": "1",
          "D": "ESE",
          "T": "1",
          "W": "Light sleet",
          "N": "100",
          "TD": "-1",
          "R": "0.5"
        },
        {
          "ftime": "2013-09-20 06:00:00",
          "F": "1",
          "D": "E",
          "T": "1",
          "W": "Light sleet",
          "N": "100",
          "TD": "0",
          "R": "0.4"
        },
        {
          "ftime": "2013-09-20 12:00:00",
          "F": "1",
          "D": "SSE",
          "T": "1",
          "W": "Light sleet",
          "N": "100",
          "TD": "0",
          "R": "1.2"
        },
        {
          "ftime": "2013-09-20 18:00:00",
          "F": "1",
          "D": "SW",
          "T": "2",
          "W": "Cloudy",
          "N": "30",
          "TD": "0",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-21 00:00:00",
          "F": "2",
          "D": "SW",
          "T": "-1",
          "W": "Cloudy",
          "N": "90",
          "TD": "-3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-21 06:00:00",
          "F": "2",
          "D": "SSW",
          "T": "0",
          "W": "Overcast",
          "N": "100",
          "TD": "-2",
          "R": "0.3"
        },
        {
          "ftime": "2013-09-21 12:00:00",
          "F": "2",
          "D": "SW",
          "T": "3",
          "W": "Overcast",
          "N": "100",
          "TD": "0",
          "R": "0.1"
        },
        {
          "ftime": "2013-09-21 18:00:00",
          "F": "1",
          "D": "SSW",
          "T": "3",
          "W": "Cloudy",
          "N": "60",
          "TD": "1",
          "R": "0.1"
        },
        {
          "ftime": "2013-09-22 00:00:00",
          "F": "1",
          "D": "SSW",
          "T": "-1",
          "W": "Cloudy",
          "N": "70",
          "TD": "-1",
          "R": "0.1"
        },
        {
          "ftime": "2013-09-22 06:00:00",
          "F": "1",
          "D": "SSE",
          "T": "-3",
          "W": "Overcast",
          "N": "90",
          "TD": "-3",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-22 12:00:00",
          "F": "1",
          "D": "ESE",
          "T": "0",
          "W": "Light snow",
          "N": "100",
          "TD": "-1",
          "R": "0.0"
        },
        {
          "ftime": "2013-09-22 18:00:00",
          "F": "1",
          "D": "ESE",
          "T": "1",
          "W": "Light sleet",
          "N": "100",
          "TD": "0",
          "R": "1.2"
        },
        {
          "ftime": "2013-09-23 00:00:00",
          "F": "1",
          "D": "SSE",
          "T": "3",
          "W": "Light rain",
          "N": "100",
          "TD": "1",
          "R": "1.4"
        }
      ],
      "id": "422",
      "valid": "1"
    }
  ]
}
Parameters
/:lang
Language of output ('en' or 'is'), defaults to 'is'
stations
List of station numbers seperated by commas(,) or semicolons(;).
See links below for more information.
Weather stations (icelandic) | Weather stations (english)
time
1h (default) = Fetch data from automatic weather stations that are updated on the hour.
3h = Only fetch mixed data from manned and automatic weather stations that is updated every 3 hours.
anytime
0 (default) = an error will be returned if current data is not available.
1 = last available numbers will be displayed, regardless of date.
curl demo
curl -X GET 'apis.is/weather/observations/en?stations=1,422&time=1h&anytime=0' -H 'accept-version:1' -H 'Content-Type: applucation/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/weather/observations/en',
  'type': 'GET',
  'dataType': 'json',
  'data': {'stations': '1,422', 'time': '1h', 'anytime': '0'},
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "name": "Reykjavík",
      "time": "2013-09-17 16:00:00",
      "err": "",
      "link": "http://en.vedur.is/WeatherServlet/weather/observations/areas/reykjavik/#group=100&station=1",
      "F": "8",
      "FX": "9",
      "FG": "16",
      "D": "NNE",
      "T": "5.6",
      "W": "",
      "V": "",
      "N": "",
      "P": "1003",
      "RH": "58",
      "SNC": "",
      "SND": "",
      "SED": "",
      "RTE": "",
      "TD": "-2.0",
      "R": "0.1",
      "id": "1",
      "valid": "1"
    },
    {
      "name": "Akureyri",
      "time": "2013-09-17 16:00:00",
      "err": "",
      "link": "http://en.vedur.is/WeatherServlet/weather/observations/areas/northeast/#group=15&station=422",
      "F": "10",
      "FX": "11",
      "FG": "15",
      "D": "NNW",
      "T": "3.3",
      "W": "",
      "V": "",
      "N": "",
      "P": "1001",
      "RH": "79",
      "SNC": "",
      "SND": "",
      "SED": "",
      "RTE": "",
      "TD": "0.0",
      "R": "0.0",
      "id": "422",
      "valid": "1"
    }
  ]
}
Parameters
types
List of types seperated by commas(,) or semicolons(;).
See 'Valid types' below for full list of valid type numbers and what they stand for.
Valid types
"2" = "Veðurhorfur á landinu"
"3" = "Veðurhorfur á höfuðborgarsvæðinu"
"5" = "Veðurhorfur á landinu næstu daga"
"6" = "Veðurhorfur á landinu næstu daga"
"7" = "Weather outlook"
"9" = "Veðuryfirlit"
"10" = "Veðurlýsing"
"11" = "Íslenskar viðvaranir fyrir land"
"12" = "Veðurhorfur á landinu"
"14" = "Enskar viðvaranir fyrir land"
"27" = "Weather forecast for the next several days"
"30" = "Miðhálendið"
"31" = "Suðurland"
"32" = "Faxaflói"
"33" = "Breiðafjörður"
"34" = "Vestfirðir"
"35" = "Strandir og Norðurland vestra"
"36" = "Norðurlandi eystra"
"37" = "Austurland að Glettingi"
"38" = "Austfirðir"
"39" = "Suðausturland"
"42" = "General synopsis
curl demo
curl -X GET 'apis.is/weather/texts?types=5,6' -H 'accept-version:1' -H 'Content-Type: applucation/json'
jQuery demo
$.ajax({
  'url': 'http://apis.is/weather/texts',
  'type': 'GET',
  'dataType': 'json',
  'data': {'types': '5,6'},
  'success': function(response) {
    console.log(response);
  }
});
Response
{
  "results": [
    {
      "title": "Veðurhorfur á landinu næstu daga",
      "creation": "2013-09-17 09:16:29",
      "valid_from": "2013-09-19 12:00:00",
      "valid_to": "2013-09-24 12:00:00",
      "content": "Á fimmtudag: Suðaustan 8-13 m/s S- og V-lands og rigning með köflum, en hægari og bjartviðri á NA- og A-landi. Hiti 2 til 10 stig, kaldast í innsveitum NA-lands. Á föstudag: Suðaustlæg eða breytileg átt, 3-10 m/s. Rigning eða skúrir í flestum landshlutum. Hiti 3 til 8 stig. Á laugardag: Vestan- og norðvestanátt, víða 3-8 m/s. Skýjað að mestu en úrkomulítið um V- og N-vert landið, en bjartviðri annars staðar. Hiti 3 til 10 stig, hlýjast á SA-landi. Á sunnudag: Útlit fyrir vaxandi suðaustanátt með rigningu, einkum S-til á landinu. Hlýnar í veðri. Á mánudag: Horfur á suðvestanátt með rigningu eða skúrum, en þurrt og bjart eystra.",
      "id": "5"
    },
    {
      "title": "Veðurhorfur á landinu næstu daga",
      "creation": "2013-09-17 09:19:17",
      "valid_from": "2013-09-19 12:00:00",
      "valid_to": "2013-09-24 12:00:00",
      "content": "Suðaustan 8-13 m/s á fimmtudag S- og V-lands og rigning með köflum, en hægari og þurrt annars staðar. Breytileg átt 5-10 á föstudag og víða væta, en 3-8 á laugardag og úrkomulítið. Horfur á vaxandi suðaustanátt á sunnudag með rigningu og hlýnandi veðri.",
      "id": "6"
    }
  ]
}