Get the per-app UI config (disabled venues + categories)
curl --request GET \
--url https://api.agg.market/app/config \
--header 'x-app-id: <api-key>'import requests
url = "https://api.agg.market/app/config"
headers = {"x-app-id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-app-id': '<api-key>'}};
fetch('https://api.agg.market/app/config', 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.agg.market/app/config",
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-app-id: <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://api.agg.market/app/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-app-id", "<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://api.agg.market/app/config")
.header("x-app-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agg.market/app/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-app-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"disabledVenues": [
"kalshi"
],
"disabledCategoryPresets": [
"<string>"
],
"earlyAccessEnabled": true,
"authOptions": [
{
"provider": "google",
"type": "oauth",
"enabled": true,
"callbackUrl": "<string>",
"statement": "<string>"
}
],
"tradingMode": "live",
"paperStartingBalance": 123,
"prophetxExecutionMode": "clearinghouse",
"novigExecutionMode": "clearinghouse"
}{
"message": "<string>"
}{
"message": "<string>"
}Markets
Get the per-app UI config (disabled venues + categories)
Public lookup of one app’s UI config by x-app-id. No user session and no API key. Returns the venues and category presets the app has turned off, whether early access is on, the enabled auth providers, and the app’s trading mode. A missing x-app-id is 400. An unknown or inactive app is 404. This does not include secrets. A successful response may be cached at the edge until the app changes.
GET
/
app
/
config
Get the per-app UI config (disabled venues + categories)
curl --request GET \
--url https://api.agg.market/app/config \
--header 'x-app-id: <api-key>'import requests
url = "https://api.agg.market/app/config"
headers = {"x-app-id": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-app-id': '<api-key>'}};
fetch('https://api.agg.market/app/config', 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.agg.market/app/config",
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-app-id: <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://api.agg.market/app/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-app-id", "<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://api.agg.market/app/config")
.header("x-app-id", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agg.market/app/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-app-id"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"disabledVenues": [
"kalshi"
],
"disabledCategoryPresets": [
"<string>"
],
"earlyAccessEnabled": true,
"authOptions": [
{
"provider": "google",
"type": "oauth",
"enabled": true,
"callbackUrl": "<string>",
"statement": "<string>"
}
],
"tradingMode": "live",
"paperStartingBalance": 123,
"prophetxExecutionMode": "clearinghouse",
"novigExecutionMode": "clearinghouse"
}{
"message": "<string>"
}{
"message": "<string>"
}Integration guide
- Before you call: Set up your app and request headers.
- Workflow: Build an event and market screen.
- Next: Check regional trading availability.
Authorizations
Response
200