Skip to main content
POST
/
correlated-markets
/
query
Find correlated markets by semantic similarity
curl --request POST \
  --url https://api.agg.market/correlated-markets/query \
  --header 'Content-Type: application/json' \
  --header 'x-app-id: <api-key>' \
  --data '
{
  "text": "<string>",
  "limit": 123,
  "includeResolved": true
}
'
{
  "results": [
    {
      "venueMarketId": "<string>",
      "marketQuestion": "<string>",
      "eventTitle": "<string>",
      "score": 123,
      "matchedSignal": {
        "id": "<string>",
        "text": "<string>",
        "domain": "<string>"
      },
      "venue": "<string>"
    }
  ]
}

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Body

application/json
text
string
required
limit
number
includeResolved
boolean

Response

200

results
object[]
required