List events (keyset pagination)
curl --request GET \
--url https://api.aisa.one/apis/v1/polymarket/events/keyset \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/polymarket/events/keyset"
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/events/keyset', 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/events/keyset",
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/events/keyset"
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/events/keyset")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/events/keyset")
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{
"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": [
{
"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": "<array>",
"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>"
}
],
"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
}
],
"next_cursor": "<string>"
}Gamma
List events (keyset pagination)
Returns events using cursor-based (keyset) pagination for stable, efficient paging through large result sets. Use next_cursor from each response as after_cursor in the next request. The offset parameter is explicitly rejected; use after_cursor instead.
List events with cursor based keyset pagination. Use next_cursor as after_cursor to fetch the next page. The offset parameter is rejected.
GET
https://api.aisa.one
/
apis
/
v1
/
polymarket
/
events
/
keyset
List events (keyset pagination)
curl --request GET \
--url https://api.aisa.one/apis/v1/polymarket/events/keyset \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/polymarket/events/keyset"
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/events/keyset', 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/events/keyset",
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/events/keyset"
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/events/keyset")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/events/keyset")
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{
"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": [
{
"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": "<array>",
"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>"
}
],
"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
}
],
"next_cursor": "<string>"
}Request contract
- Method and path: GET /apis/v1/polymarket/events/keyset
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/polymarket/events/keyset - after_cursor: query; optional
- ascending: query; optional
- closed: query; optional
- created_by: query; optional
- cyom: query; optional
- end_date_max: query; optional
- end_date_min: query; optional
- event_date: query; optional
- event_week: query; optional
- exclude_tag_id: query; optional
- featured: query; optional
- featured_order: query; optional
- game_id: query; optional
- id: query; optional
- include_best_lines: query; optional
- include_chat: query; optional
- include_children: query; optional
- include_template: query; optional
- limit: query; optional
- liquidity_max: query; optional
- liquidity_min: query; optional
- live: query; optional
- locale: query; optional
- offset: query; optional
- order: query; optional
- parent_event_id: query; optional
- partner_slug: query; optional
- recurrence: query; optional
- related_tags: query; optional
- series_id: query; optional
- slug: query; optional
- start_date_max: query; optional
- start_date_min: query; optional
- start_time_max: query; optional
- start_time_min: query; optional
- tag_id: query; optional
- tag_match: query; optional
- tag_slug: query; optional
- title_search: query; optional
- volume_max: query; optional
- volume_min: query; optional
{
"operationId": "any_polymarket_gamma_apis_v1_polymarket_events_keyset",
"method": "GET",
"path": "/apis/v1/polymarket/events/keyset",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "Opaque cursor token from a previous response's next_cursor",
"in": "query",
"name": "after_cursor",
"schema": {
"type": "string"
}
},
{
"description": "Sort direction. Only used when order is set.",
"in": "query",
"name": "ascending",
"schema": {
"default": true,
"type": "boolean"
}
},
{
"description": "Filter by closed state. Omitted includes open and closed events. Use true for closed events, false for open events, or any (case-insensitive) for both states. Unlike markets, any does not require an identifier filter. Invalid closed values return 422.\n",
"in": "query",
"name": "closed",
"schema": {
"oneOf": [
{
"type": "boolean"
},
{
"enum": [
"any"
],
"type": "string"
}
]
}
},
{
"in": "query",
"name": "created_by",
"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": "event_date",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "event_week",
"schema": {
"type": "integer"
}
},
{
"description": "Tag IDs to exclude. Cannot overlap with tag_id.",
"in": "query",
"name": "exclude_tag_id",
"schema": {
"items": {
"type": "integer"
},
"type": "array"
}
},
{
"in": "query",
"name": "featured",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "featured_order",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "game_id",
"schema": {
"items": {
"type": "integer"
},
"type": "array"
}
},
{
"in": "query",
"name": "id",
"schema": {
"items": {
"type": "integer"
},
"type": "array"
}
},
{
"description": "When true, includes BestLines relation",
"in": "query",
"name": "include_best_lines",
"schema": {
"type": "boolean"
}
},
{
"description": "When true, includes Chats and Series.Chats relations",
"in": "query",
"name": "include_chat",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "include_children",
"schema": {
"type": "boolean"
}
},
{
"description": "When true, includes Templates relation",
"in": "query",
"name": "include_template",
"schema": {
"type": "boolean"
}
},
{
"description": "Maximum number of results to return (max 100)",
"in": "query",
"name": "limit",
"schema": {
"default": 20,
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
{
"in": "query",
"name": "liquidity_max",
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "liquidity_min",
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "live",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "locale",
"schema": {
"type": "string"
}
},
{
"description": "Not allowed. Returns 422 if provided.",
"in": "query",
"name": "offset",
"schema": {
"type": "integer"
}
},
{
"description": "Comma-separated list of JSON field names to order by",
"in": "query",
"name": "order",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "parent_event_id",
"schema": {
"type": "integer"
}
},
{
"description": "When set, external_partners are attached to matching events",
"in": "query",
"name": "partner_slug",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "recurrence",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "related_tags",
"schema": {
"type": "boolean"
}
},
{
"in": "query",
"name": "series_id",
"schema": {
"items": {
"type": "integer"
},
"type": "array"
}
},
{
"in": "query",
"name": "slug",
"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": "start_time_max",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "start_time_min",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "tag_id",
"schema": {
"items": {
"type": "integer"
},
"type": "array"
}
},
{
"in": "query",
"name": "tag_match",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "tag_slug",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "title_search",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "volume_max",
"schema": {
"type": "number"
}
},
{
"in": "query",
"name": "volume_min",
"schema": {
"type": "number"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.00044 USD per successful request. Your account price may differ; use a request quote where supported.Authorizations
Query Parameters
Response
Paginated list of events. Always includes Series, Tags, Markets, and EventCreators relations. Chats/Series.Chats, Templates, and BestLines are optional via their respective include_ flags. Nested markets include clob_rewards and fee_schedule. Teams are enriched automatically. external_partners attached only when partner_slug is set.