The AutoComplete API allows you to suggest as-you-type completion for users. The API takes a prefix and some optional parameters and returns a list of suggestions ordered by probability. The api might also suggest misspellings if the prefix is likely misspelt. The probability is based on occurrences of words and phrases in Wikipedia.