# API: Get the public key information

**URL:** <https://community.fireblocks.com/t/api-get-the-public-key-information/875>\
**Category:** Support\
**Created:** [April 4, 2024, 3:48pm UTC](https://community.fireblocks.com/t/api-get-the-public-key-information/875 "2024-04-04T15:48:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![drhanlondon](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@drhanlondon](https://community.fireblocks.com/u/drhanlondon)\
**Post date:** [April 4, 2024, 3:48pm UTC](https://community.fireblocks.com/t/api-get-the-public-key-information/875/1 "2024-04-04T15:48:15Z")

</div>

Hello, Support team

I am now using Developer sandbox.

Question 1:  
I would like to know the difference between two APIs below

Get the public key information: [Get the public key information](https://developers.fireblocks.com/reference/get_vault-public-key-info)

Get the public key for a vault account: [Get the public key for a vault account](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-change-addressindex-public-key-info)

Question 2: is API call below disallowed in Sandbox ?

Get the public key information: [Get the public key information](https://developers.fireblocks.com/reference/get_vault-public-key-info)

I got an error message  
{  
“message”: “Unauthorized: Token signed for incorrect url.”,  
“code”: -4  
}

Thanks

---

<div class="post-metadata">

**Author:** ![SlavaSereb](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@SlavaSereb](https://community.fireblocks.com/u/SlavaSereb)\
**Post date:** [April 5, 2024, 11:58am UTC](https://community.fireblocks.com/t/api-get-the-public-key-information/875/2 "2024-04-05T11:58:32Z")

</div>

The main difference for these 2 APIs is:

While [Get the public key for a vault account](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-change-addressindex-public-key-info) provides you with a public key based on a derivation path and algorithm, [Get the public key for a vault account](https://developers.fireblocks.com/reference/get_vault-accounts-vaultaccountid-assetid-change-addressindex-public-key-info) returns a public key for a specific asset in a specific vault.

Basically, the first API can be used for unsupported assets in Fireblocks as you can provide any derivation path and get the relevant public key while the second is only for supported assets.

Re the error you get:  
Can you provide the request data please? I am looking specifically for the query params section.
