Request for Quote (RFQ)
List Quotes
Retrieve the quotes received for an RFQ
GET
/
orderbooks
/
stocks
/
api
/
rfq
/
{id}
/
quotes
curl -X GET "https://api.trusset.org/orderbooks/stocks/api/rfq/rfq_abc123/quotes" \
-H "x-api-key: trusset_{instanceRef}_{secret}"
{
"success": true,
"data": [
{
"quoteId": "qt_001",
"makerAddress": "0x2222222222222222222222222222222222222222",
"price": "100000000000000000000",
"baseAmount": "5000000000000000000",
"quoteAmount": "500000000000000000000",
"status": "ACTIVE",
"expiresAt": "2025-01-15T10:30:12.000Z"
},
{
"quoteId": "qt_002",
"makerAddress": "0x3333333333333333333333333333333333333333",
"price": "100200000000000000000",
"baseAmount": "5000000000000000000",
"quoteAmount": "501000000000000000000",
"status": "ACTIVE",
"expiresAt": "2025-01-15T10:30:13.000Z"
}
],
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-01-15T10:30:05.000Z",
"instanceId": "inst_abc"
}
}
Returns the quotes submitted by market makers in response to an RFQ. Each quote carries an executable price, the quote amount, and its own expiry. Pass a quote’s
quoteId to Accept Quote to execute.
Authentication
Requires an instance API key with thetrading service enabled.
Path Parameters
string
required
The RFQ identifier. Max 100 characters.
curl -X GET "https://api.trusset.org/orderbooks/stocks/api/rfq/rfq_abc123/quotes" \
-H "x-api-key: trusset_{instanceRef}_{secret}"
{
"success": true,
"data": [
{
"quoteId": "qt_001",
"makerAddress": "0x2222222222222222222222222222222222222222",
"price": "100000000000000000000",
"baseAmount": "5000000000000000000",
"quoteAmount": "500000000000000000000",
"status": "ACTIVE",
"expiresAt": "2025-01-15T10:30:12.000Z"
},
{
"quoteId": "qt_002",
"makerAddress": "0x3333333333333333333333333333333333333333",
"price": "100200000000000000000",
"baseAmount": "5000000000000000000",
"quoteAmount": "501000000000000000000",
"status": "ACTIVE",
"expiresAt": "2025-01-15T10:30:13.000Z"
}
],
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-01-15T10:30:05.000Z",
"instanceId": "inst_abc"
}
}
Error Codes
| Code | Status | Description |
|---|---|---|
NOT_FOUND | 404 | No RFQ found with this ID in your instance |
INVALID_PARAM | 400 | Invalid RFQ identifier |
⌘I
curl -X GET "https://api.trusset.org/orderbooks/stocks/api/rfq/rfq_abc123/quotes" \
-H "x-api-key: trusset_{instanceRef}_{secret}"
{
"success": true,
"data": [
{
"quoteId": "qt_001",
"makerAddress": "0x2222222222222222222222222222222222222222",
"price": "100000000000000000000",
"baseAmount": "5000000000000000000",
"quoteAmount": "500000000000000000000",
"status": "ACTIVE",
"expiresAt": "2025-01-15T10:30:12.000Z"
},
{
"quoteId": "qt_002",
"makerAddress": "0x3333333333333333333333333333333333333333",
"price": "100200000000000000000",
"baseAmount": "5000000000000000000",
"quoteAmount": "501000000000000000000",
"status": "ACTIVE",
"expiresAt": "2025-01-15T10:30:13.000Z"
}
],
"metadata": {
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"timestamp": "2025-01-15T10:30:05.000Z",
"instanceId": "inst_abc"
}
}
