News

Documentation of how to use our v2 news API.


All latestnews and newstickers of Tibia

This API helps you to get a list of both all latest news and articles and for all newstickers the last 6 months, that have been published on tibia.com frontpage.
You’ll get information like type of news, date, url and more.

GET

GET

No parameters can be set on this request.

Example URL for latest news and articles:

https://api.tibiadata.com/v2/latestnews.json

Example URL for newstickers:

https://api.tibiadata.com/v2/newstickers.json

Example URL:

{
  "news": [
    {
      "id": 4420,
      "type": "News",
      "news": "Bugfixes and Content Changes",
      "apiurl": "https:\/\/api.tibiadata.com\/v2\/news\/4420.json",
      "tibiaurl": "http:\/\/www.tibia.com\/news\/?subtopic=newsarchive&id=4420",
      "date": {
        "date": "2017-12-12 00:00:00.000000",
        "timezone_type": 3,
        "timezone": "Europe\/Berlin"
      }
    }, {
      "id": 4377,
      "type": "Featured Article",
      "news": "2017 - A Retrospective",
      "apiurl": "https:\/\/api.tibiadata.com\/v2\/news\/4377.json",
      "tibiaurl": "http:\/\/www.tibia.com\/news\/?subtopic=newsarchive&id=4377",
      "date": {
        "date": "2017-12-07 00:00:00.000000",
        "timezone_type": 3,
        "timezone": "Europe\/Berlin"
      }
    },
    ...
  ],
  "information": {
    "api_version": 2,
    "execution_time": 0.0011,
    "last_updated": "2017-12-15 08:00:00",
    "timestamp": "2017-12-15 08:00:02"
  }
}

One specific news of Tibia

This API helps you to get the full news article (for both latestnews and newstickers) and its details around it, including the pure html content.

GET

This GET request requires the field newsid to be set in the URL.

Example URL:

https://api.tibiadata.com/v2/news/3560.json
https://api.tibiadata.com/v2/news/3550.json
https://api.tibiadata.com/v2/news/3412.json

Example URL:

{
  "news": {
    "id": 3575,
    "title": "New Open PvP Worlds",
    "content": "If you would you like to start a character on a brand-new Open PvP world, we have good news for you: ...",
    "date": {
      "date": "2016-05-06 00:00:00.000000",
      "timezone_type": 3,
      "timezone": "Europe\/Berlin"
    }
  },
  "information": {
    "api_version": 2,
    "execution_time": 0.0017,
    "last_updated": "2017-12-15 08:00:00",
    "timestamp": "2017-12-15 08:00:02"
  }
}