POST api/CurrentPrices
Returns the current Fiat price of BTC
Request Information
URI Parameters
None.
Body Parameters
CurrentPricesParametersName | Description | Type | Additional 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": "238dda5f-c79b-4f6d-813e-28994cb0a407", "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">238dda5f-c79b-4f6d-813e-28994cb0a407</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:
Response Information
Resource Description
Collection of CurrentPricesInformationName | Description | Type | Additional 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": "2023-05-14T21:22:30.7550941+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": "2023-05-14T21:22:30.7550941+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>2023-05-14T21:22:30.7550941+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>2023-05-14T21:22:30.7550941+00:00</CreateDate> <Fee>9</Fee> <MarketId>3</MarketId> <PriceToBuy>7</PriceToBuy> <PriceToSell>6</PriceToSell> </CurrentPricesInformation> </ArrayOfCurrentPricesInformation>