# Best price

## Get the best price available by symbol

> Returns the Global Best Bid, Offer, and Mid (GBBO) price

```json
{"openapi":"3.0.3","info":{"title":"Aquanow CAMS REST API","version":"1.0"},"servers":[{"url":"https://cams.aquanow.com/api","description":"production"},{"url":"http://localhost:3001/api","description":"local"},{"url":"https://cams.dev.aquanow.com/api","description":"dev"},{"url":"https://cams.staging.aquanow.com/api","description":"staging"},{"url":"https://cams.cert.aquanow.com/api","description":"cert"},{"url":"https://marketdata.aquanow.com","description":"production market data"},{"url":"https://marketdata.staging.aquanow.com","description":"staging market data"},{"url":"https://marketdata.dev.aquanow.com","description":"dev market data"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer"}},"responses":{"400":{"description":"Validation Error"},"401":{"description":"Unauthorized"},"403":{"description":"Insufficient Privileges"},"4XX":{"description":"Client error"},"5XX":{"description":"Server error"}}},"paths":{"/v2/gbbo":{"get":{"summary":"Get the best price available by symbol","description":"Returns the Global Best Bid, Offer, and Mid (GBBO) price","tags":["Market Data"],"parameters":[{"name":"symbol","in":"query","required":true,"schema":{"type":"string"},"description":"e.g., `BTC-USD` Currency pair or `ALL` for all symbols"},{"name":"precision","in":"query","required":false,"schema":{"type":"integer","format":"int64"},"description":"e.g., `2`\nPrecision level"}],"responses":{"200":{"description":"Returns a MarketDataObject.","content":{"application/json":{"schema":{"type":"object","properties":{"dataType":{"type":"string","description":"Data type","enum":["aggBBO"]},"lastUpdated":{"type":"integer","format":"int64","description":"Time in epoch milliseconds when this record was updated."},"symbol":{"type":"string","description":"Currency"},"precisions":{"type":"array","description":"Precision level","items":{"type":"integer"}},"bestBid":{"type":"number","format":"double"},"bestAsk":{"type":"number","format":"double"},"spread":{"type":"number","format":"double"},"midPrice":{"type":"number","format":"double"}},"required":["dataType","lastUpdated","symbol","precisions","bestBid","bestAsk","spread","midPrice"]}}}},"400":{"$ref":"#/components/responses/400"},"401":{"$ref":"#/components/responses/401"},"403":{"$ref":"#/components/responses/403"},"4XX":{"$ref":"#/components/responses/4XX"},"5XX":{"$ref":"#/components/responses/5XX"}},"operationId":"GetBestPrice"}}}}
```
