Please confirm your location:


Hobbyking.com® API Service
The API service enables merchants to display real-time data on products and orders within their web sites.
The API is in constant development; below are the current parameters and data.

Address: http://www.hobbyking.com/hobbyking_api.asp

Product Query
Input Fields Type OccurrenceMeaning
id Integer required Product ID
switch Integer required
Input Meaning Return
1 Get Stock Level Integer
(pcs -99999 ~ 99999)
2 Get Shipping Weight Integer
(gram 0 ~ 9999)
3 Get Price Decimal
(0.00 ~ 9999.00)
4 Get Product Description Text
(1~60 characters)
level Integer Optional

This is only required when the switch = 3 (Price)

Input Meaning
1 Get Standard Membership Price (default)
2 Get Gold Membership Price
3 Get Platium Membership Price
Example:
id=[product id]
switch=[information to return]
level=[membership type] *optional, only required for getting the price
The following will return the Gold membership price of product 8731;
http://www.hobbyking.com/hobbyking_api.asp?id=8731&switch=3&level=2

 

Order Query
Input Fields Type Occurrence Meaning
orderid Integer required Order ID
switch Integer required
Input Meaning Return
1 Get Posted Status Integer (True, False)
2 Get Tracking ID Text (1 ~ 30 characters)
Example:
orderid=[your order number]
switch=[information to return]
The following will return the tracking number of order 200185426;
http://www.hobbyking.com/hobbyking_api.asp?orderid=200185426&switch=2

 

Javascript sample;

Please visit our forums for technical assistance.