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": "43722a29-7473-4cd5-9d4f-dd33b1a8c602",
  "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">43722a29-7473-4cd5-9d4f-dd33b1a8c602</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": "2024-04-20T08:25:58.5195202+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": "2024-04-20T08:25:58.5195202+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>2024-04-20T08:25:58.5195202+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>2024-04-20T08:25:58.5195202+00:00</CreateDate>
    <Fee>9</Fee>
    <MarketId>3</MarketId>
    <PriceToBuy>7</PriceToBuy>
    <PriceToSell>6</PriceToSell>
  </CurrentPricesInformation>
</ArrayOfCurrentPricesInformation>