Search API
Related Questions
Find Related Questions
This endpoint helps you discover questions that are semantically similar to your input text. It uses vector embeddings to find markets with questions that are conceptually related to your query, even if they don’t share the exact same words.
How It Works
The search process follows these steps:
- Your input text is converted to a vector embedding
- The system searches for markets with similar semantic meaning
- Each found question is compared to your input using cosine similarity
- Results are filtered and sorted by similarity score
Query Parameters
- text (required): The input text to find related questions for
- limit (optional): Maximum number of related questions to return (default: 5)
- min_similarity (optional): Minimum similarity threshold between 0 and 1 (default: 0.7)
Response Format
Use Cases
- Question Discovery: Find similar questions that others have already asked
- Market Research: Discover related markets based on your topic of interest
- Content Recommendations: Suggest related questions to users
Example Query
Notes
- The similarity score ranges from 0 to 1, where 1 indicates perfect similarity
- Results are sorted by similarity score in descending order
- Only questions meeting the minimum similarity threshold are returned