EnterpriseLogin Login / Register

Market Overview

Provides multi-asset market data covering global core markets including precious metals, forex, energy, agricultural products, bonds, indices, and digital assets. Supports additional subcategories such as gold, crude oil, base metals, soft commodities, grains, stock index futures, regional currency pairs, and forex futures to meet cross-market, multi-asset allocation needs.

Market API

Market Data

Interface Address
GET http://openapi.fx678.com/api/market/202605/symbol?token=XXXXXX&code=XXXXXX
Input Parameters
Parameter Type Required Description
token string Yes API Access Token
code string Yes Single or multiple (multiple separated by comma), e.g., SH|600000
Response Parameters
Symbol Name Description
code Status Code
msg Status Message
data Data
Code Symbol Code
Decimal Decimal Places
High High Price
Last Last Price
LastClose Previous Close
Low Low Price
Name Symbol Name
Open Open Price
QuoteTime Quote Time
Excode Exchange Code
Sample Response
{
  "code": 200,
  "msg": "",
  "data": [
    {
      "Code": "EURUSD",
      "Decimal": "5",
      "High": "1.16300",
      "Last": "1.15966",
      "LastClose": "1.16254",
      "Low": "1.15953",
      "Name": "EURUSD",
      "Open": "1.16233",
      "QuoteTime": "1779939345",
      "Excode": "WH"
    }
  ]
}
          

K-Line History

Interface Address
GET http://openapi.fx678.com/api/market/202605/kline?token=XXXXXX&excode=XXXXXX&code=XXXXXX&type=XXXXXX
Input Parameters
Parameter Type Required Description
token string Yes API Access Token
excode string Yes Exchange Code
code string Yes Symbol Codeexcode|code,excode|code
type string Yes min1=1min, min5=5min, min15=15min, min30=30min, min60=60min, min120=2hr, min240=4hr, day=Daily
Response Parameters
Symbol Name Description
code Status Code
msg Status Message
data Data
UpdateTime Update Time
Close Close Price
High High Price
Low Low Price
Open Open Price
Sample Response
{
  "code": 200,
  "msg": "",
  "data": [
    {
      "UpdateTime": 1755619200,
      "Close": "1.16497",
      "High": "1.16732",
      "Low": "1.16220",
      "Open": "1.16446"
    }
  ]
}
          
  • A
  • Albania +355
  • Algeria +213
  • Afghanistan +93
  • Argentina +54
  • Angola +244
  • Antigua and Barbuda +1268
  • Austria +43
  • Australia +61
  • Armenia +374
  • B
  • Barbados +1246
  • Bahrain +973
  • Brazil +55
  • Belarus +375
  • Bulgaria +359
  • Belgium +32
  • Bolivia +591
  • Belize +501
  • Botswana +267
  • Bhutan +975
  • Burkina Faso +226
  • Bangladesh +880
  • Brunei +673
  • C
  • Colombia +57
  • Costa Rica +506
  • Cuba +53
  • Canada +1
  • Cambodia +855
  • Czech Republic +420
  • Cameroon +237
  • Comoros +269
  • Croatia +385
  • Cyprus +357
  • Chad +235
  • Chile +56
  • China +86
  • D
  • Denmark +45
  • Dominican Republic +1809
  • DR Congo +243
  • Djibouti +253
  • E
  • Estonia +372
  • Equatorial Guinea +240
  • Ecuador +593
  • El Salvador +503
  • F
  • France +33
  • Finland +358
  • G
  • Germany +49
  • Gambia +220
  • Georgia +995
  • Guyana +592
  • Guinea +224
  • Ghana +233
  • Guatemala +502
  • Greece +30
  • H
  • Haiti +509
  • Honduras +504
  • Hungary +36
  • Hong Kong +852
  • I
  • Ireland +353
  • Iceland +354
  • Iraq +964
  • Iran +98
  • Israel +972
  • Italy +39
  • India +91
  • Indonesia +62
  • J
  • Japan +81
  • Jamaica +1876
  • Jordan +962
  • K
  • Kazakhstan +7
  • Kiribati +686
  • Kyrgyzstan +996
  • Kuwait +965
  • Kenya +254
  • L
  • Latvia +371
  • Laos +856
  • Lebanon +961
  • Libya +218
  • Lithuania +370
  • Luxembourg +352
  • M
  • Macao +853
  • Madagascar +261
  • Maldives +960
  • Malta +356
  • Malaysia +60
  • Mali +223
  • Mauritius +230
  • Mongolia +976
  • Myanmar +95
  • Morocco +212
  • Mozambique +258
  • Mexico +52
  • N
  • North Macedonia +389
  • North Korea +850
  • Netherlands +31
  • Namibia +264
  • Nepal +977
  • Niger +227
  • Nigeria +234
  • Norway +47
  • New Zealand +64
  • P
  • Pakistan +92
  • Paraguay +595
  • Panama +507
  • Peru +51
  • Puerto Rico +1787
  • Poland +48
  • Philippines +63
  • Palau +680
  • Portugal +351
  • Q
  • Qatar +974
  • R
  • Russia +7
  • Republic of the Congo +242
  • Rwanda +250
  • Romania +40
  • S
  • South Korea +82
  • South Africa +27
  • South Sudan +211
  • Sweden +46
  • Switzerland +41
  • Serbia +381
  • Sierra Leone +232
  • Senegal +221
  • Saudi Arabia +966
  • Sri Lanka +94
  • Slovakia +421
  • Slovenia +386
  • Sudan +249
  • Somalia +252
  • Spain +34
  • Singapore +65
  • Syria +963
  • T
  • Timor-Leste +670
  • Togo +228
  • Tajikistan +992
  • Tanzania +255
  • Thailand +66
  • Tonga +676
  • Tunisia +216
  • Turkmenistan +993
  • Turkey +90
  • Taiwan +886
  • U
  • United States +1
  • Uganda +256
  • Ukraine +380
  • Uruguay +598
  • Uzbekistan +998
  • United Kingdom +44
  • V
  • Venezuela +58
  • Vietnam +84
  • Y
  • Yemen +967
  • Z
  • Zimbabwe +263
  • Zambia +260