List markets
curl --request GET \
--url https://api.aisa.one/apis/v1/polymarket/markets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/polymarket/markets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/polymarket/markets', 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.aisa.one/apis/v1/polymarket/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.aisa.one/apis/v1/polymarket/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/polymarket/markets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"acceptingOrders": true,
"acceptingOrdersTimestamp": "2023-11-07T05:31:56Z",
"active": true,
"archived": true,
"automaticallyActive": true,
"automaticallyResolved": true,
"bestAsk": 123,
"bestBid": 123,
"categories": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"id": "<string>",
"label": "<string>",
"parentCategory": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"category": "<string>",
"chartColor": "<string>",
"clearBookOnStart": true,
"clobTokenIds": "<string>",
"closed": true,
"closedTime": "<string>",
"commentsEnabled": true,
"competitive": 123,
"conditionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"creator": "<string>",
"curationOrder": 123,
"customLiveness": 123,
"denominationToken": "<string>",
"deploying": true,
"deployingTimestamp": "2023-11-07T05:31:56Z",
"description": "<string>",
"disqusThread": "<string>",
"enableOrderBook": true,
"endDate": "2023-11-07T05:31:56Z",
"endDateIso": "<string>",
"eventStartTime": "2023-11-07T05:31:56Z",
"events": [
{
"active": true,
"archived": true,
"automaticallyActive": true,
"automaticallyResolved": true,
"cantEstimate": true,
"carouselMap": "<string>",
"categories": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"id": "<string>",
"label": "<string>",
"parentCategory": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"category": "<string>",
"chats": [
{
"channelId": "<string>",
"channelImage": "<string>",
"channelName": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"id": "<string>",
"live": true,
"startTime": "2023-11-07T05:31:56Z"
}
],
"closed": true,
"closedTime": "2023-11-07T05:31:56Z",
"collections": [
{
"active": true,
"archived": true,
"closed": true,
"collectionType": "<string>",
"commentsEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"description": "<string>",
"featured": true,
"headerImage": "<string>",
"headerImageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"isTemplate": true,
"layout": "<string>",
"new": true,
"publishedAt": "<string>",
"restricted": true,
"slug": "<string>",
"subtitle": "<string>",
"tags": "<string>",
"templateVariables": "<string>",
"ticker": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"commentCount": 123,
"commentsEnabled": true,
"competitive": 123,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"cyom": true,
"deploying": true,
"deployingTimestamp": "2023-11-07T05:31:56Z",
"description": "<string>",
"disqusThread": "<string>",
"elapsed": "<string>",
"enableNegRisk": true,
"enableOrderBook": true,
"endDate": "2023-11-07T05:31:56Z",
"ended": true,
"estimateValue": true,
"estimatedValue": "<string>",
"eventCreators": [
{
"createdAt": "2023-11-07T05:31:56Z",
"creatorHandle": "<string>",
"creatorImage": "<string>",
"creatorName": "<string>",
"creatorUrl": "<string>",
"id": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"eventDate": "<string>",
"eventWeek": 123,
"featured": true,
"featuredImage": "<string>",
"featuredImageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"featuredOrder": 123,
"finishedTimestamp": "2023-11-07T05:31:56Z",
"gameStatus": "<string>",
"gmpChartMode": "<string>",
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"isTemplate": true,
"liquidity": 123,
"liquidityClob": 123,
"live": true,
"markets": "<array>",
"negRisk": true,
"negRiskFeeBips": 123,
"negRiskMarketID": "<string>",
"new": true,
"openInterest": 123,
"parentEvent": "<string>",
"pendingDeployment": true,
"period": "<string>",
"published_at": "<string>",
"resolutionSource": "<string>",
"restricted": true,
"scheduledDeploymentTimestamp": "2023-11-07T05:31:56Z",
"score": "<string>",
"series": [
{
"active": true,
"archived": true,
"categories": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"id": "<string>",
"label": "<string>",
"parentCategory": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"cgAssetName": "<string>",
"chats": [
{
"channelId": "<string>",
"channelImage": "<string>",
"channelName": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"id": "<string>",
"live": true,
"startTime": "2023-11-07T05:31:56Z"
}
],
"closed": true,
"collections": [
{
"active": true,
"archived": true,
"closed": true,
"collectionType": "<string>",
"commentsEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"description": "<string>",
"featured": true,
"headerImage": "<string>",
"headerImageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"isTemplate": true,
"layout": "<string>",
"new": true,
"publishedAt": "<string>",
"restricted": true,
"slug": "<string>",
"subtitle": "<string>",
"tags": "<string>",
"templateVariables": "<string>",
"ticker": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"commentCount": 123,
"commentsEnabled": true,
"competitive": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"description": "<string>",
"events": "<array>",
"featured": true,
"icon": "<string>",
"id": "<string>",
"image": "<string>",
"isTemplate": true,
"layout": "<string>",
"liquidity": 123,
"new": true,
"publishedAt": "<string>",
"pythTokenID": "<string>",
"recurrence": "<string>",
"restricted": true,
"score": 123,
"seriesType": "<string>",
"slug": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"subtitle": "<string>",
"tags": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"forceHide": true,
"forceShow": true,
"id": "<string>",
"isCarousel": true,
"label": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123
}
],
"templateVariables": true,
"ticker": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"volume": 123,
"volume24hr": 123
}
],
"seriesSlug": "<string>",
"showAllOutcomes": true,
"showMarketImages": true,
"slug": "<string>",
"sortBy": "<string>",
"spreadsMainLine": 123,
"startDate": "2023-11-07T05:31:56Z",
"startTime": "2023-11-07T05:31:56Z",
"subEvents": [
"<string>"
],
"subcategory": "<string>",
"subtitle": "<string>",
"tags": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"forceHide": true,
"forceShow": true,
"id": "<string>",
"isCarousel": true,
"label": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123
}
],
"templateVariables": "<string>",
"templates": [
{
"description": "<string>",
"eventImage": "<string>",
"eventSlug": "<string>",
"eventTitle": "<string>",
"id": "<string>",
"marketTitle": "<string>",
"negRisk": true,
"outcomes": "<string>",
"resolutionSource": "<string>",
"seriesSlug": "<string>",
"showMarketImages": true,
"sortBy": "<string>"
}
],
"ticker": "<string>",
"title": "<string>",
"totalsMainLine": 123,
"tweetCount": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"volume": 123,
"volume1mo": 123,
"volume1wk": 123,
"volume1yr": 123,
"volume24hr": 123
}
],
"featured": true,
"fee": "<string>",
"feeSchedule": {
"exponent": 123,
"rate": 123,
"rebateRate": 123,
"takerOnly": true
},
"feesEnabled": true,
"formatType": "<string>",
"funded": true,
"fundedTimestamp": "2023-11-07T05:31:56Z",
"gameId": "<string>",
"gameStartTime": "<string>",
"groupItemRange": "<string>",
"groupItemThreshold": "<string>",
"groupItemTitle": "<string>",
"hasReviewedDates": true,
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"lastTradePrice": 123,
"line": 123,
"liquidity": "<string>",
"liquidityClob": 123,
"liquidityNum": 123,
"lowerBound": "<string>",
"lowerBoundDate": "<string>",
"mailchimpTag": "<string>",
"makerBaseFee": 123,
"manualActivation": true,
"marketGroup": 123,
"marketType": "<string>",
"negRiskOther": true,
"new": true,
"notificationsEnabled": true,
"oneDayPriceChange": 123,
"oneHourPriceChange": 123,
"oneMonthPriceChange": 123,
"oneWeekPriceChange": 123,
"oneYearPriceChange": 123,
"orderMinSize": 123,
"orderPriceMinTickSize": 123,
"outcomePrices": "<string>",
"outcomes": "<string>",
"pastSlugs": "<string>",
"pendingDeployment": true,
"positionIds": [
"<string>"
],
"question": "<string>",
"questionID": "<string>",
"ready": true,
"readyForCron": true,
"readyTimestamp": "2023-11-07T05:31:56Z",
"resolutionSource": "<string>",
"resolvedBy": "<string>",
"restricted": true,
"rewardsMaxSpread": 123,
"rewardsMinSize": 123,
"rfqEnabled": true,
"scheduledDeploymentTimestamp": "2023-11-07T05:31:56Z",
"score": 123,
"secondsDelay": 123,
"seriesColor": "<string>",
"shortOutcomes": "<string>",
"showGmpOutcome": true,
"showGmpSeries": true,
"slug": "<string>",
"sponsorImage": "<string>",
"sponsorName": "<string>",
"sportsMarketType": "<string>",
"spread": 123,
"startDate": "2023-11-07T05:31:56Z",
"startDateIso": "<string>",
"tags": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"forceHide": true,
"forceShow": true,
"id": "<string>",
"isCarousel": true,
"label": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123
}
],
"takerBaseFee": 123,
"teamAID": "<string>",
"teamBID": "<string>",
"twitterCardImage": "<string>",
"umaBond": "<string>",
"umaEndDate": "<string>",
"umaEndDateIso": "<string>",
"umaResolutionStatus": "<string>",
"umaResolutionStatuses": "<string>",
"umaReward": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123,
"upperBound": "<string>",
"upperBoundDate": "<string>",
"version": "<string>",
"volume": "<string>",
"volume1mo": 123,
"volume1moClob": 123,
"volume1wk": 123,
"volume1wkClob": 123,
"volume1yr": 123,
"volume1yrClob": 123,
"volume24hr": 123,
"volume24hrClob": 123,
"volumeClob": 123,
"volumeNum": 123,
"wideFormat": true,
"xAxisValue": "<string>",
"yAxisValue": "<string>"
}
]Polymarket
List markets
List individual Polymarket prediction markets — one binary question each — with live pricing.
GET
https://api.aisa.one
/
apis
/
v1
/
polymarket
/
markets
List markets
curl --request GET \
--url https://api.aisa.one/apis/v1/polymarket/markets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/polymarket/markets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/polymarket/markets', 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.aisa.one/apis/v1/polymarket/markets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.aisa.one/apis/v1/polymarket/markets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.aisa.one/apis/v1/polymarket/markets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/markets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"acceptingOrders": true,
"acceptingOrdersTimestamp": "2023-11-07T05:31:56Z",
"active": true,
"archived": true,
"automaticallyActive": true,
"automaticallyResolved": true,
"bestAsk": 123,
"bestBid": 123,
"categories": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"id": "<string>",
"label": "<string>",
"parentCategory": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"category": "<string>",
"chartColor": "<string>",
"clearBookOnStart": true,
"clobTokenIds": "<string>",
"closed": true,
"closedTime": "<string>",
"commentsEnabled": true,
"competitive": 123,
"conditionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"creator": "<string>",
"curationOrder": 123,
"customLiveness": 123,
"denominationToken": "<string>",
"deploying": true,
"deployingTimestamp": "2023-11-07T05:31:56Z",
"description": "<string>",
"disqusThread": "<string>",
"enableOrderBook": true,
"endDate": "2023-11-07T05:31:56Z",
"endDateIso": "<string>",
"eventStartTime": "2023-11-07T05:31:56Z",
"events": [
{
"active": true,
"archived": true,
"automaticallyActive": true,
"automaticallyResolved": true,
"cantEstimate": true,
"carouselMap": "<string>",
"categories": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"id": "<string>",
"label": "<string>",
"parentCategory": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"category": "<string>",
"chats": [
{
"channelId": "<string>",
"channelImage": "<string>",
"channelName": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"id": "<string>",
"live": true,
"startTime": "2023-11-07T05:31:56Z"
}
],
"closed": true,
"closedTime": "2023-11-07T05:31:56Z",
"collections": [
{
"active": true,
"archived": true,
"closed": true,
"collectionType": "<string>",
"commentsEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"description": "<string>",
"featured": true,
"headerImage": "<string>",
"headerImageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"isTemplate": true,
"layout": "<string>",
"new": true,
"publishedAt": "<string>",
"restricted": true,
"slug": "<string>",
"subtitle": "<string>",
"tags": "<string>",
"templateVariables": "<string>",
"ticker": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"commentCount": 123,
"commentsEnabled": true,
"competitive": 123,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"creationDate": "2023-11-07T05:31:56Z",
"cyom": true,
"deploying": true,
"deployingTimestamp": "2023-11-07T05:31:56Z",
"description": "<string>",
"disqusThread": "<string>",
"elapsed": "<string>",
"enableNegRisk": true,
"enableOrderBook": true,
"endDate": "2023-11-07T05:31:56Z",
"ended": true,
"estimateValue": true,
"estimatedValue": "<string>",
"eventCreators": [
{
"createdAt": "2023-11-07T05:31:56Z",
"creatorHandle": "<string>",
"creatorImage": "<string>",
"creatorName": "<string>",
"creatorUrl": "<string>",
"id": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"eventDate": "<string>",
"eventWeek": 123,
"featured": true,
"featuredImage": "<string>",
"featuredImageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"featuredOrder": 123,
"finishedTimestamp": "2023-11-07T05:31:56Z",
"gameStatus": "<string>",
"gmpChartMode": "<string>",
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"isTemplate": true,
"liquidity": 123,
"liquidityClob": 123,
"live": true,
"markets": "<array>",
"negRisk": true,
"negRiskFeeBips": 123,
"negRiskMarketID": "<string>",
"new": true,
"openInterest": 123,
"parentEvent": "<string>",
"pendingDeployment": true,
"period": "<string>",
"published_at": "<string>",
"resolutionSource": "<string>",
"restricted": true,
"scheduledDeploymentTimestamp": "2023-11-07T05:31:56Z",
"score": "<string>",
"series": [
{
"active": true,
"archived": true,
"categories": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"id": "<string>",
"label": "<string>",
"parentCategory": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"cgAssetName": "<string>",
"chats": [
{
"channelId": "<string>",
"channelImage": "<string>",
"channelName": "<string>",
"endTime": "2023-11-07T05:31:56Z",
"id": "<string>",
"live": true,
"startTime": "2023-11-07T05:31:56Z"
}
],
"closed": true,
"collections": [
{
"active": true,
"archived": true,
"closed": true,
"collectionType": "<string>",
"commentsEnabled": true,
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"description": "<string>",
"featured": true,
"headerImage": "<string>",
"headerImageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"isTemplate": true,
"layout": "<string>",
"new": true,
"publishedAt": "<string>",
"restricted": true,
"slug": "<string>",
"subtitle": "<string>",
"tags": "<string>",
"templateVariables": "<string>",
"ticker": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>"
}
],
"commentCount": 123,
"commentsEnabled": true,
"competitive": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"description": "<string>",
"events": "<array>",
"featured": true,
"icon": "<string>",
"id": "<string>",
"image": "<string>",
"isTemplate": true,
"layout": "<string>",
"liquidity": 123,
"new": true,
"publishedAt": "<string>",
"pythTokenID": "<string>",
"recurrence": "<string>",
"restricted": true,
"score": 123,
"seriesType": "<string>",
"slug": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"subtitle": "<string>",
"tags": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"forceHide": true,
"forceShow": true,
"id": "<string>",
"isCarousel": true,
"label": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123
}
],
"templateVariables": true,
"ticker": "<string>",
"title": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"volume": 123,
"volume24hr": 123
}
],
"seriesSlug": "<string>",
"showAllOutcomes": true,
"showMarketImages": true,
"slug": "<string>",
"sortBy": "<string>",
"spreadsMainLine": 123,
"startDate": "2023-11-07T05:31:56Z",
"startTime": "2023-11-07T05:31:56Z",
"subEvents": [
"<string>"
],
"subcategory": "<string>",
"subtitle": "<string>",
"tags": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"forceHide": true,
"forceShow": true,
"id": "<string>",
"isCarousel": true,
"label": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123
}
],
"templateVariables": "<string>",
"templates": [
{
"description": "<string>",
"eventImage": "<string>",
"eventSlug": "<string>",
"eventTitle": "<string>",
"id": "<string>",
"marketTitle": "<string>",
"negRisk": true,
"outcomes": "<string>",
"resolutionSource": "<string>",
"seriesSlug": "<string>",
"showMarketImages": true,
"sortBy": "<string>"
}
],
"ticker": "<string>",
"title": "<string>",
"totalsMainLine": 123,
"tweetCount": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"volume": 123,
"volume1mo": 123,
"volume1wk": 123,
"volume1yr": 123,
"volume24hr": 123
}
],
"featured": true,
"fee": "<string>",
"feeSchedule": {
"exponent": 123,
"rate": 123,
"rebateRate": 123,
"takerOnly": true
},
"feesEnabled": true,
"formatType": "<string>",
"funded": true,
"fundedTimestamp": "2023-11-07T05:31:56Z",
"gameId": "<string>",
"gameStartTime": "<string>",
"groupItemRange": "<string>",
"groupItemThreshold": "<string>",
"groupItemTitle": "<string>",
"hasReviewedDates": true,
"icon": "<string>",
"iconOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"id": "<string>",
"image": "<string>",
"imageOptimized": {
"field": "<string>",
"id": "<string>",
"imageOptimizedComplete": true,
"imageOptimizedLastUpdated": "<string>",
"imageSizeKbOptimized": 123,
"imageSizeKbSource": 123,
"imageUrlOptimized": "<string>",
"imageUrlSource": "<string>",
"relID": 123,
"relname": "<string>"
},
"lastTradePrice": 123,
"line": 123,
"liquidity": "<string>",
"liquidityClob": 123,
"liquidityNum": 123,
"lowerBound": "<string>",
"lowerBoundDate": "<string>",
"mailchimpTag": "<string>",
"makerBaseFee": 123,
"manualActivation": true,
"marketGroup": 123,
"marketType": "<string>",
"negRiskOther": true,
"new": true,
"notificationsEnabled": true,
"oneDayPriceChange": 123,
"oneHourPriceChange": 123,
"oneMonthPriceChange": 123,
"oneWeekPriceChange": 123,
"oneYearPriceChange": 123,
"orderMinSize": 123,
"orderPriceMinTickSize": 123,
"outcomePrices": "<string>",
"outcomes": "<string>",
"pastSlugs": "<string>",
"pendingDeployment": true,
"positionIds": [
"<string>"
],
"question": "<string>",
"questionID": "<string>",
"ready": true,
"readyForCron": true,
"readyTimestamp": "2023-11-07T05:31:56Z",
"resolutionSource": "<string>",
"resolvedBy": "<string>",
"restricted": true,
"rewardsMaxSpread": 123,
"rewardsMinSize": 123,
"rfqEnabled": true,
"scheduledDeploymentTimestamp": "2023-11-07T05:31:56Z",
"score": 123,
"secondsDelay": 123,
"seriesColor": "<string>",
"shortOutcomes": "<string>",
"showGmpOutcome": true,
"showGmpSeries": true,
"slug": "<string>",
"sponsorImage": "<string>",
"sponsorName": "<string>",
"sportsMarketType": "<string>",
"spread": 123,
"startDate": "2023-11-07T05:31:56Z",
"startDateIso": "<string>",
"tags": [
{
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": 123,
"forceHide": true,
"forceShow": true,
"id": "<string>",
"isCarousel": true,
"label": "<string>",
"publishedAt": "<string>",
"slug": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123
}
],
"takerBaseFee": 123,
"teamAID": "<string>",
"teamBID": "<string>",
"twitterCardImage": "<string>",
"umaBond": "<string>",
"umaEndDate": "<string>",
"umaEndDateIso": "<string>",
"umaResolutionStatus": "<string>",
"umaResolutionStatuses": "<string>",
"umaReward": "<string>",
"updatedAt": "2023-11-07T05:31:56Z",
"updatedBy": 123,
"upperBound": "<string>",
"upperBoundDate": "<string>",
"version": "<string>",
"volume": "<string>",
"volume1mo": 123,
"volume1moClob": 123,
"volume1wk": 123,
"volume1wkClob": 123,
"volume1yr": 123,
"volume1yrClob": 123,
"volume24hr": 123,
"volume24hrClob": 123,
"volumeClob": 123,
"volumeNum": 123,
"wideFormat": true,
"xAxisValue": "<string>",
"yAxisValue": "<string>"
}
]List individual Polymarket prediction markets — one binary question each — with live pricing. Use this when you need the market-implied probability of a specific outcome, or to screen markets by size and timing; filter with
Set this endpoint up in your agent →
slug, condition_ids, clob_token_ids, tag_id, closed, and the volume_num_* / start_date_* / end_date_* ranges.
Returns a top-level array of market objects. The probability signal is outcomes paired with outcomePrices, quoted against bestBid / bestAsk; conditionId and clobTokenIds are the on-chain identifiers you need to join to other Polymarket data.
For the topic that groups several related questions together, use get_polymarket_events. For the same kind of question on the US-regulated Kalshi exchange, use get_kalshi_markets.
First time? Point any MCP client at
https://mcp.aisa.one/mcp — Claude
Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
opens a browser, you click Allow once, and there is no key to paste. Your
agent then reaches every endpoint through a few meta tools: search,
list_categories, get_details and batch_quote are free, batch_use is
billed per call. Setup per client is in
Connect via MCP; the live tool list and what each call
costs are on aisa.one/mcp.Request contract
- Method and path: GET /apis/v1/polymarket/markets
- Availability: enabled
- Request URL template: https://api.aisa.one/apis/v1/polymarket/markets
- ascending: query; optional
- clob_token_ids: query; optional
- closed: query; optional
- condition_ids: query; optional
- cyom: query; optional
- end_date_max: query; optional
- end_date_min: query; optional
- game_id: query; optional
- id: query; optional
- include_tag: query; optional
- limit: query; optional
- liquidity_num_max: query; optional
- liquidity_num_min: query; optional
- offset: query; optional
- order: query; optional
- question_ids: query; optional
- related_tags: query; optional
- rewards_min_size: query; optional
- slug: query; optional
- sports_market_types: query; optional
- start_date_max: query; optional
- start_date_min: query; optional
- tag_id: query; optional
- uma_resolution_status: query; optional
- volume_num_max: query; optional
- volume_num_min: query; optional
- Runtime facts: ea4652f81dbb5117d54b401f31ded482c22f2b01ffbbe2fd118a5364d8f766d4
{
"operationId": "get_polymarket_markets",
"method": "GET",
"path": "/apis/v1/polymarket/markets",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "ascending",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "clob_token_ids",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "closed",
"schema": {
"default": false,
"type": "boolean"
}
},
{
"in": "query",
"name": "condition_ids",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "cyom",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "end_date_max",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "end_date_min",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "game_id",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "id",
"schema": {
"items": {
"type": "integer"
},
"type": "array"
}
},
{
"in": "query",
"name": "include_tag",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "limit",
"schema": {
"minimum": 0,
"type": "integer"
}
},
{
"in": "query",
"name": "liquidity_num_max",
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "liquidity_num_min",
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "offset",
"schema": {
"minimum": 0,
"type": "integer"
}
},
{
"description": "Comma-separated list of fields to order by",
"in": "query",
"name": "order",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "question_ids",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "related_tags",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "rewards_min_size",
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "slug",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "sports_market_types",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
{
"in": "query",
"name": "start_date_max",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "start_date_min",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "tag_id",
"schema": {
"type": "integer"
}
},
{
"in": "query",
"name": "uma_resolution_status",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "volume_num_max",
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "volume_num_min",
"schema": {
"type": "number"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cost_contract": "fixed_success",
"customer_pricing": "fixed_success",
"default_request_estimate_usd": 0.00044,
"estimate_source": "profile_seed",
"evidence_source": "request_snapshot"
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.00044 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.- Default request reference estimate (USD): 0.00044
- Cost contract: fixed_success
- Settlement evidence source: request_snapshot
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Required range:
x >= 0Required range:
x >= 0Comma-separated list of fields to order by
Response
List of markets
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes