POST api/CurrentPrices

Returns the current Fiat price of BTC

Request Information

URI Parameters

None.

Body Parameters

CurrentPricesParameters
NameDescriptionTypeAdditional information
Currency

Your chosen currency like GBP. Example: GBP

string

None.

Coin

Your chosen coin like BTC. Example: BTC

string

None.

APIKey

globally unique identifier

Required

Signature

string

Required

Nonce

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Currency": "sample string 1",
  "Coin": "sample string 2",
  "APIKey": "7ba90776-48b6-476e-b50b-95cf8079a75a",
  "Signature": "sample string 4",
  "Nonce": 5
}

application/xml, text/xml

Sample:
<CurrentPricesParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <APIKey xmlns="http://schemas.datacontract.org/2004/07/CoinCorner.Core">7ba90776-48b6-476e-b50b-95cf8079a75a</APIKey>
  <Nonce xmlns="http://schemas.datacontract.org/2004/07/CoinCorner.Core">5</Nonce>
  <Signature xmlns="http://schemas.datacontract.org/2004/07/CoinCorner.Core">sample string 4</Signature>
  <Coin>sample string 2</Coin>
  <Currency>sample string 1</Currency>
</CurrentPricesParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of CurrentPricesInformation
NameDescriptionTypeAdditional information
CoinOneId

integer

None.

CoinTwoId

integer

None.

MarketId

integer

None.

CoinOne

string

None.

CoinTwo

string

None.

PriceToSell

decimal number

None.

PriceToBuy

decimal number

None.

CreateDate

date

None.

Fee

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CoinOne": "sample string 4",
    "CoinTwo": "sample string 5",
    "CoinOneId": 1,
    "CoinTwoId": 2,
    "CreateDate": "2021-04-14T15:31:57.2808612+00:00",
    "PriceToSell": 6.0,
    "PriceToBuy": 7.0,
    "MarketId": 3,
    "Fee": 9.0
  },
  {
    "CoinOne": "sample string 4",
    "CoinTwo": "sample string 5",
    "CoinOneId": 1,
    "CoinTwoId": 2,
    "CreateDate": "2021-04-14T15:31:57.2808612+00:00",
    "PriceToSell": 6.0,
    "PriceToBuy": 7.0,
    "MarketId": 3,
    "Fee": 9.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfCurrentPricesInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <CurrentPricesInformation>
    <CoinOne>sample string 4</CoinOne>
    <CoinOneId>1</CoinOneId>
    <CoinTwo>sample string 5</CoinTwo>
    <CoinTwoId>2</CoinTwoId>
    <CreateDate>2021-04-14T15:31:57.2808612+00:00</CreateDate>
    <Fee>9</Fee>
    <MarketId>3</MarketId>
    <PriceToBuy>7</PriceToBuy>
    <PriceToSell>6</PriceToSell>
  </CurrentPricesInformation>
  <CurrentPricesInformation>
    <CoinOne>sample string 4</CoinOne>
    <CoinOneId>1</CoinOneId>
    <CoinTwo>sample string 5</CoinTwo>
    <CoinTwoId>2</CoinTwoId>
    <CreateDate>2021-04-14T15:31:57.2808612+00:00</CreateDate>
    <Fee>9</Fee>
    <MarketId>3</MarketId>
    <PriceToBuy>7</PriceToBuy>
    <PriceToSell>6</PriceToSell>
  </CurrentPricesInformation>
</ArrayOfCurrentPricesInformation>