This is a legacy version of the api and and will remain untouched and stable, For the latest updates and features see the current version here

Welcome to the opentracker Web API

What is the Opentracker Web API?

Our Web API is a defined set of HTTP request messages along with a definition of the structure of response messages, expressed in multiple formats and can be used in combination of multiple services into new applications or mashups.

At the moment we support the folowwing formats:

  • JSON
  • HTML
  • JSONdatatable

To implement the data generated with an api call, you can use many techniques like HTML, PHP, Javascript, JSP, .NET, etc.

We will suply some basic examples below.

Overview of formats


JSON (an acronym for JavaScript Object Notation) is a lightweight text-based open standard designed for human-readable data interchange. It is derived from the JavaScript programming language for representing simple data structures and associative arrays, called objects (the “O” in “JSON”). Despite its relationship to JavaScript, it is language-independent, with parsers available for virtually every programming language. (source: wikipedia)

{ "resultsList": [{
] }



Using the HTML format parameter in an API call, the data will be formated acording to the official HTML standard

<table id="one">
     <td sort="sort_data_id">data</td>



a JSONdatatable is a custom made virtual table in JSON arrays that first describes the table, and also includes the actual data. Description data arrays can contain: number of rows, column labels, column fields, etc. The actual data is a JSON array named resultsList.

({"rows": 2, "field": ["field1", "field2", ... ], "label": ["label1", "label2", ...], "className": ["name1", "name2", ..], "caption": "No caption", "pager": "apager", "rowsPerPageOptions": [ 20,40 ], "resultsList": [[ data ]] })