Other

List the languages accessible to requesting (authenticated) user.

Search can be made with q parameter. By default, search for the term in language names or language codes.

Examples:

  curl -X GET https://kf.kobotoolbox.org/api/v2/languages/?q=fr

Complex searches can be done on other fields, such as transcription_services and translation_services.

Examples:

  curl -X GET https://kf.kobotoolbox.org/api/v2/languages/?q=transcription_services__code:goog AND translation_services__code:goog

Results are order by featured first (descending order), then by their name.

get/api/v2/languages/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Query parameters

limitinteger

Number of results to return per page. Use with start.

offsetinteger

Deprecated alias of start.

qstring

Search languages by name or code

startinteger

The initial index from which to return the results. Use with limit.

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "https://kf.kobotoolbox.org/api-endpoint/?start=400&limit=100",
  "previous": "https://kf.kobotoolbox.org/api-endpoint/?start=200&limit=100",
  "results": [
    {
      "url": "https://kf.kobotoolbox.org/api/v2/language/en/"
    }
  ]
}

Changes