{"openapi":"3.1.0","info":{"title":"Mercado Bitcoin API","version":"1.0.0","description":"Live spot market data from Mercado Bitcoin, Brazil's largest and oldest crypto exchange — served straight from its public API, no key, nothing cached. Get a pair's last price, buy/sell, 24h high/low, open and 24h change (in Brazilian real); read live market depth with the best bid/ask and spread; and list 1,300+ trading pairs. A distinct Brazilian / Latin-American venue with real pricing, separate from other exchange feeds. Pairs are BASE-QUOTE (e.g. BTC-BRL).","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/mercadobitcoin-api","description":"oanor gateway"}],"tags":[{"name":"Mercado Bitcoin"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Mercado Bitcoin"],"summary":"Service metadata and endpoint list","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/orderbook":{"get":{"operationId":"get_v1_orderbook","tags":["Mercado Bitcoin"],"summary":"Live market depth — best bid/ask and spread","description":"","parameters":[{"name":"pair","in":"query","required":true,"description":"Pair BASE-QUOTE","schema":{"type":"string"},"example":"BTC-BRL"},{"name":"limit","in":"query","required":false,"description":"Levels per side 1-100 (default 20)","schema":{"type":"string"},"example":"20"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/symbols":{"get":{"operationId":"get_v1_symbols","tags":["Mercado Bitcoin"],"summary":"List trading pairs","description":"","parameters":[{"name":"quote","in":"query","required":false,"description":"Filter by quote currency e.g. BRL (omit for all)","schema":{"type":"string"},"example":"BRL"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/ticker":{"get":{"operationId":"get_v1_ticker","tags":["Mercado Bitcoin"],"summary":"Ticker for one or more pairs","description":"","parameters":[{"name":"pair","in":"query","required":true,"description":"Pair BASE-QUOTE (comma-separated allowed; or use symbol & quote)","schema":{"type":"string"},"example":"BTC-BRL"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK"},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":3500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":830,"monthly_call_quota":79000,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2210,"monthly_call_quota":412000,"rps_limit":15,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":5300,"monthly_call_quota":2560000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/mercadobitcoin-api"}