SMM DatabaseMy Data & API
Contact Us
SMM Data Excel Plug-in

Updata SMM data in Excel by downloading SMM Data Excel Plug-in

OS: Win 7/8/9/10

Excel: Ver.07 and above

DOWNLOAD

Home>Database>Aluminum>Aluminum>Cost>China aluminium profit and cost model>
China aluminium profit and cost model
DailyDATAAPI
Service
Data & API
Starting Date
Jan 04, 2010
Catagory
Aluminum > Aluminum > Cost
URL
https://dataapi.smm.cn/GetDataEn/al_china_aluminium_profit_and_cost_model
Supported Formats
JSON
HTTP Request Method
POST
Request Parameters
Names
Requires
Types of Range
Descriptions
tokenTrueStringThis parameter is required when using OAuth.You will get the access_token after oauth authorization.token
sdatetimeFalseStringStart Date,The default value is A Year ago, e.g.,2018-01-01
edatetimeFalseStringEnd Date,The default value is Today, e.g.,2018-08-13
Response
    • 200
    • "OK"
    • {} 3 keys
      • 0
      • [] 23 items
        • {} 3 keys
          • "Date"
          • ""
          • ""
        • {} 3 keys
          • "Alumina price"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Unit alumina consumption"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Alumina cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Power tariff"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Unit power consumption"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Power cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Prebaked anode price"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Unit prebaked anode consumption"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Prebaked anode cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Aluminium fluoride price"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Unit aluminium fluoride consumption"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Aluminium fluoride cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Cryolite"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Unit cryolite consumption"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Cryolite cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Labour cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Cash cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Maintenance fees"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Management fees, finance fees, sales fees"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Depreciation fees"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Total cost"
          • "yuan/mt"
          • ""
        • {} 3 keys
          • "Profit"
          • "yuan/mt"
          • ""
      • [] 2 items
        • [] 4 items
          • "2016-05-27"
          • "97.5"
          • "9.8"
          • "……"
        • [] 4 items
          • "2016-05-27"
          • "97.5"
          • "9.8"
          • "……"
Returned Parameters Description
Type
Status
Descriptions
CodeRequest Status “200” means normal, other status codes are shown in schedule 1
MsgReturn Description“OK” indicates normal. Other states are shown in schedule 1
DataReturn ResultReturn the corresponding data according to the requested parameters
Data.StatusPermission Status“0” means no permission,” 1” means permission
Data.Field1D Structure ArrayReturn data header description
Data.Field.NameNameIndicates the name corresponding to the column data
Data.Field.UnitUnitThe unit corresponding to the column data
Data.Field.InfoDescriptionDescription of the column data
Content2D dataReturn all eligible data
Returned Field Description
Field Name
Fied Type
Unit
Descriptions
Datedatetime
Alumina pricefloatyuan/mt
Unit alumina consumptionfloatyuan/mt
Alumina costfloatyuan/mt
Power tarifffloatyuan/mt
Unit power consumptionfloatyuan/mt
Power costfloatyuan/mt
Prebaked anode pricefloatyuan/mt
Unit prebaked anode consumptionfloatyuan/mt
Prebaked anode costfloatyuan/mt
Aluminium fluoride pricefloatyuan/mt
Unit aluminium fluoride consumptionfloatyuan/mt
Aluminium fluoride costfloatyuan/mt
Cryolitefloatyuan/mt
Unit cryolite consumptionfloatyuan/mt
Cryolite costfloatyuan/mt
Labour costfloatyuan/mt
Cash costfloatyuan/mt
Maintenance feesfloatyuan/mt
Management fees, finance fees, sales feesfloatyuan/mt
Depreciation feesfloatyuan/mt
Total costfloatyuan/mt
Profitfloatyuan/mt
How to get token
URL
https://platform.smm.cn/usercenter/auth
HTTP Request Method
POST
Request Parameters
Requires
Types of Range
Descriptions
user_nameTrueStringEamil Address
passwordTrueStringMD5 password
sourceTrueStringSource,The default value is dataapi
Response
    • 0
    • ""
    • {} 1 key
      • "eyJhbGciOiJIUjZWxLCJjb21wYW55X3N0YXR1cyI6MCwiY3JlYXRlbWFpbCI6Inh1lIjmNCdWc…"
Notes

All interfaces require authorization, and each interface has a start date. A new authorization is required after expiration.

Phone:+86 - (021)5155 0306

Schedule 1
Status
Descriptions
200SUCCESS
400INVALID REQUEST
401NOT CERTIFIED
403REJECT A REQUEST
404PAGE LOSS
422UNPROCESSABLE ENTITY
500SERVER ERROR
China aluminium profit and cost model
DailyDATAAPI
Catagory
Aluminum > Aluminum > Cost
Service
Data & API
Starting Date
Jan 04, 2010