List Pairs

The method GET /pairs enables you to retrieve a list of pairs that can be used to Request a Quote.

Endpoint URL


Request

Query Fields

You can use the following query parameters in your request

ParameterDescriptionRequired
sourceAllows you to filter pairs by the source currency or assetNo
targetAllows you to filter pairs by the target currency or assetNo

Example

GET https://api.bitso.com/rfq/v1/pairs?source=BTC


Response

Fields

FieldTypeDescription
sourcestringSource currency or asset
targetstringTarget currency or asset
source_precisionstringMax number of decimals for the source field
target_precisionstringMax number of decimals for the target field

Payload Example

The response for this request will be an array of pairs, based on the filters provided.

{
  "pairs": [
    {
      "source": "BTC",
      "target": "USDT",
      "source_precision": "8",
      "target_precision": "6"
    },
    {
      "source": "USDT",
      "target": "BTC",
      "source_precision": "6",
      "target_precision": "8"
    },
    {
      "source": "USDT",
      "target": "MXN",
      "source_precision": "8",
      "target_precision": "2"
    },
    {
      "source": "MXN",
      "target": "USDT",
      "source_precision": "2",
      "target_precision": "8"
    }
  ]
}

Error

Responses

Status CodeError CodeError Message
500fetching_pairs_api_errorError fetching trading pairs

Payload Example

{
  "errors": [
    {
      "code": "fetching_pairs_api_error",
      "message": "Error fetching trading pairs"
    }
  ]
}