FROM CACHE - en_header

Need help getting Shopify logo URL

Shopify Partner
908 87 241


I am able to get the logo URL from Assets API. however it is in format" shopify://shop_images/test_shopify_logo.png"

How do I reference it to cdn to get the accessible image URL.

flareAI: Generate Sales from Google Search, on Autopilot
- Was my reply helpful? Click Like to let me know!
- Problem solved? ✓ Mark it as an Accepted Solution
Stop missing out on Google
Replies 4 (4)
Shopify Staff
Shopify Staff
297 31 88

Hey there,


What exactly is the API call that you're making?


Our Assets API returns the `public_url` for each asset associated with the theme.  You would just have to make a GET request as described in the docs:


GET /admin/api/2019-04/themes/#{theme_id}/assets.json

Let me know if that ends up providing you with the CDN URLs you're looking for!

9 1 5

Quick question regarding this topic,


There seems to be a method from this thread,


However I still can't get the public url.



also does not seem to have the logo listed.

Shopify Partner
2 0 0
I think the actual answer is you can't. If you are trying to get the URL for an image that's part of the theme, then it will be available from the Assets API call. However, if you're wanting the logo_url (which is a file uploaded to the Shop) you can't exactly get this from the API. As far as I can tell, there is no way of getting uploaded files via a File API of sorts.
23 1 19

I have the exact same problem as the OP and see this is marked as the correct answer, but really you did not answer OP's question.


The first step works, retreiving the following URL

GET https://<STORE_NAME><THEME_ID>/assets.json?asset[key]=config/settings_da...

produces a json output containing a reference to the image in question;

 "logo": "shopify:\/\/shop_images\/a403eac45598213843f12eb307dce365.jpg"

 But how can I then "use it to reference with the Shopify CDN."?