# GlassMarkets API - [Introduction](https://docs.glassmarkets.io/index.md): What the GlassMarkets API serves and the conventions every endpoint shares. - [Authentication](https://docs.glassmarkets.io/guides/authentication.md): Log in with your email and password, then send the token on every request. - [Quickstart](https://docs.glassmarkets.io/guides/quickstart.md): Three requests, from login to the daily trading volume of one of your assets. - [Errors](https://docs.glassmarkets.io/guides/errors.md): The status codes the API returns and the shape of each error body. - [Log in](https://docs.glassmarkets.io/api-reference/authentication/log-in.md): Exchanges your email and password for a session token. Send the token as `Authorization: Token ` on every other request. - [Log out](https://docs.glassmarkets.io/api-reference/authentication/log-out.md): Revokes the token that authenticated this request and clears the browser session cookie. Other tokens of the same user stay valid. - [Log in with a passkey](https://docs.glassmarkets.io/api-reference/authentication/log-in-with-a-passkey.md): Completes a passkey login started with `POST /v1/passkeys/login/options/` and returns a session token, like `POST /v1/login/`. - [Start a passkey login](https://docs.glassmarkets.io/api-reference/authentication/start-a-passkey-login.md): Returns the WebAuthn options for logging in with a passkey. Finish with `POST /v1/passkeys/login/`. - [Request a password reset email](https://docs.glassmarkets.io/api-reference/authentication/request-a-password-reset-email.md): Sends a password reset link to the account with this email or username. The response is the same whether or not the account exists. - [Reset a password](https://docs.glassmarkets.io/api-reference/authentication/reset-a-password.md): Sets a new password with the `uidb64` and `token` from a password reset link. Revokes every token of the account. - [Get the current session](https://docs.glassmarkets.io/api-reference/authentication/get-the-current-session.md): Returns the logged-in user and a CSRF token for browser sessions. Returns `401` when the token is missing, expired or revoked, so it also works as a token check. - [Exchange a completed SSO sign-in](https://docs.glassmarkets.io/api-reference/authentication/exchange-a-completed-sso-sign-in.md): Exchanges the one-time code from a completed SSO sign-in for a session. The session is set as an HttpOnly browser cookie, so this endpoint needs a trusted browser origin. - [Start organization SSO](https://docs.glassmarkets.io/api-reference/authentication/start-organization-sso.md): Starts single sign-on for an email address whose organization has an identity provider set up. Returns the provider URL to redirect the browser to. Returns `400` when SSO is not available for the email. - [Complete a two-factor login](https://docs.glassmarkets.io/api-reference/authentication/complete-a-two-factor-login.md): Completes a login that returned `202`: send its `challenge_id` with a code from your authenticator app or a recovery code. Returns a session token, like `POST /v1/login/`. - [List your organizations and assets](https://docs.glassmarkets.io/api-reference/organizations/list-your-organizations-and-assets.md): Returns every organization you belong to and its assets. For each asset it gives your role and the exchanges and pairs we track for it. Use `symbol` as `asset`, the exchange `slug` as `exchange` and an entry of `pairs` as `pair` in other requests. - [List assets and exchanges for RFQs](https://docs.glassmarkets.io/api-reference/rfq/list-assets-and-exchanges-for-rfqs.md): Returns every asset and exchange GlassMarkets tracks, for building an RFQ. Needs no authentication. Returns `503` when the list is temporarily unavailable. - [List RFQs](https://docs.glassmarkets.io/api-reference/rfq/list-rfqs.md): Returns the RFQs you own or are invited to, newest first. Filter by `asset` or `status`. The RFQ owner is the user who created it; GlassMarkets staff can manage every RFQ. Members of an invited market-maker organization see the RFQ once it is no longer a draft. - [Create an RFQ](https://docs.glassmarkets.io/api-reference/rfq/create-an-rfq.md): Creates an RFQ owned by you, as a `draft` (default) or `active`. `asset` must match `token.symbol`. With `client_draft_id`, a repeated request returns your existing RFQ with `200` instead of creating a second one. - [Get an RFQ](https://docs.glassmarkets.io/api-reference/rfq/get-an-rfq.md): Returns one RFQ with the proposals you may see. The RFQ owner is the user who created it; GlassMarkets staff can manage every RFQ. Members of an invited market-maker organization see the RFQ once it is no longer a draft. - [Delete a draft RFQ](https://docs.glassmarkets.io/api-reference/rfq/delete-a-draft-rfq.md): The owner deletes a draft RFQ that has no invited bidders. Any other RFQ returns `409`: archive it instead. - [Update an RFQ](https://docs.glassmarkets.io/api-reference/rfq/update-an-rfq.md): The owner updates some fields of an RFQ. Allowed status changes: `draft` to `active` or `archived`, `active` to `completed` or `archived`, `completed` to `archived`. Archived RFQs cannot change. Once bidders are invited, `asset`, `token`, `target_exchanges` and `template` are fixed: clone the RFQ in… - [Clone an RFQ](https://docs.glassmarkets.io/api-reference/rfq/clone-an-rfq.md): The owner copies an RFQ's requirements into a new draft titled " (Copy)", and invites the market-maker organizations listed in `organizations` (slugs). Each one must be a market maker for the asset. `asset`, if sent, must be the original asset. - [List organizations you can invite](https://docs.glassmarkets.io/api-reference/rfq/list-organizations-you-can-invite.md): The RFQ owner lists the organizations that are market makers for the RFQ's asset, sorted by name. - [Invite a market maker](https://docs.glassmarkets.io/api-reference/rfq/invite-a-market-maker.md): The RFQ owner invites a market-maker organization of the asset (by slug) and gets its new, empty proposal. The RFQ must be `draft` or `active`. Inviting the same organization again returns its existing proposal with `200`. - [Get a proposal](https://docs.glassmarkets.io/api-reference/rfq/get-a-proposal.md): Returns one proposal together with its RFQ. Visible to the RFQ owner and to the invited organization. - [Withdraw an invitation](https://docs.glassmarkets.io/api-reference/rfq/withdraw-an-invitation.md): The RFQ owner deletes a proposal that is still `pending` or `in_progress`. Submitted proposals are kept and return `409`. - [Save a proposal response](https://docs.glassmarkets.io/api-reference/rfq/save-a-proposal-response.md): The invited market maker saves its answers in `response_data`, without submitting them. Send the `version` you last read: if the proposal changed since, the response is `409` with `current_version`. The RFQ must be active and its due date not passed. - [Accept a proposal](https://docs.glassmarkets.io/api-reference/rfq/accept-a-proposal.md): The RFQ owner accepts a submitted proposal. The RFQ must be active. - [Create targets from a proposal](https://docs.glassmarkets.io/api-reference/rfq/create-targets-from-a-proposal.md): The RFQ owner turns an accepted proposal into market-making targets for the market maker. Needs project-owner access to the asset. A repeated call creates nothing and returns the existing `target_ids`. - [Reject a proposal](https://docs.glassmarkets.io/api-reference/rfq/reject-a-proposal.md): The RFQ owner rejects a submitted proposal. The RFQ must be active. - [Submit a proposal](https://docs.glassmarkets.io/api-reference/rfq/submit-a-proposal.md): The invited market maker submits its saved response. The RFQ must be active and its due date not passed. The response must accept or decline every mandate in the RFQ template; otherwise it returns `400`. - [List your passkeys](https://docs.glassmarkets.io/api-reference/account/list-your-passkeys.md): Returns the passkeys registered to the logged-in user. - [Register a passkey](https://docs.glassmarkets.io/api-reference/account/register-a-passkey.md): Completes a passkey registration started with `POST /v1/user/passkeys/options/` and returns the new passkey. - [Delete a passkey](https://docs.glassmarkets.io/api-reference/account/delete-a-passkey.md): Deletes one of your passkeys. Needs your password. Returns `404` when the passkey is not yours or does not exist. - [Start registering a passkey](https://docs.glassmarkets.io/api-reference/account/start-registering-a-passkey.md): Returns the WebAuthn options for registering a new passkey. Needs your password, and your authentication code when two-factor authentication is on. Finish with `POST /v1/user/passkeys/`. - [Change your password](https://docs.glassmarkets.io/api-reference/account/change-your-password.md): Changes the password of the logged-in user. Revokes every token of the account, including the one used for this request. - [Get your two-factor authentication status](https://docs.glassmarkets.io/api-reference/account/get-your-two-factor-authentication-status.md): Returns whether two-factor authentication is on for the logged-in user, and how many recovery codes remain. - [Turn off two-factor authentication](https://docs.glassmarkets.io/api-reference/account/turn-off-two-factor-authentication.md): Turns off two-factor authentication. Needs your password and a current code. - [Start two-factor authentication setup](https://docs.glassmarkets.io/api-reference/account/start-two-factor-authentication-setup.md): Returns a new authenticator secret and its provisioning URI. Needs your password. Finish with `POST /v1/user/totp/setup/`. - [Regenerate recovery codes](https://docs.glassmarkets.io/api-reference/account/regenerate-recovery-codes.md): Replaces your recovery codes with new ones. Needs your password and a current code. The old codes stop working. - [Turn on two-factor authentication](https://docs.glassmarkets.io/api-reference/account/turn-on-two-factor-authentication.md): Confirms the setup with a code from your authenticator app and returns your recovery codes. They are shown only once. - [Rank pairs by market data](https://docs.glassmarkets.io/api-reference/leaderboard/rank-pairs-by-market-data.md): Ranks the active pairs of your organizations' assets over a window by USD volume, price change (percent, first to last 1-minute TWAP), open interest and funding rate for perpetuals, tick size, or bid/ask depth at a level in `bps`. Returns 20 rows per page, sorted by `sort_by`. Filter with `exchanges… - [Rank pairs by market data (JSON body)](https://docs.glassmarkets.io/api-reference/leaderboard/rank-pairs-by-market-data-json-body.md): Same as `GET /v2/leaderboard/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Download a chart as CSV](https://docs.glassmarkets.io/api-reference/market-data/download-a-chart-as-csv.md): Returns the series of one chart as a CSV file. `specific_metric` picks the metric and `group_by` how series are grouped. Every other query parameter goes to the endpoint behind the metric, including the ones it requires such as `interval`, and is validated the same way. Endpoint per metric: - [Get comparables data](https://docs.glassmarkets.io/api-reference/market-data/get-comparables-data.md): Volume, depth, futures and chart data for comparing assets, in one call. `sections` picks `table` (per-pair values for the whole window: `rows`, `volumes`, `depths`, `futures`) and/or `charts` (`mid_prices`, `volumes` and `depths` series at `chart_interval`, depth at `chart_bps`). `coverage` lists t… - [Get comparables data (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-comparables-data-json-body.md): Same as `GET /v2/metrics/comparables/aggregate/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. - [Get order book depth](https://docs.glassmarkets.io/api-reference/market-data/get-order-book-depth.md): Order book depth per pair, averaged over each bucket. For each level in `bps`, `bid_<level>bps` and `ask_<level>bps` are the USD value of orders within that distance of the mid price, and `n_bid_…`/`n_ask_…` the number of orders. Level `0` covers the whole book. Returns one row per exchange pair and… - [Get order book depth (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-order-book-depth-json-body.md): Same as `GET /v2/metrics/depth/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get perpetual futures data](https://docs.glassmarkets.io/api-reference/market-data/get-perpetual-futures-data.md): Perpetual futures data per pair (`_PERP` assets): latest and 8-hour funding rate, open interest in base units and USD, and liquidations. With `interval=a` rows also give the share of hours with positive, neutral and negative funding. Returns one row per exchange pair and time bucket; `interval=a` re… - [Get perpetual futures data (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-perpetual-futures-data-json-body.md): Same as `GET /v2/metrics/futures/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get rolling volume](https://docs.glassmarkets.io/api-reference/market-data/get-rolling-volume.md): Volume in USD, TWAP and VWAP over the trailing 1 minute, 1 hour and 24 hours, per pair and bucket. Only assets of your organizations are allowed; omit `assets` to get all of them. - [Get rolling volume (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-rolling-volume-json-body.md): Same as `GET /v2/metrics/rolling_volume/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get market order slippage](https://docs.glassmarkets.io/api-reference/market-data/get-market-order-slippage.md): Average slippage of a market order of each size in `amount` (USD), in `slippage_buy_<amount>` and `slippage_sell_<amount>`; with `interval=a` the columns are `slippage_buy_at_<amount>` and `slippage_sell_at_<amount>`. A size the book rarely fills has no value. Returns one row per exchange pair and t… - [Get market order slippage (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-market-order-slippage-json-body.md): Same as `GET /v2/metrics/slippage/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get bid-ask spread](https://docs.glassmarkets.io/api-reference/market-data/get-bid-ask-spread.md): Bid-ask spread per pair: `spread_abs` in USD, `spread_bps` in basis points of the mid price, and `mid_price`. Returns one row per exchange pair and time bucket; `interval=a` returns one row per pair for the whole window, without `timestamp`. Set the window with `time_start` and `time_end`, `lookback… - [Get bid-ask spread (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-bid-ask-spread-json-body.md): Same as `GET /v2/metrics/spread/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get a per-pair market summary](https://docs.glassmarkets.io/api-reference/market-data/get-a-per-pair-market-summary.md): One row per pair for the whole window: USD volume, TWAP, VWAP, depth at each level in `bps`, funding rate and open interest for perpetuals, and tick size. `interval` must be `a`. A pair with depth but no volume has `volume` 0. Only assets of your organizations are allowed; omit `assets` to get all o… - [Get a per-pair market summary (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-a-per-pair-market-summary-json-body.md): Same as `GET /v2/metrics/summary/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get tick size in bps](https://docs.glassmarkets.io/api-reference/market-data/get-tick-size-in-bps.md): Venue tick size per pair, in basis points of the price. `tick_bps` is null where no usable price precision applies, and `source_status` says why. Returns one row per exchange pair and time bucket; `interval=a` returns one row per pair for the whole window, without `timestamp`. Set the window with `t… - [Get tick size in bps (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-tick-size-in-bps-json-body.md): Same as `GET /v2/metrics/tick_bps/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get top of book](https://docs.glassmarkets.io/api-reference/market-data/get-top-of-book.md): Best bid and ask price and amount per pair. In a time series each bucket holds the first observation in it. Returns one row per exchange pair and time bucket; `interval=a` returns one row per pair for the whole window, without `timestamp`. Set the window with `time_start` and `time_end`, `lookback`,… - [Get top of book (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-top-of-book-json-body.md): Same as `GET /v2/metrics/top_of_book/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get depth uptime](https://docs.glassmarkets.io/api-reference/market-data/get-depth-uptime.md): Share of minutes in which both the bid and the ask side held more than each `amount` (USD) within each level in `bps` of the mid price, as a percentage from 0 to 100, in columns named `<amount>_at_<level>bps`. Returns one row per exchange pair and time bucket; `interval=a` returns one row per pair f… - [Get depth uptime (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-depth-uptime-json-body.md): Same as `GET /v2/metrics/uptime/depth/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get spread uptime](https://docs.glassmarkets.io/api-reference/market-data/get-spread-uptime.md): Share of minutes in which the spread stayed within each level in `bps`, as a percentage from 0 to 100, in columns named `<level>bps`. Returns one row per exchange pair and time bucket; `interval=a` returns one row per pair for the whole window, without `timestamp`. Set the window with `time_start` a… - [Get spread uptime (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-spread-uptime-json-body.md): Same as `GET /v2/metrics/uptime/spread/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get trading volume](https://docs.glassmarkets.io/api-reference/market-data/get-trading-volume.md): Trading volume per pair in USD, with TWAP and VWAP prices. Returns one row per exchange pair and time bucket; `interval=a` returns one row per pair for the whole window, without `timestamp`. Set the window with `time_start` and `time_end`, `lookback`, or the `market_hours_*` parameters. Only assets… - [Get trading volume (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-trading-volume-json-body.md): Same as `GET /v2/metrics/volume/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. `type` and `filename` stay in the query string. - [Get trading volume by region](https://docs.glassmarkets.io/api-reference/market-data/get-trading-volume-by-region.md): Trading volume split by exchange region. `interval=a` returns an object keyed by asset symbol with per-region totals, shares and the per-exchange breakdown; any other interval returns a list of region volumes per timestamp and asset. Only assets of your organizations are allowed; omit `assets` to ge… - [Get trading volume by region (JSON body)](https://docs.glassmarkets.io/api-reference/market-data/get-trading-volume-by-region-json-body.md): Same as `GET /v2/metrics/volume/regional/`, with the parameters in a JSON body instead of the query string. List parameters accept a JSON array or a comma-separated string. - [List loans](https://docs.glassmarkets.io/api-reference/loans/list-loans.md): Returns token loans on your assets. Market makers see their own organization's loans; project owners see every loan on the assets they own. Only loans running today are returned unless `include_inactive=true`. - [Get market-maker depth coverage](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-depth-coverage.md): Returns the market maker's depth divided by the pair's market-wide depth at each `bps` level, as `bid_<level>bps_coverage` and `ask_<level>bps_coverage` fractions. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain… - [Get market-maker volume coverage](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-volume-coverage.md): Returns the market maker's volume divided by the pair's market-wide volume, as a fraction (0.25 is 25%). It is null when there is no market-wide volume. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain trusted da… - [Get market-maker depth](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-depth.md): Returns market-maker order book depth at each `bps` level, as `bid_<level>bps` and `ask_<level>bps`. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain trusted data. Market makers see their own organization's value… - [Compare trusted and reported values](https://docs.glassmarkets.io/api-reference/market-maker-metrics/compare-trusted-and-reported-values.md): Returns one row per organization, exchange and pair that has trusted data, with trusted volume and depth and, where present, the reported values in `reported_*` fields. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. - [Get market-maker spread](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-spread.md): Returns market-maker spread in bps (basis points) per organization, exchange, pair and bucket. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain trusted data. Market makers see their own organization's values; pro… - [Get the market-maker summary](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-the-market-maker-summary.md): Returns volume, volume coverage, depth and depth coverage per organization, exchange and pair in one response. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain trusted data. Market makers see their own organizati… - [Get market-maker depth uptime](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-depth-uptime.md): Returns daily depth uptime at each `bps` level against the market maker's `mm` depth targets, as a fraction from 0 to 1. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain trusted data. Market makers see their own… - [Rank market makers by target uptime](https://docs.glassmarkets.io/api-reference/market-maker-metrics/rank-market-makers-by-target-uptime.md): Ranks market makers by how many of their active depth and spread targets they hit, weighting each asset by the market maker's volume and depth at 100 bps. The window must be a completed 24 hours on whole hours. `methodology` describes the weighting. - [Get market-maker uptime rollup](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-uptime-rollup.md): Returns overall uptime per market-maker organization in `totals`. Set `mode` and `organization` to also get uptime per exchange and pair in `rows`; `mode=daily` also needs `day`. With the default `depth_interval=1d` a range longer than 366 days is cut to its last 366 days. - [Get market-maker spread uptime](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-spread-uptime.md): Returns daily spread uptime against the market maker's `mm` spread targets, as a fraction from 0 to 1. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain trusted data. Market makers see their own organization's val… - [Get market-maker volume](https://docs.glassmarkets.io/api-reference/market-maker-metrics/get-market-maker-volume.md): Returns market-maker volume per organization, exchange, pair and bucket. Combines reported and trusted values: in each bucket a trusted value replaces the reported one, and `is_trusted` marks rows that contain trusted data. Market makers see their own organization's values; project owners see every… - [Submit reported metrics](https://docs.glassmarkets.io/api-reference/reported-metrics/submit-reported-metrics.md): Endpoint for organizations report metrics. Accepts a list of metrics that span 1-day, 1-hour or 5-minute intervals of data. - [Get reported depth coverage](https://docs.glassmarkets.io/api-reference/reported-metrics/get-reported-depth-coverage.md): Returns the market maker's share of the pair's market-wide depth at each `bps` level, computed from reported depth, in daily buckets, as `bid_<level>bps_coverage` and `ask_<level>bps_coverage`. Market makers see their own organization's values; project owners see every market maker's values for the… - [Get reported volume coverage](https://docs.glassmarkets.io/api-reference/reported-metrics/get-reported-volume-coverage.md): Returns the market maker's share of the pair's market-wide volume, computed from reported volume, in daily buckets. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. With `interval=a` each row covers the whole range and has no… - [Get reported depth](https://docs.glassmarkets.io/api-reference/reported-metrics/get-reported-depth.md): Returns the order book depth market makers reported at each `bps` level, as `bid_<level>bps` and `ask_<level>bps`. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. Reported values exist per 5 minutes, hour and day; other inter… - [Delete reported depth](https://docs.glassmarkets.io/api-reference/reported-metrics/delete-reported-depth.md): Deletes depth your organization reported at the `bps` levels in the range. Needs the market-maker role on every asset in `assets`. `time_start` must be within the last two days. - [Get the reported metrics table](https://docs.glassmarkets.io/api-reference/reported-metrics/get-the-reported-metrics-table.md): Returns one row per organization, exchange and pair with reported volume, spread, depth and coverage over the whole range, plus the values available for filtering in `facets`. Depth levels default to 50, 100 and 200 bps. Market makers see their own organization's values; project owners see every mar… - [Get reported spread](https://docs.glassmarkets.io/api-reference/reported-metrics/get-reported-spread.md): Returns the spread in bps (basis points) market makers reported, per organization, exchange, pair and bucket. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. Reported values exist per 5 minutes, hour and day; other intervals… - [Delete reported spread](https://docs.glassmarkets.io/api-reference/reported-metrics/delete-reported-spread.md): Deletes spread your organization reported in the range. Needs the market-maker role on every asset in `assets`. `time_start` must be within the last two days. - [Get reported depth uptime](https://docs.glassmarkets.io/api-reference/reported-metrics/get-reported-depth-uptime.md): Returns daily depth uptime at each `bps` level computed from reported depth and the market maker's `mm` depth targets, as a fraction from 0 to 1. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. With `interval=a` each row cove… - [Get reported spread uptime](https://docs.glassmarkets.io/api-reference/reported-metrics/get-reported-spread-uptime.md): Returns daily spread uptime computed from reported spread and the market maker's `mm` spread targets, as a fraction from 0 to 1. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. With `interval=a` each row covers the whole rang… - [Get reported volume](https://docs.glassmarkets.io/api-reference/reported-metrics/get-reported-volume.md): Returns the volume market makers reported, per organization, exchange, pair and bucket. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. Reported values exist per 5 minutes, hour and day; other intervals return daily buckets.… - [Delete reported volume](https://docs.glassmarkets.io/api-reference/reported-metrics/delete-reported-volume.md): Deletes volume your organization reported in the range. Needs the market-maker role on every asset in `assets`. `time_start` must be within the last two days. - [List targets](https://docs.glassmarkets.io/api-reference/targets/list-targets.md): Returns the targets you can see. Members see their organization's `gb` (global) targets. Market makers see their own `mm` (market-maker) targets; project owners see every market maker's `mm` targets on the assets they own. Passing `page`, `page_size`, `include_facets` or `facets_only` returns an obj… - [Create, update or delete targets](https://docs.glassmarkets.io/api-reference/targets/create-update-or-delete-targets.md): Applies a batch of `delete` ids, `update` items and `create` items in one transaction and returns the affected ids. Members of an organization can manage its `gb` (global) targets on its assets. Only project owners of an asset, and staff, can manage `mm` (market-maker) targets on it. A single target… - [Delete a target](https://docs.glassmarkets.io/api-reference/targets/delete-a-target.md): Deletes one target. Members of an organization can manage its `gb` (global) targets on its assets. Only project owners of an asset, and staff, can manage `mm` (market-maker) targets on it. Returns 400 when you can't change the target and 404 when it doesn't exist. - [Update a target](https://docs.glassmarkets.io/api-reference/targets/update-a-target.md): Updates one target. Members of an organization can manage its `gb` (global) targets on its assets. Only project owners of an asset, and staff, can manage `mm` (market-maker) targets on it. Returns 400 when you can't change the target and 404 when it doesn't exist. - [Get a target's change history](https://docs.glassmarkets.io/api-reference/targets/get-a-targets-change-history.md): Returns the 100 most recent changes to a target, newest first. It also works for a deleted target you could see. - [Get target compliance](https://docs.glassmarkets.io/api-reference/targets/get-target-compliance.md): Evaluates the `mm` targets you can see per bucket. `passed` says whether the bucket value met the target's effective threshold; trusted values are used where they exist, reported values otherwise. Intervals below a day need a range of one day or less. `passed` is null for volume targets below a dail… - [Preview target changes](https://docs.glassmarkets.io/api-reference/targets/preview-target-changes.md): Shows what saving this complete set of targets for the given scopes would create, update and delete. Nothing is saved. - [Get trusted depth](https://docs.glassmarkets.io/api-reference/trusted-metrics/get-trusted-depth.md): Returns trusted order book depth at each `bps` level, as `bid_<level>bps` and `ask_<level>bps`. Trusted values are measured from the market maker's own exchange accounts instead of being reported by it. Market makers see their own organization's values; project owners see every market maker's values… - [Get trusted spread](https://docs.glassmarkets.io/api-reference/trusted-metrics/get-trusted-spread.md): Returns trusted spread in bps (basis points) per organization, exchange, pair and bucket. Trusted values are measured from the market maker's own exchange accounts instead of being reported by it. Market makers see their own organization's values; project owners see every market maker's values for t… - [Get trusted volume](https://docs.glassmarkets.io/api-reference/trusted-metrics/get-trusted-volume.md): Returns trusted volume per organization, exchange, pair and bucket. Trusted values are measured from the market maker's own exchange accounts instead of being reported by it. Market makers see their own organization's values; project owners see every market maker's values for the assets they own. Wi… ## OpenAPI Specs - [openapi](/openapi.yaml)