I am trying to get the metadata (such as organization name, logo) of asset issuers in the Stellar network.

What API should I use that could possibly contain this information when I pass the Public Key, I can't find such API in stellar labaratory?

1 Answer 1


from stellar docs metadata is attached to the issuer account. To retrieve this info you can use the following api request


where issuer is the issuer's public key and metadata are the data entry in the ouput.

Or with stellar-sdk in javascript

const server = new StellarSdk.Server("https://horizon.stellar.org/");
const account = await server.loadAccount(issuerPublicKey);
  • Thanks for the response. What could be the curl request alternative for the above code? In the metadata above does it include the image of the asset issued?
    – Benji
    Commented Apr 11, 2022 at 15:50
  • @Benji all metadata are stored as a (key, value) pair. With the code above you get a JSON of type {key1: value1, key2: value2, .... keyN: valueN} where value are base64 encoded (you need to decode to binary format before using that values). Anyway I suppose you are trying to get an NFT image. In this case usally the image is stored as an ipfs link or ipfs CID. So once you have the ipfs link you can download the image. For a curl example see my edit. Commented Apr 11, 2022 at 19:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.