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
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:Authorizations
Enter your API key as the bearer token
Path Parameters
Unique identifier for the market
Query Parameters
Number of related markets to return, default is 5 results
Response
Related markets