I can get quote from ethereum mainnet using this GET api call, the token are WETH and DAI


If I modify the contract addresses for WETH and DAI on Polygon chain


I get an error, I have played around with sellAmount, it does not help

    "code": 100,
    "reason": "Validation Failed",
    "validationErrors": [
            "field": "sellAmount",
            "code": 1004,
            "reason": "INSUFFICIENT_ASSET_LIQUIDITY"

This blogpost also confirms that 0x does support Polygon. So what am I missing from the API call?

1 Answer 1


Found it

Prefix the chain name to the domain, in this case https://polygon.api.0x.org/

So this query will become


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.