# Market Maker API

### Base URL

The base URL for all the API endpoints is **<https://api.vela.exchange/market-maker>**.

### API Endpoints

{% openapi src="<https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260>" path="/market-maker/vault\_exposure/{chainId}/{account}" method="get" %}
[openapi.json](https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media\&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260)
{% endopenapi %}

{% openapi src="<https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260>" path="/market-maker/asset\_oi/{chainId}/{asset}" method="get" %}
[openapi.json](https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media\&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260)
{% endopenapi %}

{% openapi src="<https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260>" path="/market-maker/upnl/{chainId}/{asset}" method="get" %}
[openapi.json](https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media\&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260)
{% endopenapi %}

{% openapi src="<https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260>" path="/market-maker/open\_positions/{chainId}/{account}" method="get" %}
[openapi.json](https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media\&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260)
{% endopenapi %}

{% openapi src="<https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260>" path="/market-maker/open\_orders/{chainId}/{account}" method="get" %}
[openapi.json](https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media\&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260)
{% endopenapi %}

{% openapi src="<https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260>" path="/market-maker/trade\_history/{chainId}/{account}" method="get" %}
[openapi.json](https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media\&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260)
{% endopenapi %}

{% openapi src="<https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260>" path="/market-maker/fundingrate/{chainId}" method="get" %}
[openapi.json](https://1356357463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrN46BgyysObtNusDYaGn%2Fuploads%2FHE2hZdtfivubljzv2V3E%2Fopenapi.json?alt=media\&token=5c3912ef-95b1-4fbf-8284-61dc4dfc3260)
{% endopenapi %}
