List quotes

Retrieves a list of quotes

SecurityapiKey and apiSecret
Request
query Parameters
page[size]
integer [ 1 .. 100 ]
Default: 20

The number of items to return per page.

page[after]
string

The cursor to start the page after.

page[before]
string

The cursor to start the page before.

Responses
200

A list of quotes.

Response Schema: application/vnd.api+json
required
object
self
required
string <uri>

The link to the current page.

first
required
string <uri>

The first page of results.

next
string <uri>

The link to the next page of results. If this is not present, then there are no more results.

prev
string <uri>

The link to the previous page of results. If this is not present, then this is the first page of results.

required
Array of objects
Array
id
required
string <id:quote:[a-zA-Z0-9]{27}>
type
required
string
Value: "quote"
required
object
required
object
assetType
required
string

The type of asset. This could represent a currency, a cryptocurrency, or some other class of asset. See the possible values for examples.

Enum: "asset:eth:USDC" "asset:eth:USDT" "asset:eth:WBTC" "asset:btc:BTC" "asset:sol:USDC" "asset:fiat:COP" "asset:fiat:MXN" "asset:fiat:ARS" "asset:fiat:CLP" "asset:fiat:BRL" "asset:fiat:USD" "asset:fiat:GHS"
amount
required
string <\d+>

A very large, unsigned, integer represented as a string.

required
object
assetType
required
string

The type of asset. This could represent a currency, a cryptocurrency, or some other class of asset. See the possible values for examples.

Enum: "asset:eth:USDC" "asset:eth:USDT" "asset:eth:WBTC" "asset:btc:BTC" "asset:sol:USDC" "asset:fiat:COP" "asset:fiat:MXN" "asset:fiat:ARS" "asset:fiat:CLP" "asset:fiat:BRL" "asset:fiat:USD" "asset:fiat:GHS"
amount
required
string <\d+>

A very large, unsigned, integer represented as a string.

expiresAt
required
string <date-time>
status
required
string
Enum: "open" "expired" "accepted" "filled" "cancelled"
400

The submitted request could not be completed because of an error in the input.

403

Access prohibited. This typically indicates that the presented credentials were invalid.

404

The submitted request could not be completed because the requested entity does not exist.

406

No supported media types in the 'accept' request header.

get/quotes
Request samples
curl -i -X GET \
  'https://api.conduit.financial/quotes?page%5Bsize%5D=20&page%5Bafter%5D=string&page%5Bbefore%5D=string' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -H 'X-API-Secret: YOUR_API_KEY_HERE'
Response samples
application/vnd.api+json
{
  • "links": {},
  • "data": [
    • {
      • "id": "id:quote:2G6BST3Q0age8uCpYN7vIloQyxT",
      • "type": "quote",
      • "attributes": {
        • "source": {
          • "assetType": "asset:eth:USDC",
          • "amount": "5000000000"
          },
        • "target": {
          • "assetType": "asset:eth:USDC",
          • "amount": "5000000000"
          },
        • "expiresAt": "2019-08-24T14:15:22Z",
        • "status": "open"
        }
      }
    ]
}