{"uid":"cap_cD-mJiHODrYfX8CFFJ-y7","slug":"laevitas-macro-summary-51e94df1","name":"Laevitas Macro Summary","description":"Professional market data API for crypto derivatives, spot markets, prediction markets, Hyperliquid HyperCore data, proprietary volatility surfaces, and analytics.\n\n## Authentication\n\nUse an API key for authenticated REST requests:\n\n```http\nX-API-Key: your-api-key-here\n```\n\nData and history endpoints also accept x402 without an API key: 1, 5 or 10 credits ($0.001 each) for data up to 1 year, 1–3 years or older.\n\n**Subscriptions with USDC:** Premium and Enterprise can be purchased on Base or Solana for a month, a quarter, six months or a year. Access is prepaid, with no automatic renewal. [Buy a subscription](https://v3.laevitas.ch/profile/subscription/wallet) or read the [USDC subscription guide](/x402#subscriptions).\n\nThe subscription belongs to your signed-in Laevitas account; wallet sign-in does not require an email. Enterprise users generate an API key in V3 after activation. Plan and billing-period limits still apply. Subscription purchases are separate from API credit bundles.\n\nFor Claude MCP, add `https://apiv2.laevitas.ch/api/v1/mcp`, select **Sign in now → Register automatically**\nwith no custom headers, and authorize with your API key on the Laevitas page.\nDo not enter a client ID or secret manually. All OAuth clients require PKCE S256.\nConnection guide: [MCP setup](/mcp). CIMD / published client identity is not supported.\n\n| Resource | Path |\n| --- | --- |\n| OpenAPI JSON | `GET /openapi.json` |\n| x402 discovery | `GET /.well-known/x402` |\n| Changelog | `GET /api/v1/changelog` |\n| WebSocket docs | `GET /websocket` |\n\n## REST Surfaces\n\n| Surface | Examples |\n| --- | --- |\n| Instruments | Cross-market contract reference data |\n| Futures | OHLCVT, trades, tickers, orderbook, liquidations, carry |\n| Perpetuals | OHLCVT, trades, funding, open interest, orderbook, liquidations |\n| Options | OHLCVT, trades, Greeks, volatility, flow, dealer GEX |\n| Options Backtests | Strategy templates, asynchronous submission, status, combined results, cancellation |\n| Vol Surface | Proprietary surface snapshots, slices, strikes, term structure, risk |\n| Spot | OHLCVT, ticker, trades, volume, L2 orderbook, snapshots |\n| Predictions | Polymarket instruments, categories, trades, ticker history |\n| Hyperliquid - HyperCore | Node-derived fills, liquidations, positions, funding, TWAPs, resting orders, L2 books |\n| Analytics | Realized volatility and derived metrics |\n\n## Pagination\n\nBacktests are asynchronous jobs, not paginated market-data queries. Start with\n`GET /api/v1/options/backtests/strategies`, submit with `POST /api/v1/options/backtests`,\nthen poll `/{id}` and retrieve `/{id}/result`. These responses have no data/meta wrapper.\n\nPaginated endpoints return the cursor at `meta.next_cursor`. Pass that value back as the `cursor` query parameter to fetch the next page.\n\n## WebSocket Streaming\n\nReal-time streams are documented at `/websocket`.\n\n| Data | Channel pattern |\n| --- | --- |\n| Trades | `trades.{market}.{exchange}.{instrument}` |\n| OHLC ticker | `ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe}` |\n| OHLCVT | `ohlc.vt.{market}.{exchange}.{instrument}.{timeframe}` |\n\nVariables: `market` is one of `perpetuals`, `futures`, `options`, or `spot`; `timeframe` is one of `1m`, `5m`, `15m`, `1h`, `4h`, or `1d`.\n\n## Quick Start\n\n```bash\ncurl \"https://apiv2.laevitas.ch/api/v1/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL\" \\\n  -H \"X-API-Key: your-api-key-here\"\n```","url":"https://apiv2.laevitas.ch/api/v1/macro/summary?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{"end":{"type":"string"},"limit":{"type":"integer","maximum":1000,"minimum":1},"start":{"type":"string"},"cursor":{"type":"string"},"exchange":{"type":"string"},"resolution":{"enum":["1m","5m","15m","1h","4h","1d"],"type":"string"},"instrument_name":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"success":true}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"end":"2024-12-24T23:59:59Z","limit":500,"start":"2024-12-17T00:00:00Z","exchange":"deribit","resolution":"1h","instrument_name":"BTC-PERPETUAL"}}},"response":{"data":[{"top":[{"exchange":"binance","last_close":190.26,"sub_exchange":"","base_currency":"SPCX","volume_24h_usd":3525270846.6066036,"instrument_name":"SPCXUSDT"},{"exchange":"okx","last_close":190.63,"sub_exchange":"","base_currency":"SPCX","volume_24h_usd":1226259762.1624005,"instrument_name":"SPCX-USDT-SWAP"},{"exchange":"binance","last_close":1086.32,"sub_exchange":"","base_currency":"MU","volume_24h_usd":821045186.7974606,"instrument_name":"MUUSDT"},{"exchange":"binance","last_close":2030.63,"sub_exchange":"","base_currency":"SNDK","volume_24h_usd":712539788.8165046,"instrument_name":"SNDKUSDT"},{"exchange":"binance","last_close":251.33,"sub_exchange":"","base_currency":"SOXL","volume_24h_usd":690019206.025579,"instrument_name":"SOXLUSDT"},{"exchange":"binance","last_close":128.73,"sub_exchange":"","base_currency":"INTC","volume_24h_usd":280237238.6038761,"instrument_name":"INTCUSDT"},{"exchange":"binance","last_close":297.73,"sub_exchange":"","base_currency":"MRVL","volume_24h_usd":242365992.83679506,"instrument_name":"MRVLUSDT"},{"exchange":"okx","last_close":1086.98,"sub_exchange":"","base_currency":"MU","volume_24h_usd":203230469.9075999,"instrument_name":"MU-USDT-SWAP"},{"exchange":"hyperliquid","last_close":1086,"sub_exchange":"xyz","base_currency":"MU","volume_24h_usd":181164118.3383,"instrument_name":"xyz:MU-USD"},{"exchange":"binance","last_close":81.21,"sub_exchange":"","base_currency":"CRCL","volume_24h_usd":168355786.8548466,"instrument_name":"CRCLUSDT"}],"asset_class":"equity"},{"top":[{"exchange":"binance","last_close":4308.87,"sub_exchange":"","base_currency":"XAU","volume_24h_usd":1791293264.3896606,"instrument_name":"XAUUSDT"},{"exchange":"binance","last_close":68.9,"sub_exchange":"","base_currency":"XAG","volume_24h_usd":1166027242.4915428,"instrument_name":"XAGUSDT"},{"exchange":"binance","last_close":73.7,"sub_exchange":"","base_currency":"CL","volume_24h_usd":660180339.1186439,"instrument_name":"CLUSDT"},{"exchange":"okx","last_close":4309.2,"sub_exchange":"","base_currency":"XAU","volume_24h_usd":326510426.4302,"instrument_name":"XAU-USDT-SWAP"},{"exchange":"hyperliquid","last_close":73.674,"sub_exchange":"xyz","base_currency":"CL","volume_24h_usd":290665873.23252505,"instrument_name":"xyz:CL-USD"},{"exchange":"binance","last_close":77.2,"sub_exchange":"","base_currency":"BZ","volume_24h_usd":237755497.34410703,"instrument_name":"BZUSDT"},{"exchange":"hyperliquid","last_close":77.237,"sub_exchange":"xyz","base_currency":"BRENTOIL","volume_24h_usd":151976727.80100003,"instrument_name":"xyz:BRENTOIL-USD"},{"exchange":"hyperliquid","last_close":68.883,"sub_exchange":"xyz","base_currency":"SILVER","volume_24h_usd":122502741.85579005,"instrument_name":"xyz:SILVER-USD"},{"exchange":"hyperliquid","last_close":4307,"sub_exchange":"xyz","base_currency":"GOLD","volume_24h_usd":107641488.10508987,"instrument_name":"xyz:GOLD-USD"},{"exchange":"bybit","last_close":4309.1,"sub_exchange":"","base_currency":"XAU","volume_24h_usd":95796005.75461993,"instrument_name":"XAUUSDT"}],"asset_class":"commodity"},{"top":[{"exchange":"hyperliquid","last_close":160.53,"sub_exchange":"xyz","base_currency":"JPY","volume_24h_usd":4901302.274999983,"instrument_name":"xyz:JPY-USD"},{"exchange":"hyperliquid","last_close":1.1519,"sub_exchange":"xyz","base_currency":"EUR","volume_24h_usd":3259976.37488,"instrument_name":"xyz:EUR-USD"},{"exchange":"nado","last_close":1.1528295177829178,"sub_exchange":"","base_currency":"EUR","volume_24h_usd":1273550.13153805,"instrument_name":"EURUSD-PERP_USDT0"},{"exchange":"nado","last_close":160.78418570088388,"sub_exchange":"","base_currency":"USD","volume_24h_usd":971161.5475461737,"instrument_name":"USDJPY-PERP_USDT0"},{"exchange":"nado","last_close":1.3320167509277616,"sub_exchange":"","base_currency":"GBP","volume_24h_usd":645955.6191155176,"instrument_name":"GBPUSD-PERP_USDT0"},{"exchange":"hyperliquid","last_close":1.3311,"sub_exchange":"xyz","base_currency":"GBP","volume_24h_usd":68885.20499999999,"instrument_name":"xyz:GBP-USD"},{"exchange":"kraken","last_close":1.15141726208,"sub_exchange":"","base_currency":"EUR","volume_24h_usd":31284.090078829442,"instrument_name":"PF_EURUSD"},{"exchange":"kraken","last_close":0.00622609262,"sub_exchange":"","base_currency":"JPY","volume_24h_usd":0,"instrument_name":"PF_JPYUSD"},{"exchange":"kraken","last_close":0.70316703706,"sub_exchange":"","base_currency":"AUD","volume_24h_usd":0,"instrument_name":"PF_AUDUSD"},{"exchange":"kraken","last_close":1.33108123767,"sub_exchange":"","base_currency":"GBP","volume_24h_usd":0,"instrument_name":"PF_GBPUSD"}],"asset_class":"forex"},{"top":[{"exchange":"binance","last_close":5574.9,"sub_exchange":"","base_currency":"BTCDOM","volume_24h_usd":2577820.853276015,"instrument_name":"BTCDOMUSDT"},{"exchange":"binance","last_close":0.504,"sub_exchange":"","base_currency":"ALL","volume_24h_usd":1669628.11400798,"instrument_name":"ALLUSDT"}],"asset_class":"index"}]}},"exampleRequest":{"end":"2024-12-24T23:59:59Z","limit":500,"start":"2024-12-17T00:00:00Z","exchange":"deribit","resolution":"1h","instrument_name":"BTC-PERPETUAL"},"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w5-ARpYoY6Fwq5as5b3HH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a macro-level summary of cryptocurrency market data across exchanges and instruments, supporting time-range and resolution filters.","exampleAgentPrompt":"Can you pull me the macro market summary from Laevitas for BTC on Deribit for the past 7 days at a 1h resolution, up to 500 records?","exampleUseCases":[{"title":"Monitor crypto volatility across exchanges","prompt":"I need you to grab the macro market summary from Laevitas for Ethereum perpetuals across all major exchanges over the last 30 days at 4-hour resolution so I can spot volatility patterns."},{"title":"Track daily Bitcoin derivatives activity","prompt":"Can you pull the macro summary for BTC-PERPETUAL on Deribit from Laevitas for the past 14 days at 1-day resolution? I want to see how volume and price action have been trending."},{"title":"Analyze options market conditions","prompt":"Get me the macro market summary from Laevitas for SOL options across the last week at 15-minute intervals. I'm trying to understand the current implied volatility environment."}],"resultDescription":"Returns a JSON object with a 'data' array containing macro-level summary records and a 'success' boolean. The data entries reflect aggregated market metrics filtered by exchange, instrument, time range, and resolution.","failureModes":["Missing or invalid API key returns 401 unauthorized","Invalid resolution enum value returns 400 bad request","Exchange or instrument not supported returns empty data array","Start/end date out of range or malformed returns 400","Limit exceeding 1000 returns validation error","x402 payment not fulfilled returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a high-level macro summary of crypto market data across supported exchanges and instruments, especially when filtering by time range, resolution, and specific exchanges. Prefer this over individual trade or OHLC endpoints when a broad aggregated overview is needed rather than tick-level or candle data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:08:55.589Z","isFirstParty":false,"canonicalSlug":"laevitas-macro-summary-51e94df1"}