curl --request GET \
--url https://core-api.adipredictstreet.com/api/platform/status \
--header 'X-Api-Key: <api-key>'import requests
url = "https://core-api.adipredictstreet.com/api/platform/status"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://core-api.adipredictstreet.com/api/platform/status', 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://core-api.adipredictstreet.com/api/platform/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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://core-api.adipredictstreet.com/api/platform/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core-api.adipredictstreet.com/api/platform/status")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.adipredictstreet.com/api/platform/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"frozen": true,
"reason": "<string>",
"since": "2023-11-07T05:31:56Z",
"activeNotices": [
"<string>"
],
"maintenance": {
"trading": {
"status": "operational",
"windowId": "<string>"
},
"withdrawals": {
"status": "operational",
"windowId": "<string>"
}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Get platform status
Whether the platform-wide freeze is engaged, plus the ids of the notices currently in effect, in one call. Poll it to detect a freeze. While frozen is true, order placement (POST /api/orders/place, POST /api/orders/place-batch), POST /api/orders/cancel-all, gasless deposits, and withdrawal requests and cancellations are refused with 503 platform_frozen. POST /api/orders/cancel and POST /api/orders/cancel-batch keep working so you can pull resting orders, and read endpoints stay available. A freeze of withdrawals alone does not set frozen, which stays specific to the platform-wide freeze: the withdrawal endpoints answer 503 withdrawals_frozen, and when the maintenance object is present it shows as maintenance.withdrawals.status = maintenance with a null windowId. The maintenance object reports per-surface state, including a degraded reading taken from the same order-placement alert our own on-call acts on — see the Maintenance Notifications guide.
Requires a partner API key in X-Api-Key (this endpoint used to be public); no scope and no X-User-Wallet header are needed. A self-service key minted from a retail account is refused with 403 partner_key_required, and a signed-in user session (Authorization: Bearer) with 403 api_key_required_not_jwt. It never answers 404: where the maintenance feature is not switched on, the maintenance object is simply left out. Rate limit: 600 requests per minute per partner for this endpoint (all of your keys share it; it scales with your rate tier), plus 600 per minute per IP in one bucket that status and notices share. Cacheable for 5 seconds, privately: never in a shared cache, because the response is authenticated. GET /api/platform/contracts and /fee-config remain public and share a separate IP bucket.
curl --request GET \
--url https://core-api.adipredictstreet.com/api/platform/status \
--header 'X-Api-Key: <api-key>'import requests
url = "https://core-api.adipredictstreet.com/api/platform/status"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://core-api.adipredictstreet.com/api/platform/status', 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://core-api.adipredictstreet.com/api/platform/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-Api-Key: <api-key>"
],
]);
$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://core-api.adipredictstreet.com/api/platform/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-Api-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://core-api.adipredictstreet.com/api/platform/status")
.header("X-Api-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.adipredictstreet.com/api/platform/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-Api-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"frozen": true,
"reason": "<string>",
"since": "2023-11-07T05:31:56Z",
"activeNotices": [
"<string>"
],
"maintenance": {
"trading": {
"status": "operational",
"windowId": "<string>"
},
"withdrawals": {
"status": "operational",
"windowId": "<string>"
}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Authorizations
Partner / integrator key — format ps_live_<keyId>_<secret>. Partner keys are issued by PredictStreet; a user can also create keys bound to their own wallet from their account settings in the web app. Never ship to a browser. multi_wallet partners must additionally send X-User-Wallet: 0x<40-hex> on every authenticated request to declare the acting wallet. See the API keys guide for scope taxonomy, partner kinds, rate limits, and rotation procedure.
Response
OK
true while the platform-wide freeze is engaged. See GET /api/platform/status for which calls it blocks.
Reason given for the freeze. null when not frozen.
ISO-8601 — when the freeze began. null when not frozen.
Ids of the notices currently in effect — the same notices GET /api/platform/notices returns.
Absent in an environment where the maintenance feature is switched off — treat a missing object as "no information", never as "everything is fine".
Show child attributes
Show child attributes