Asset in Api is not loading

When i try fetch api,version,filename,description&search=uikit&page_limit=20&_=1582021380803

asset is getting null.

Hi @Taussef_Neki
I think CDNJS did a API change (
In the docs I found assets (only available on /libraries/:library) but it isn’t documented very clearly and some examples still include the assets field.

This is correct :slight_smile:

We changed how the API works in that /libraries is now powered directly by Algolia, so assets is no longer available there (returning this for every library in the results was consuming huge amounts of resources on our end).

If you need assets, you should request them for a specific library by hitting /libraries/:library!

I will try to make a PR this weekend with API doc changes to avoid this confusion in the future.

1 Like