Gold, Currency and Exchange API

Description

Find stock values, parities and gold, currency and bitcoin prices. Reach many exchange rates and also convert the currency of your choice into Turkish Lira.

Pricing per Call: 0.001$
For learn the packages and usage details of the services, go to the pricing page.

End Points

get/allCurrency

Service that brings exchange rates against Turkish Lira instantly.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/allCurrency",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "name": "USD Amerikan Doları",
      "buying": "6.6920",
      "selling": "6.6995"
    },
    {
      "name": "EUR Euro",
      "buying": "7.7322",
      "selling": "7.7393"
    },
    {
      "name": "GBP İngiliz Sterlini",
      "buying": "8.5933",
      "selling": "8.6041"
    },
    "..."
  ]
}
get/goldPrice

Service that brings gold price in Turkey instantly.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/goldPrice",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "name": "ONS",
      "buy": "1195.6400",
      "sell": "-"
    },
    {
      "name": "Gram Altın",
      "buy": "257.4107",
      "sell": "254.8366"
    },
    {
      "name": "Çeyrek Altın",
      "buy": "433.8277",
      "sell": "417.1420"
    },
    {
      "name": "Yarım Altın",
      "buy": "881.2076",
      "sell": "831.3279"
    },
    "..."
  ]
}
get/singleCurrency

Currency converter. The service that converts the amount of foreign currency entered into Turkish Lira.

Parameters
FieldDescriptionTypeHeaderRequired
tagYou will enter the code of that unit if you want to convert which currency. Dollars USD, Euro EUR etc.text
intEnter the amount of money you want to convert.int
Example
Request
{
  "uri": "https://api.collectapi.com/economy/singleCurrency?tag=USD&int=10",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": {
    "text": "66.96",
    "rate": "0.86",
    "selling": "6.6957",
    "buying": "6.6904"
  }
}
get/cripto

Bitcoin and Altcoin prices, changes in the instant service.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/cripto",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "chaWeek": "-1.46%",
      "chaDay": "0.14%",
      "chaHour": "-0.19%",
      "hacim": "$5,191,422,012",
      "miktar": "17,524,650",
      "fiyat": "$3415.57",
      "piyasadegeri": "$59,856,585,347",
      "text": "Bitcoin"
    },
    {
      "chaWeek": "-6.02%",
      "chaDay": "0.43%",
      "chaHour": "-0.34%",
      "hacim": "$412,052,590",
      "miktar": "41,169,202,069\n*",
      "fiyat": "$0.293026",
      "piyasadegeri": "$12,063,634,842",
      "text": "XRP"
    },
    "..."
  ]
}
get/hisseSenedi

Service that brings the values of the companies on the stock exchange.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/hisseSenedi",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "hacimlot": "145.350",
      "hacimtl": "517.503",
      "cha1": "% -1,39",
      "lastprice": "3,55",
      "time": "15:37",
      "text": "ACSEL"
    },
    {
      "hacimlot": "11.343",
      "hacimtl": "68.996",
      "cha1": "% -0,16",
      "lastprice": "6,08",
      "time": "15:26",
      "text": "ADANA"
    },
    "..."
  ]
}
get/borsaIstanbul

The service that brings the value of Borsa İstanbul.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/borsaIstanbul",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": {
    "current": "102.253",
    "changerate": "-0,32%",
    "min": "101.945",
    "max": "102.937",
    "opening": "102.753",
    "closing": ":  102.584"
  }
}
get/silverPrice

Service that brings silver price in Turkey instantly.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/silverPrice",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": {
    "buying": "2,6485",
    "selling": "2,6553",
    "change": "% -0,07",
    "updatetime": "10:53"
  }
}
get/parite

Exchange rates of each other, changing the status of the service.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/parite",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "text": "EUR/USD",
      "buying": "1,1323",
      "selling": "1,1324",
      "time": "11:36",
      "rate": "% -0,06"
    },
    {
      "text": "USD/EUR",
      "buying": "0,8831",
      "selling": "0,8831",
      "time": "11:36",
      "rate": "% 0,06"
    },
    "..."
  ]
}
get/liveBorsa

Service showing changes in all indices in the Turkey stock market instantly.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/canlıBorsa",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "name": "ACSEL",
      "price": "3,51",
      "rate": "-0,57",
      "time": "12:54:39"
    },
    {
      "name": "ADANA",
      "price": "6,07",
      "rate": "0,00",
      "time": "12:39:28"
    },
    "..."
  ]
}
get/emtia

Service showing instant changes of commodities.

Example
Request
{
  "uri": "https://api.collectapi.com/economy/emtia",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "code": "XAGGR",
      "name": "Gümüş (Spt)",
      "buying": "2,7563",
      "selling": "2,7632",
      "rate": "1,54",
      "saat": "23:19:36"
    },
    {
      "code": "XAGUSD",
      "name": "Gümüş ONS USD",
      "buying": "16,121",
      "selling": "16,128",
      "rate": "0,78",
      "saat": "23:19:39"
    },
    "..."
  ]
}
get/currencyToAll

Service that converts the entered exchange rate to other currencies.

Parameters
FieldDescriptionTypeHeaderRequired
baseYou will enter the code of that unit if you want to translate which currency. Dollars USD, Euro EUR etc.text
intEnter the amount of money you want to translate. You don't have to enter.int
Example
Request
{
  "uri": "https://api.collectapi.com/economy/currencyToAll?base=USD&int=10",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "code": "EUR",
      "name": "Euro",
      "rate": "0.8904290065",
      "calculated": "89.04"
    },
    {
      "code": "GBP",
      "name": "British Pound",
      "rate": "0.7654570379",
      "calculated": "76.55"
    },
    "..."
  ]
}