Help - Search - Members - Calendar
Full Version: SkypeOut Rates
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
rdavila_
Hi,

I saw a Rate Calculator that comes bundled with a XML file with DialCodes, AreaCodes and rates for Skype Calls.

Does anyone know how to retreive this list from the web site?

Assuming it was made by hand, I would recommend the availability of such data via download or web service.

As it is right now, the API does not provide the ability to query the rate of a call before the call is made.
bertouta
Hi,

The developer support is really up-to-date... Before Skype is going to launch the new Skype 3.0 (coming soon).

When this will be publicaly release you will be able to ask for callobjects of type 'OUTGOING_PSTN'

* RATE -- the per minute cost of the skype out call
* CURRENCY -- the currency used for payment costs (eg EUR, USD, UKP)

How and when ?

[BOB] >> CALL +4477......
[BOB] << CALL 1234 STATUS RINGING
[BOB] << GET CALL 1234 RATE
[BOB] << CALL 1234 RATE 0.14
[BOB] >> CALL 1234 CURRENCY
[BOB] << CALL 1234 CURRENCY UKP

So wait it's coming soon...

Regards,

Antoine
rdavila_
Great.

Although, may I suggest the ability to know the rate before the call is made?

It makes much more sense to know the rate of the call before making the actual call.

Getting the rate information after the call is in progress is the same as not having the information in the first place.

Like when you go to a store, you check the price of an item first and then you buy the item. smile.png

Cheers
bertouta
That's a real logical answer and example.

The thing is that we must know the country and the kind of PSTN to deliver the information about rate or currency. That's why we have this API command during the progress.

I will inform the API developers about your point, without any quaranties for the future.

Or better... post an improvement API request or a new feature here : https://developer.skype.com/jira/browse/SPA

[i]Request for this new feature has been opened in Jira please visit and add comment if necessary.

https://developer.skype.com/jira/browse/SPA-16

Thanks to keep in touch in future,

Cheers,

Antoine[color=blue][/color]
nielm_
I found the Skype Dialler web-applet recently...

This contains a JS array defining the rates for the selected country for a variety of phone # prefixes -- it's probably a bit more parseable than the all_rates.html webpage...

http://www.skype.com/products/skypeout/rat...es/rates_EUR.js
http://www.skype.com/products/skypeout/rat...es/rates_USD.js
(and from a bit of URL-hacking:
http://www.skype.com/products/skypeout/rat...es/rates_AUD.js
http://www.skype.com/products/skypeout/rat...es/rates_GBP.js
etc...)

But, as it says:
[quote]Rates listed here are for reference only. View your call list after your call for exact charges.[/quote]

Extracted from the rates_EUR.js page, and re-formatted for clarity, here are the rates for Belgian numbers, listing rates for the various the GSM number prefixes, and the EUR0.012 global rate...
CODE


'BEL':[

   'Belgium',32,{

       '32497':'0.148',

       '32496':'0.148',

       '32495':'0.148',

       '32494':'0.148',

       '32479':'0.100',

       '32478':'0.100',

       '32475':'0.100',

       '32474':'0.100',

       '32477':'0.100',

       '32476':'0.100',

       '32473':'0.100',

       '32472':'0.100',

       '32446':'0.148',

       '32484':'0.148',

       '32485':'0.148',

       '32486':'0.148',

       '32499':'0.148',

       '32498':'0.148',

       '3249':'0.148',

       '3248':'0.148',

       '32':'0.012',

       '3247':'0.148',

       '3245':'0.148'

    }

],
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.