Get RFQs
curl --request GET \
--url https://api.prod.polymarketexchange.com/v1/combos/rfqsimport requests
url = "https://api.prod.polymarketexchange.com/v1/combos/rfqs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.prod.polymarketexchange.com/v1/combos/rfqs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.prod.polymarketexchange.com/v1/combos/rfqs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.prod.polymarketexchange.com/v1/combos/rfqs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.prod.polymarketexchange.com/v1/combos/rfqs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.prod.polymarketexchange.com/v1/combos/rfqs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"rfqs": [
{
"id": "<string>",
"qtyDecimal": "<string>",
"cashOrderQty": "<string>",
"instrument": {
"id": "<string>",
"description": "<string>",
"eventId": "<string>",
"eventDisplayName": "<string>",
"question": "<string>",
"legs": [
{
"instrumentId": "<string>"
}
],
"expirationTime": "2023-11-07T05:31:56Z",
"tickSize": 123
},
"rfqCreatorUserId": "<string>",
"clientRequestId": "<string>",
"expirationTime": "2023-11-07T05:31:56Z",
"createdTime": "2023-11-07T05:31:56Z"
}
],
"nextPageToken": "<string>",
"eof": true
}Returns RFQs matching the query filters.
GET
/
v1
/
combos
/
rfqs
Get RFQs
curl --request GET \
--url https://api.prod.polymarketexchange.com/v1/combos/rfqsimport requests
url = "https://api.prod.polymarketexchange.com/v1/combos/rfqs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.prod.polymarketexchange.com/v1/combos/rfqs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.prod.polymarketexchange.com/v1/combos/rfqs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.prod.polymarketexchange.com/v1/combos/rfqs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.prod.polymarketexchange.com/v1/combos/rfqs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.prod.polymarketexchange.com/v1/combos/rfqs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"rfqs": [
{
"id": "<string>",
"qtyDecimal": "<string>",
"cashOrderQty": "<string>",
"instrument": {
"id": "<string>",
"description": "<string>",
"eventId": "<string>",
"eventDisplayName": "<string>",
"question": "<string>",
"legs": [
{
"instrumentId": "<string>"
}
],
"expirationTime": "2023-11-07T05:31:56Z",
"tickSize": 123
},
"rfqCreatorUserId": "<string>",
"clientRequestId": "<string>",
"expirationTime": "2023-11-07T05:31:56Z",
"createdTime": "2023-11-07T05:31:56Z"
}
],
"nextPageToken": "<string>",
"eof": true
}Query Parameters
Number of RFQs to return. Max 100.
Required range:
x <= 100Filter by combo symbol.
Filter by RFQ status.
Available options:
QUOTE_STATUS_PENDING, QUOTE_STATUS_ACCEPTED, QUOTE_STATUS_DELETED, QUOTE_STATUS_EXPIRED, QUOTE_STATUS_PASSED, QUOTE_STATUS_DONE_AWAY, QUOTE_STATUS_PENDING_RISK, QUOTE_STATUS_REJECTED, QUOTE_STATUS_PENDING_END_TRADE ⌘I