Trackingo API

Trackingo API key

You must register first at Trackingo to get your API Key


Trackingo API is a XML-RPC implementation to interact with the Trackingo system.

Current version

Note that Trackingo is Beta. Both the API and the system behavior may change unexpectedly and your application can stop working any time.

The current API version is 0.1 (June 19, 2010).

Main index

How to connect with this API?

The URL where you must connect to is: The port you use is not important for the connection.

List of available methods

Overview table:

Method name Params Response
list.getTracks [string] API_KEY, [string] SESSION_TOKEN, [int] LIST_ID [Array] Array of structs with all the information
list.getList [string] API_KEY, [string] SESSION_TOKEN, [int] LIST_ID [struct] Struct with information about the tracking list
list.create [string] API_KEY, [string] SESSION_TOKEN, [struct] INSERTION_DATA [struct] Struct with an info message and the LIST_ID
list.dateCalendar [string] API_KEY, [string] SESSION_TOKEN, [struct] CALENDAR_PARAMS [string] The calendar in the date selected.
user.getLists [string] API_KEY, [string] SESSION_TOKEN, [string] USER_NAME (can be empty) [Array] Array with structs about each tracking list that user have.
user.login [string] API_KEY, [struct] LOGIN_PARAMS [string] A SESSION_TOKEN to identify that user for later requests.
user.valid [string] API_KEY, [string] SESSION_TOKEN [bool] True or false depending if the session is valid or not.
track.insert [string] API_KEY, [string] SESSION_TOKEN, [struct] INSERTION_PARAMS [string] An info message about the operation. [string] API_KEY, [int] CATEGORY_ID [struct] The struct with all the category's properties.
category.list [string] API_KEY [Array] An array of structs with information about each category.

Documentation about the methods


It retrieves all data in a tracking list in a struct with the computable data, the displayable data and his date.


It retrieves the main information about the tracking list: owner's username, most recent data, tracking list's category, permanent link and the graph or the calendar.


Create a new tracking list. The struct of the INSERTION_DATA must have:

  1. cat => [INT] CATEGORY_ID
  2. description => [STRING] A description about the tracking list (more than 10 characters)
  3. tags => [STRING] A comma separated values with tags for the tracking list. Almost one

Also, the tracking list can have:

It returns the LIST_ID of the new tracking list and an info message.

It's important that the tracking list will be useless until no data is inserted into.


Calendar params are:

  1. year => [INT] Year of the calendar
  2. month => [INT] Month of the calendar
  3. list => [INT] The tracking list you need to explore between months

That method is useful if you want to show a tracking list with calendars and you need to be able to explore it between months. The functions who retrieves the calendar, sets his navigation links in a Javascript function called change_month(year,month).


If you don't specify the USER_NAME (setting it with empty string (""), zero or any empty value) the system assumes that it will retrieve the tracking lists of the SESSION_TOKEN user.

The structs it retrieves have that pattern:

  1. id => [INT] The LIST_ID of the tracking list
  2. name => [STRING] The full name of the tracking list. Including the category name and the list name (if is seted)
  3. permalink => [STRING] The permalink to go directly to the tracking list at You need later to combine it, for example, with that data you get "alex-tracking-weight" and you need to prepend something like "" to build the link.


The method to log in a user is (at the moment) only with Facebook. Probably this limitation will be resolved in the future.

The struct with the LOGIN_PARAMS must math this pattern:

  1. fb_userid => [STRING] The number of the Facebook User Id. Like the number is so so long, it must be sent in a string. Otherwise will be probably truncated.
  2. fb_first_name => [STRING] The name of the Facebook User.
  3. fb_last_name => [STRING] The last name of the Facebook User.

All the required information can be obtained with the Facebook Open Graph API

Important: if the user doesn't exists, the system will create it.


That method is needed to check if a TOKEN_SESSION is valid or not.

Keep in mind that if you pass an invalid TOKEN_SESSION to another method you will receive an error.


The INSERTION_PARAMS struct must have that parameters:

  1. data => [SCALAR] The data you want to insert. Can have any scalar value.
  2. date => [dateTime.iso8601] A date with the format iso8061 for the introduced data.
  3. cat => [INT] the id of the category where you will place your data

Also, you might need to specify the LIST_ID where place the data, and that will be named "list" ([INT]).

The owner of the entered data will be the owner of the TOKEN_SESSION.

An important thing to keep in mind is that an common error is the one with the code 513 which means that you are trying to insert a data without any list of this category. You'll need before to create a list with the method list.create and after, store the data.

This method is useful to prepare the environment for the enter data form. You'll get information like this: