Skip to main content
POST
/
search
Search by keyphrases
curl --request POST \
  --url https://api.nevua.markets/search \
  --header 'Content-Type: application/json' \
  --data '
{
  "keyphrases": [
    {
      "text": "will trump",
      "include": true
    }
  ],
  "searchMatchOperator": "OR",
  "partial": false
}
'
[
  {
    "id": "<string>",
    "title": "<string>",
    "slug": "<string>",
    "image": "<string>",
    "type": "event",
    "markets": [
      {
        "id": "<string>",
        "image": "<string>",
        "question": "<string>",
        "outcomes": "<string>",
        "outcomePrices": "<string>",
        "nevuaSVGLink": "<string>"
      }
    ]
  }
]

Body

application/json
keyphrases
object[]
required
searchMatchOperator
enum<string>
required
Available options:
AND,
OR
partial
boolean
required

Response

Successful search response

id
string
required

The event ID

title
string
required

The event title

slug
string
required

The event slug

image
string
required

The event image

type
enum<string>
required

The event type

Available options:
event,
market
markets
object[]
required

The markets associated with the event