Translations:API:FAQ/12/en

Pass $formatcode in the query string. See the list of output formats for more information. Note that effort is underway to remove all output formats except JSON, so try to use JSON whenever possible.