Get Related Markets
Get markets related to a specific market based on content similarity
Find Related Markets
This endpoint retrieves markets that are semantically related to a specified market. It uses advanced vector search technology to find markets with similar topics, questions, or outcomes.
How It Works
The API uses two methods to find related markets:
- Vector Similarity: Using Cloudflare Vectorize to find markets with semantically similar questions
- Attribute Matching: Finding markets with matching platforms, categories, or market types
The system automatically falls back to attribute matching if vector search doesn’t return sufficient results.
Response Format
The response includes an array of related markets:
Query Parameters
- limit (optional): Number of related markets to return (default: 5)
Use Cases
- Market Discovery: Help users find related markets they might be interested in
- Cross-platform Analysis: Compare similar markets across different prediction platforms
- Content Recommendations: Provide “You might also like” recommendations
- Research: Identify market clusters around specific topics or events
Example
Finding markets related to a presidential election market:
This might return markets about swing states, vice presidential candidates, or election-related prediction markets from other platforms.
Authorizations
Enter your API key as the bearer token
Path Parameters
Unique identifier for the market
Query Parameters
Number of related markets to return