opensea-js icon indicating copy to clipboard operation
opensea-js copied to clipboard

CORS issue when retrieving offers

Open plondon opened this issue 4 years ago • 1 comments

Clients can no longer retrieve offers from opensea's API.

https://api.opensea.io/v2/orders/ethereum/seaport/offers?asset_contract_address=0xbce3781ae7ca1a5e050bd9c4c77369867ebc307e&token_ids=4911

Despite the api being open and not requiring an API key to use, the request from another domain is blocked by CORS.

Our wallet needs to fetch offers so that users can Accept and Cancel offers.

plondon avatar Jun 23 '22 17:06 plondon

hey @plondon thanks for pointing this out! pushed a fix to prod, should be resolved now.

cterech avatar Jun 23 '22 20:06 cterech