v2

latestOpenAPI 3.1.0CC02026-07-264460181.4 KB
Languages

List languages

Get a list of languages used in scholarly works.

get/languages

Query parameters

filterstring

Filter languages. Examples: id:en (English), works_count:>100000 See all Language fields.

sortstring

Sort by: works_count, cited_by_count. Prefix with - for descending. See all Language fields.

searchstring

Full-text search across titles, abstracts, and other text fields. Example: search=machine learning

per_pageinteger

Number of results per page (1-100, default 25)

pageinteger

Page number for pagination. Use cursor for deep pagination beyond 10,000 results.

cursorstring

Cursor for deep pagination. Use cursor=* to start, then use the next_cursor from the response.

sampleinteger

Return a random sample of N results (max 10,000). Cannot be used with sort or page.

selectstring

Comma-separated list of fields to return. Reduces response size. Example: select=id,display_name,cited_by_count

group_bystring

Group results by a field and return counts. Available fields vary by entity type. See all Language fields.

api_keystring required

Your OpenAlex API key (required). Get a free key at https://openalex.org/settings/api

Response

Successful response

Example response

{
  "results": [
    {
      "id": "https://openalex.org/languages/en"
    }
  ]
}