Learning Assets by Locale and Type

GET https://api.linkedin.com/v2/learningAssets?q=localeAndType&sourceLocale.language=en&sourceLocale.country=US&expandDepth=1&includeRetired=false&start=1000&count=20&assetType=COURSE

To retrieve a page of learning assets, given some criteria, issue a GET call to the following endpoint: GET https://api.linkedin.com/v2/learningAssets?q=localeAndType

Documentation: https://docs.microsoft.com/en-us/linkedin/learning/integrations/locale-and-type-api#learningassets-localeandtype-finder

Access to LinkedIn Learning APIs is available to members of our Partner Program and organizations that have purchased LinkedIn Learning site licenses.

Request Params

KeyDatatypeRequiredDescription
qstringThe value of this parameter should always be: localeAndType.
sourceLocale.languagestringThe locale language of the learning assets. The value of this parameter should be de, en, es, fr, or ja. These values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", and "ja_JP".
sourceLocale.countrystringThe locale country of the learning assets. The value of this parameter should be DE, US, ES, FR, or JP. These values correspond to the locales "de_DE", "en_US", "es_ES", "fr_FR", and "ja_JP".
expandDepthnumberThe number of levels in the learning asset hierarchy to include asset details. This parameter is optional; please see the Specifying the level of asset details section for an explanation with examples.
includeRetiredbooleanWhether to include retired learning assets. The value of this parameter should be true or false.
startnumberThe start index of learning assets for the page.
countnumberThe number of learning assets to include in the page. Please choose a reasonable value if overriding the default; the API will return an error if the requested page exceeds the 2 MB response size limit of the framework.
assetTypestring

HEADERS

KeyDatatypeRequiredDescription
refererstring

RESPONSES

status: OK

"{\n  \"elements\": [\n    {\n      \"urn\": \"urn:li:lyndaCourse:110715\",\n      \"contents\": [\n        {\n          \"asset\": {\n            \"urn\": \"urn:li:lyndaChapter:(urn:li:lyndaCourse:110715,114477)\",\n            \"contents\": [\n              {\n                \"asset\": {\n                  \"urn\": \"urn:li:lyndaVideo:(urn:li:lyndaCourse:110715,114478)\",\n                  \"contents\": [],\n                  \"type\": \"VIDEO\",\n                  \"title\": {\n                    \"locale\": {\n                      \"country\": \"US\",\n                      \"language\": \"en\"\n                    },\n                    \"value\": \"Welcome\"\n                  }\n                }\n              },\n    …\n  ],\n  \"paging\": {\n    \"total\": 5810,\n    \"count\": 20,\n    \"start\": 1000,\n    \"links\": [\n      {\n        \"rel\": \"prev\",\n        \"href\":\n\"/v2/learningAssets?assetType=COURSE\u0026count=20\u0026expandDepth=1\u0026includeRetired=false\u0026q=localeAndType\u0026sourceLocale.country=US\u0026sourceLocale.language=en\u0026start=980\",\n        \"type\": \"application/json\"\n      },\n      {\n        \"rel\": \"next\",\n        \"href\":\n\"/v2/learningAssets?assetType=COURSE\u0026count=20\u0026expandDepth=1\u0026includeRetired=false\u0026q=localeAndType\u0026sourceLocale.country=US\u0026sourceLocale.language=en\u0026start=1020\",\n        \"type\": \"application/json\"\n      }\n    ]\n  }\n}"