Suggest questions as the reader types

Complete what the reader is typing against your trending questions. Built for a question box — call it on each keystroke.

Body·
required
application/json
  • q
    Type: string
    required

    What the reader has typed so far.

  • anonymous_id
    Type: string
  • user_id
    Type: string
Responses
  • application/json
Request Example for post/v1/ask/query_suggestion
curl 'https://api.askmiso.com/v1/ask/query_suggestion?api_key=YOUR_SECRET_TOKEN' \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "q": "interest ra"
}'
{
  "message": "success",
  "data": {
    "took": 3,
    "completions": [
      "interest rate cuts 2026",
      "interest rates and mortgages"
    ]
  }
}