Output Schema
{
"input": {
"method": "GET",
"queryParams": {
"limit": {
"description": "Maximum number of opportunities to return (1-3).",
"required": false,
"type": "integer"
},
"min_profit": {
"description": "Minimum profit percentage (e.g., 1 for 1%).",
"required": false,
"type": "number"
}
},
"type": "http"
},
"output": {
"properties": {
"minProfit": {
"description": "Minimum profit filter applied (as a decimal percentage).",
"required": true,
"type": "number"
},
"opportunities": {
"description": "Actionable opportunities that met the profit filter.",
"items": {
"properties": {
"daysUntilEarliestExpiry": {
"type": "integer"
},
"earliestExpiry": {
"type": "string"
},
"kalshiMarket": {
"description": "Kalshi leg details.",
"properties": {
"daysUntilExpiry": {
"type": "integer"
},
"expiryDate": {
"type": "string"
},
"liquidity": {
"type": "number"
},
"noAsk": {
"required": true,
"type": "number"
},
"noLabel": {
"type": "string"
},
"priceSource": {
"enum": [
"clob",
"snapshot"
],
"type": "string"
},
"ticker": {
"required": true,
"type": "string"
},
"title": {
"required": true,
"type": "string"
},
"yesAsk": {
"required": true,
"type": "number"
},
"yesLabel": {
"type": "string"
}
},
"type": "object"
},
"match": {
"properties": {
"method": {
"enum": [
"exact",
"fuzzy"
],
"required": true,
"type": "string"
},
"score": {
"type": "number"
}
},
"type": "object"
},
"minNoAsk": {
"required": true,
"type": "number"
},
"minNoSource": {
"enum": [
"Polymarket",
"Kalshi"
],
"required": true,
"type": "string"
},
"minYesAsk": {
"required": true,
"type": "number"
},
"minYesSource": {
"enum": [
"Polymarket",
"Kalshi"
],
"required": true,
"type": "string"
},
"polyMarket": {
"description": "Polymarket leg details.",
"properties": {
"daysUntilExpiry": {
"type": "integer"
},
"expiryDate": {
"type": "string"
},
"id": {
"required": true,
"type": "string"
},
"liquidity": {
"type": "number"
},
"noAsk": {
"required": true,
"type": "number"
},
"noLabel": {
"type": "string"
},
"priceSource": {
"enum": [
"clob",
"snapshot"
],
"type": "string"
},
"question": {
"required": true,
"type": "string"
},
"yesAsk": {
"required": true,
"type": "number"
},
"yesLabel": {
"type": "string"
}
},
"type": "object"
},
"priceTimestamp": {
"required": true,
"type": "string"
},
"profit": {
"required": true,
"type": "number"
},
"profitPercentage": {
"required": true,
"type": "number"
},
"totalCost": {
"required": true,
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"opportunityCount": {
"description": "Number of opportunities included in the response.",
"required": true,
"type": "integer"
},
"responseGeneratedAt": {
"description": "ISO8601 timestamp when the response was generated.",
"required": true,
"type": "string"
}
},
"type": "object"
}
}