Skip to content

Respond to an RFQ with a Quote

Once the Last Look period expires without acceptance, the quote is automatically discarded. Only quotes in PENDING status are eligible for acceptance.

POST /rfq/quote

Server: https://api.openfish.fun

Authentication: L2 (HMAC) required


Content-Type: application/json

FieldTypeRequiredDescription
rfqIdstring (UUID)YesID of the RFQ to quote on
pricestringYesQuoted price
{
"rfqId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"price": "0.55"
}

FieldTypeDescription
quoteIdstringUUID of the quote
rfqIdstringUUID of the RFQ
pricestringQuoted price
statusstring"PENDING"
lastLookSecondsintegerLast Look window duration (10s)
{
"quoteId": "f1e2d3c4-b5a6-7890-fedc-ba0987654321",
"rfqId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"price": "0.55",
"status": "PENDING",
"lastLookSeconds": 10
}
{ "error": "RFQ not found, expired, or already filled" }
{ "error": "invalid authorization" }