---
title: "Get attempt of correction of a misspelled term"
method: GET
path: "/correction_search"
tags: ["Product List Page"]
---

# Get attempt of correction of a misspelled term

`GET /correction_search`

Tries to correct a misspelled term from the search.

## Query parameters

- `query` string
- `locale` string, nullable

## Response `200`

OK

- Correction
  - `correction` object — Object that indicates if the term was misspelled and suggests a possible correction.
    - `correction` boolean — Whether the API was able to suggest a correction (`true`) or not (`false`).
    - `highlighted` string — The same as `text`, but it highlights the corrected word. Useful when there is more than one word.
    - `misspelled` boolean — Whether the term was misspelled (`true`) or not (`false`).
    - `text` string — The corrected term. If the API was not able to correct the term, it will show the original search term.

---

[API](https://skmtc.net/vtex/apis/intelligent-search-api.md) · [All operations](https://skmtc.net/vtex/apis/intelligent-search-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vtex/intelligent-search-api/versions/a61de494fbe4/schema)
