You are here:

Softonic API

Transition to API2

Everything comes to an end, and the final days of our first API service are round the corner. We have rewritten our API from scratch and made it ready to expand possibilities and now it’s time to move. The original API (v1.0) has been deprecated as of August 15th, 2001 and will be shut off completely on December 1, 2011.

This guide describes how to move your existing application from API v1.0 to API2.

What version of the API am I using?

If your URLS contain the host http://api.softonic.com then you are using the version 1.0, if they look like api2.softonic.com you can stop reading here, there’s nothing else you have to do.

How to migrate API to version 2.0

There are two different profiles of API users:

  • Free users
  • Partners (PRO users)

If you signed up for an API key and never contacted Softonic for partnership then you have a free account. If you have provided your api key to Softonic and we set on an agreement then you have a PRO account.

Either if you have a free or a PRO account, to start using the new version of Softonic API2 basically all you need is to change the host of all your API requests from http://api.softonic.com to api2.softonic.com

Example:

  • API v1.0: http://http://api.softonic.com/es/program_getInfo/50045.json?key=xxxx
  • API v2.0: http://api2.softonic.com/es/program_getInfo/50045.json?key=xxxx

If you are a PRO user read the following section as well

Specific change for PRO accounts (Partners)

Certain information is only provided to partners. If you have a PRO account we will need you to add before every function name the "pro_" prefix (just after the country code)

Example:

  • API v1.0: http://http://api.softonic.com/es/program_getInfo/50045.json?key=xxxx
  • API v2.0: http://api2.softonic.com/es/pro_program_getInfo/50045.json?key=xxxx

That’s it! You have migrated your application to API 2.0