{
  "x402Version": 2,
  "id": 40025,
  "slug": "40025",
  "resource": "https://api.seerium.xyz/v1/opportunities/ranked",
  "description": "Ranked opportunities API and market signals API for agents. Ranks Polymarket prediction market opportunities and Dex signals by budget, liquidity, spread, horizon, and risk.",
  "type": "http",
  "resourceType": "Agent Service",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "100000",
      "amountUsd": 0.1,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "allowShort": true,
            "limit": 3,
            "riskProfile": "balanced",
            "source": "all"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "criteria": {
                "allowShort": true,
                "budgetUsd": null,
                "category": null,
                "horizonHours": null,
                "limit": 3,
                "maxSpread": null,
                "minEdge": null,
                "minLiquidity": null,
                "riskProfile": "balanced",
                "source": "all"
              },
              "returned": 1,
              "rows": [
                {
                  "avgAgentConfidence": 72,
                  "description": "Strategy-derived opportunity from cached market snapshots.",
                  "edge": 0.035,
                  "estimatedNotionalUsd": 480,
                  "fit": {
                    "budgetOk": true,
                    "horizonOk": true,
                    "liquidityOk": true,
                    "spreadOk": true
                  },
                  "horizonHours": 48.2,
                  "legs": [
                    {
                      "marketSlug": "us-x-iran-permanent-peace-deal-by-may-31-2026",
                      "outcome": "Yes",
                      "price": 0.49,
                      "reason": "spread and liquidity screen passed",
                      "side": "BUY",
                      "size": 500,
                      "tokenId": "poly_yes_token"
                    }
                  ],
                  "maxLegSpread": 0.02,
                  "minLiquidity": 54000,
                  "rank": 1,
                  "reasons": [
                    "edge=0.035",
                    "score=81.4",
                    "avgAgentConfidence=72"
                  ],
                  "requiresShort": false,
                  "riskLevel": "medium",
                  "score": 81.4,
                  "source": "prediction",
                  "strategy": "mispricing_spread"
                }
              ],
              "totalCandidates": 42,
              "warnings": []
            },
            "meta": {
              "freshnessMs": 30000,
              "generatedAt": "2026-03-25T12:00:00.000Z",
              "requestId": "req_example_123",
              "updatedAt": "2026-03-25T11:59:30.000Z"
            },
            "product": {
              "accepts": [
                {
                  "network": "eip155:8453",
                  "payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
                  "price": "$0.1000",
                  "scheme": "exact"
                },
                {
                  "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
                  "payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
                  "price": "$0.1000",
                  "scheme": "exact"
                }
              ],
              "id": "ranked-opportunities",
              "method": "POST",
              "name": "Ranked Market Opportunities API",
              "networks": [
                "eip155:8453",
                "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
              ],
              "path": "/v1/opportunities/ranked",
              "price": "$0.1000"
            },
            "service": "seerium-x402-api"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "allowShort": {
                    "description": "Optional flag to include opportunities requiring short exposure.",
                    "type": "boolean"
                  },
                  "budgetUsd": {
                    "description": "Optional maximum notional budget in USD.",
                    "minimum": 1,
                    "type": "number"
                  },
                  "category": {
                    "description": "Optional text filter over strategy, market question, event metadata, or theme.",
                    "type": "string"
                  },
                  "horizonHours": {
                    "description": "Optional maximum hours to market close.",
                    "minimum": 0,
                    "type": "number"
                  },
                  "limit": {
                    "description": "Optional maximum ranked opportunities to return. Defaults to 25.",
                    "minimum": 1,
                    "type": "number"
                  },
                  "maxSpread": {
                    "description": "Optional maximum acceptable order book spread.",
                    "minimum": 0,
                    "type": "number"
                  },
                  "minEdge": {
                    "description": "Optional minimum opportunity edge as a decimal or percent-style value.",
                    "type": "number"
                  },
                  "minLiquidity": {
                    "description": "Optional minimum market or leg liquidity in USD.",
                    "minimum": 0,
                    "type": "number"
                  },
                  "riskProfile": {
                    "description": "Optional risk profile used to rank opportunities. Defaults to balanced.",
                    "enum": [
                      "conservative",
                      "balanced",
                      "aggressive"
                    ],
                    "type": "string"
                  },
                  "source": {
                    "description": "Optional opportunity source: Polymarket prediction markets, Dex markets, or all. Defaults to all.",
                    "enum": [
                      "all",
                      "prediction",
                      "dex"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.seerium.xyz",
  "lastUpdated": "2026-10-08T05:38:01.341Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T05:38:01.198Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "allowShort": true,
              "limit": 3,
              "riskProfile": "balanced",
              "source": "all"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "criteria": {
                  "allowShort": true,
                  "budgetUsd": null,
                  "category": null,
                  "horizonHours": null,
                  "limit": 3,
                  "maxSpread": null,
                  "minEdge": null,
                  "minLiquidity": null,
                  "riskProfile": "balanced",
                  "source": "all"
                },
                "returned": 1,
                "rows": [
                  {
                    "avgAgentConfidence": 72,
                    "description": "Strategy-derived opportunity from cached market snapshots.",
                    "edge": 0.035,
                    "estimatedNotionalUsd": 480,
                    "fit": {
                      "budgetOk": true,
                      "horizonOk": true,
                      "liquidityOk": true,
                      "spreadOk": true
                    },
                    "horizonHours": 48.2,
                    "legs": [
                      {
                        "marketSlug": "us-x-iran-permanent-peace-deal-by-may-31-2026",
                        "outcome": "Yes",
                        "price": 0.49,
                        "reason": "spread and liquidity screen passed",
                        "side": "BUY",
                        "size": 500,
                        "tokenId": "poly_yes_token"
                      }
                    ],
                    "maxLegSpread": 0.02,
                    "minLiquidity": 54000,
                    "rank": 1,
                    "reasons": [
                      "edge=0.035",
                      "score=81.4",
                      "avgAgentConfidence=72"
                    ],
                    "requiresShort": false,
                    "riskLevel": "medium",
                    "score": 81.4,
                    "source": "prediction",
                    "strategy": "mispricing_spread"
                  }
                ],
                "totalCandidates": 42,
                "warnings": []
              },
              "meta": {
                "freshnessMs": 30000,
                "generatedAt": "2026-03-25T12:00:00.000Z",
                "requestId": "req_example_123",
                "updatedAt": "2026-03-25T11:59:30.000Z"
              },
              "product": {
                "accepts": [
                  {
                    "network": "eip155:8453",
                    "payTo": "0x81832eEDe3a4ad96CB3D7cA09977636D912fd3D5",
                    "price": "$0.1000",
                    "scheme": "exact"
                  },
                  {
                    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
                    "payTo": "2h752kAbb9z1jpdSzqMEYg9JHv6TPJ6T2BfAJMyjLFtZ",
                    "price": "$0.1000",
                    "scheme": "exact"
                  }
                ],
                "id": "ranked-opportunities",
                "method": "POST",
                "name": "Ranked Market Opportunities API",
                "networks": [
                  "eip155:8453",
                  "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
                ],
                "path": "/v1/opportunities/ranked",
                "price": "$0.1000"
              },
              "service": "seerium-x402-api"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "allowShort": {
                      "description": "Optional flag to include opportunities requiring short exposure.",
                      "type": "boolean"
                    },
                    "budgetUsd": {
                      "description": "Optional maximum notional budget in USD.",
                      "minimum": 1,
                      "type": "number"
                    },
                    "category": {
                      "description": "Optional text filter over strategy, market question, event metadata, or theme.",
                      "type": "string"
                    },
                    "horizonHours": {
                      "description": "Optional maximum hours to market close.",
                      "minimum": 0,
                      "type": "number"
                    },
                    "limit": {
                      "description": "Optional maximum ranked opportunities to return. Defaults to 25.",
                      "minimum": 1,
                      "type": "number"
                    },
                    "maxSpread": {
                      "description": "Optional maximum acceptable order book spread.",
                      "minimum": 0,
                      "type": "number"
                    },
                    "minEdge": {
                      "description": "Optional minimum opportunity edge as a decimal or percent-style value.",
                      "type": "number"
                    },
                    "minLiquidity": {
                      "description": "Optional minimum market or leg liquidity in USD.",
                      "minimum": 0,
                      "type": "number"
                    },
                    "riskProfile": {
                      "description": "Optional risk profile used to rank opportunities. Defaults to balanced.",
                      "enum": [
                        "conservative",
                        "balanced",
                        "aggressive"
                      ],
                      "type": "string"
                    },
                    "source": {
                      "description": "Optional opportunity source: Polymarket prediction markets, Dex markets, or all. Defaults to all.",
                      "enum": [
                        "all",
                        "prediction",
                        "dex"
                      ],
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.seerium.xyz",
    "manifest_name": "api.seerium.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}