GET /v2/trade/perps/readiness: Readiness
curl --request GET \
--url https://partner-api.bravadotrade.com/v2/trade/perps/readinessimport requests
url = "https://partner-api.bravadotrade.com/v2/trade/perps/readiness"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://partner-api.bravadotrade.com/v2/trade/perps/readiness', 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://partner-api.bravadotrade.com/v2/trade/perps/readiness",
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://partner-api.bravadotrade.com/v2/trade/perps/readiness"
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://partner-api.bravadotrade.com/v2/trade/perps/readiness")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/perps/readiness")
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{
"state": "<string>",
"rungs": {
"credential": "<string>",
"approval": "<string>",
"funded": "<string>"
},
"venue": {
"cancel_only": {},
"in_liquidation": {}
}
}Perps
GET /v2/trade/perps/readiness: Readiness
Where the user stands on Polymarket Perps: enrolment, credential, approval and funding, and the next step. Scope perps.read.
GET
/
v2
/
trade
/
perps
/
readiness
GET /v2/trade/perps/readiness: Readiness
curl --request GET \
--url https://partner-api.bravadotrade.com/v2/trade/perps/readinessimport requests
url = "https://partner-api.bravadotrade.com/v2/trade/perps/readiness"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://partner-api.bravadotrade.com/v2/trade/perps/readiness', 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://partner-api.bravadotrade.com/v2/trade/perps/readiness",
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://partner-api.bravadotrade.com/v2/trade/perps/readiness"
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://partner-api.bravadotrade.com/v2/trade/perps/readiness")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-api.bravadotrade.com/v2/trade/perps/readiness")
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{
"state": "<string>",
"rungs": {
"credential": "<string>",
"approval": "<string>",
"funded": "<string>"
},
"venue": {
"cancel_only": {},
"in_liquidation": {}
}
}Sign each request with a fresh HMAC signature. The cURL and HTTP header values below are placeholders, not reusable credentials. For runnable signing code, use request signing examples.
reason you do not know. Scope perps.read.
GET https://partner-api.bravadotrade.com/v2/trade/perps/readiness
X-Partner-User-Id. See sub-accounts.
Response
string
Where the user stands.
Orders need
state | Meaning | Next step |
|---|---|---|
not_enrolled | No perps account yet | Enrol |
blocked | The attested jurisdiction cannot trade perps | None. The user cannot be enrolled |
needs_deposit | Enrolled; the venue balance was read as zero | Deposit |
enrolled | Enrolled; the balance could not be read (rungs.funded: "unknown") | Read readiness again before depositing |
ready | Can trade | Place orders |
credential_expiring | Can trade; the venue credential is being renewed | Place orders |
credential_expired | Cannot trade until the credential is renewed | Retry later |
ready or credential_expiring.object
object
Example
curl https://partner-api.bravadotrade.com/v2/trade/perps/readiness \
-H "X-BRAVADO-API-KEY: $BRAVADO_API_KEY" \
-H "X-BRAVADO-TIMESTAMP: <unix-ms>" \
-H "X-BRAVADO-SIGNATURE: <signature-for-this-request>"
Related
- The flow from enrolment to withdrawal.
reasonvalues on409 USER_PROVISIONING_PENDING.