unisat-wallet / dev-support

14 stars 11 forks source link

403 Forbidden error #42

Closed GiantDole closed 2 weeks ago

GiantDole commented 2 weeks ago

Hey everyone, I got a free API key from the developer.unisat.io page to test things out with runes. However, any API request to even basic endpoints fails with a 403 Forbidden error. Could anyone help with this?

Thanks!

huanniangstudio commented 2 weeks ago

You can test your key on this page => https://open-api.unisat.io/swagger.html

image

Please note the way to use the KEY. You need to set Authorization: Bearer YOUR-API-KEY in the request header.