← All endpoints

Category: Messaging

363 endpoint(s)

402box Agentic Suite

Messaging

Communication channel to reach the 402box team for collaborations, inquiries, or general chat. **Important:** Include your contact details (email, X/Twitter handle, or other) so we can reach you back.

Basex402
0.01 USDC / per-call
View in directory ↗

Agent Health Monitor // Blockchain Wallet Intelligence

Messaging

Subscribe to automated wallet health monitoring. Checks wallet health every 6 hours and sends webhook alerts when health score, failure rate, or gas waste thresholds are breached. $2.00 USDC for 30 days of monitoring.

Basex402
2 USDC / per-call
View in directory ↗

Agent Health Monitor // Diagnostics for the Agent Economy

Messaging

Subscribe to automated wallet health monitoring. Checks wallet health every 6 hours and sends webhook alerts when health score, failure rate, or gas waste thresholds are breached. $2.00 USDC for 30 days of monitoring.

Basex402
2 USDC / per-call
View in directory ↗

AgentMail

Messaging

Create and operate dedicated email inboxes for AI agents. Supports programmatic inbox creation, outbound sending, inbound message retrieval, unique agent addresses, workflow automation, and no manual account setup for email-based agent tasks.

Solanax402
price n/a
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

10 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

2 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

2 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

10 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/threads/{thread_id}/attachments/{attachment_id})

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id}/attachments/{attachment_id})

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/drafts/{draft_id}/attachments/{attachment_id})

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all)

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id}/forward)

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id}/reply)

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id}/raw)

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/{message_id})

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/drafts/{draft_id}/send)

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/threads/{thread_id})

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/drafts/{draft_id})

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/pods/{pod_id}/inboxes/{inbox_id})

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages/send)

0.01 USDC / per-call
View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/messages)

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/metrics)

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/threads)

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id}/drafts)

View in directory ↗

AgentMail | Email Inbox API for AI Agents

Messaging

Service: AgentMail API (/v0/inboxes/{inbox_id})

View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.005 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

3 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

5 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.01 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.05 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.02 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.1 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.02 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.1 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.1 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.08 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.02 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.02 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

2 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.08 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.02 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.08 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.02 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.0001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.02 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.1 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.0001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.0001 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.01 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

6 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.01 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.1 USDC / per-call
View in directory ↗

AgentOS — Infrastructure for Autonomous AI Agents

Messaging

Phone, email, compute, domains — paid with USDC via x402. Give your AI agent superpowers.

0.1 USDC / per-call
View in directory ↗

Ahoy - Phone Numbers for AI Agents

Messaging

Phone numbers for AI agents with calls and SMS. All your agents share the same numbers via World ID.

Basex402
0.99 USDC / per-call
View in directory ↗

Ahoy - Phone Numbers for AI Agents

Messaging

Phone numbers for AI agents with calls and SMS. All your agents share the same numbers via World ID.

Basex402
0.01 USDC / per-call
View in directory ↗

Ahoy - Phone Numbers for AI Agents

Messaging

Phone numbers for AI agents with calls and SMS. All your agents share the same numbers via World ID.

Basex402
3.99 USDC / per-call
View in directory ↗

Ahoy - Phone Numbers for AI Agents

Messaging

Phone numbers for AI agents with calls and SMS. All your agents share the same numbers via World ID.

Basex402
0.99 USDC / per-call
View in directory ↗

AI Agentinc Suite - Specialized Agents

Messaging

Design email sequences, craft compelling subject lines, segment audiences, and optimize email campaigns for conversions

Basex402
0.02 USDC / per-call
View in directory ↗

AI Agentinc Suite - Specialized Agents

Messaging

Design email sequences, craft compelling subject lines, segment audiences, and optimize email campaigns for conversions

Basex402
0.02 USDC / per-call
View in directory ↗

Alpha Marketplace

Messaging

Crypto Token Sentiment Analysis: Social Signal Decoder: Chain-of-thought prompt to analyze Twitter, Discord, and Telegram sentiment for any crpto token - id...

Basex402
1 USDC / per-call
View in directory ↗

APINow.fun - Pay-Per-Call Tokenized APIs

Messaging

Get a personalized hello message from APINow.fun

Basex402
0.001 USDC / per-call
View in directory ↗

Arch Tools - The First API Platform AI Agents Can Pay Autonomously

Messaging

Arch Tools — email-find (native SOL)

0.017 USDC / per-call
View in directory ↗

Arch Tools - The First API Platform AI Agents Can Pay Autonomously

Messaging

Arch Tools — email-send (native SOL)

0.017 USDC / per-call
View in directory ↗

Arch Tools - The First API Platform AI Agents Can Pay Autonomously

Messaging

Arch Tools — session-message (native SOL)

0.07 USDC / per-call
View in directory ↗

Arch Tools - The First API Platform AI Agents Can Pay Autonomously

Messaging

Arch Tools — webhook-send (native SOL)

0.007 USDC / per-call
View in directory ↗

Arch Tools - The First API Platform AI Agents Can Pay Autonomously

Messaging

Arch Tools — email-verify (native SOL)

0.017 USDC / per-call
View in directory ↗

Audit email domain security: SPF, DKIM, DMARC records with parsing, grading, and MX provider detection

Messaging

Audit email domain security: SPF, DKIM, DMARC records with parsing, grading, and MX provider detection

Basex402
0.01 USDC / per-call
View in directory ↗

AutoPayAgent - Get Paid With a Text | SMS Invoicing Software

Messaging

ClawPay bot registration ($0.10)

Basex402
0.1 USDC / per-call
View in directory ↗

AutoPayAgent - Get Paid With a Text | SMS Invoicing Software

Messaging

Payment identity verification ($0.001)

Basex402
0.001 USDC / per-call
View in directory ↗

AutoPayAgent - Get Paid With a Text | SMS Invoicing Software

Messaging

Bot commerce network intelligence ($0.05)

Basex402
0.05 USDC / per-call
View in directory ↗

AutoPayAgent - Get Paid With a Text | SMS Invoicing Software

Messaging

On-chain wallet risk assessment ($0.005)

Basex402
0.005 USDC / per-call
View in directory ↗

AutoPayAgent - Get Paid With a Text | SMS Invoicing Software

Messaging

AI query service ($0.01)

Basex402
0.01 USDC / per-call
View in directory ↗

Batch email hygiene for up to 100 emails.

Messaging

Batch email hygiene for up to 100 emails.

Basex402
0.15 USDC / per-call
View in directory ↗

Batch email hygiene for up to 1000 emails.

Messaging

Batch email hygiene for up to 1000 emails.

Basex402
1.5 USDC / per-call
View in directory ↗

Chat with Sarah

Messaging

Get a sassy, crude, and shocking response from Sarah. Send your name and message to receive an adult-only, flirty reply.

Basex402
0.01 USDC / per-call
View in directory ↗

Coin Railz - x402 Autonomous AI Payments & Crypto Exchange

Messaging

Lowest-cost test endpoint to verify x402 payment flow. Returns platform info and echoes your message.

Basex402
0.25 USDC / per-call
View in directory ↗

Combined social score for a token: Twitter, Reddit, Telegram followers and activity

Messaging

Combined social score for a token: Twitter, Reddit, Telegram followers and activity

Basex402
0.003 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.05 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.2 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.03 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.05 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.03 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.5 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.5 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.5 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.5 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.5 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.5 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.05 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.1 USDC / per-call
View in directory ↗

Crypto ETF Sentinel — Spot ETF Filing Intelligence

Messaging

Track SEC spot crypto ETF filings in real-time. Instant Telegram alerts for Bitcoin, Ethereum, Solana ETF applications. Free.

Basex402
0.05 USDC / per-call
View in directory ↗

Crypto Vision — Live Crypto Prices, Breaking News & Market Intelligence

Messaging

Live cryptocurrency prices, breaking news, and market analysis. 350+ free API endpoints, developer SDKs, embeddable widgets, and AI integrations. Bitcoin, Et...

x402
price n/a
View in directory ↗

CuseTheJuice - x402 tools for agents and builders

Messaging

CuseTheJuice app: spam/phishing from From, Reply-To, Subject only (no body). GET/POST: headers, optional mode. JSON rules/signals; optional X-CTJ-Spam-Check header. Pay with x402 (Base USDC). HTTP shape: extensions.bazaar on the 402. Catalog: https://app.cusethejuice.com/agents

Basex402
0.001 USDC / per-call
View in directory ↗

Develops communication plans for organizational crises, including message templates, stakeholder strategies, and risk mitigation.

Messaging

Develops communication plans for organizational crises, including message templates, stakeholder strategies, and risk mitigation.

Basex402
0.01 USDC / per-call
View in directory ↗

Echo Service

Messaging

Store a message and receive a UUID handle for retrieval

Basex402
0.01 USDC / per-call
View in directory ↗

email-deliverability-production.up.railway.app · audit

Messaging

Basex402
0.005 USDC / per-call
View in directory ↗

email-finder-x402-production.up.railway.app · find

Messaging

Basex402
0.005 USDC / per-call
View in directory ↗

email-send-production.up.railway.app · send

Messaging

Basex402
0.003 USDC / per-call
View in directory ↗

email-verification-x402-production.up.railway.app · batch

Messaging

Basex402
0.015 USDC / per-call
View in directory ↗

email-verification-x402-production.up.railway.app · verify

Messaging

Basex402
0.002 USDC / per-call
View in directory ↗

email.x4api.com · validate

Messaging

Solanax402
0.002 USDC / per-call
View in directory ↗

Enter the FIFA World Cup 26 Final raffle for 0.01 USDC on Base Mainnet. Required parameters: name (string, your full name) and email (string, your email address for notifications).

Messaging

Enter the FIFA World Cup 26 Final raffle for 0.01 USDC on Base Mainnet. Required parameters: name (string, your full name) and email (string, your email address for notifications).

Basex402
0.01 USDC / per-call
View in directory ↗

Enter the FIFA World Cup 26 Final raffle for 0.01 USDC on Base Mainnet. Required parameters: name (string, your full name) and email (string, your email address for notifications).

Messaging

Enter the FIFA World Cup 26 Final raffle for 0.01 USDC on Base Mainnet. Required parameters: name (string, your full name) and email (string, your email address for notifications).

Basex402
0.01 USDC / per-call
View in directory ↗

EruditePay Blockchain Intelligence API

Messaging

352 x402-payable blockchain analytics endpoints. Pay-per-call with USDC on Base or USDT on Tron. No API keys required.

Basex402
0.01 USDC / per-call
View in directory ↗

FOV — Find or Verify

Messaging

Email finder and verifier API, paywalled per-call with x402 (USDC on Solana).

Solanax402
0.03 USDC / per-call
View in directory ↗

FOV — Find or Verify

Messaging

Email finder and verifier API, paywalled per-call with x402 (USDC on Solana).

Solanax402
0.05 USDC / per-call
View in directory ↗

FOV — Find or Verify

Messaging

Email finder and verifier API, paywalled per-call with x402 (USDC on Solana).

Solanax402
0.05 USDC / per-call
View in directory ↗

Generates context-aware email replies, tailoring responses based on the original message and user preferences.

Messaging

Generates context-aware email replies, tailoring responses based on the original message and user preferences.

Basex402
0.01 USDC / per-call
View in directory ↗

Generates personalized email responses based on incoming message content, tone, and user preferences for efficient communication management.

Messaging

Generates personalized email responses based on incoming message content, tone, and user preferences for efficient communication management.

Basex402
0.01 USDC / per-call
View in directory ↗

GoldBean API — AI-Powered API Marketplace

Messaging

GoldBean is a comprehensive pay-per-call API marketplace on Base chain, offering 100+ AI-powered endpoints across 20+ categories including AI language, image, video generation, blockchain, DeFi, social media, e-commerce, weather, and more. Each endpoint uses x402 protocol for micropayments.

Basex402
0.04 USDC / per-call
View in directory ↗

GoldBean API — AI-Powered API Marketplace

Messaging

GoldBean is a comprehensive pay-per-call API marketplace on Base chain, offering 100+ AI-powered endpoints across 20+ categories including AI language, image, video generation, blockchain, DeFi, social media, e-commerce, weather, and more. Each endpoint uses x402 protocol for micropayments.

Basex402
0.04 USDC / per-call
View in directory ↗

GoldBean API — AI-Powered API Marketplace

Messaging

GoldBean is a comprehensive pay-per-call API marketplace on Base chain, offering 100+ AI-powered endpoints across 20+ categories including AI language, image, video generation, blockchain, DeFi, social media, e-commerce, weather, and more. Each endpoint uses x402 protocol for micropayments.

Basex402
0.04 USDC / per-call
View in directory ↗

GoldBean API — AI-Powered API Marketplace

Messaging

GoldBean is a comprehensive pay-per-call API marketplace on Base chain, offering 100+ AI-powered endpoints across 20+ categories including AI language, image, video generation, blockchain, DeFi, social media, e-commerce, weather, and more. Each endpoint uses x402 protocol for micropayments.

Basex402
0.04 USDC / per-call
View in directory ↗

HeyAnon

Messaging

Ask Gemma AI bot for general crypto information including protocols analysis, community insights, market data, news, TVL analytics, sentiment analysis, and token research. Gemma has access to: community (Telegram/Discord/Twitter/Docs analysis), dailyCommunityPulse (24h crypto news), tvl_info (DeFi TVL analytics), fees_info (protocol fees data), defillama_protocols_info (DeFi protocols info), messari (market data), bubblemaps (token distribution), cookie (crypto projects index), xContractAddressResearch (Twitter contract analysis), twentiment (sentiment analysis).

Basex402
0.99 USDC / per-call
View in directory ↗

httpay.xyz — 307 Pay-Per-Call APIs via x402 on Base | No API Keys

Messaging

307 pay-per-call APIs (287 native + Universal Gateway proxying 37 services) powered by x402 and USDC on Base. Token intelligence, DeFi yields, MEV risk, AI tools, web scraping. No API keys, no subscriptions — pay $0.001–$0.05 per call.

Basex402
0.001 USDC / per-call
View in directory ↗

httpay.xyz — 307 Pay-Per-Call APIs via x402 on Base | No API Keys

Messaging

307 pay-per-call APIs (287 native + Universal Gateway proxying 37 services) powered by x402 and USDC on Base. Token intelligence, DeFi yields, MEV risk, AI tools, web scraping. No API keys, no subscriptions — pay $0.001–$0.05 per call.

Basex402
0.005 USDC / per-call
View in directory ↗

httpay.xyz — 307 Pay-Per-Call APIs via x402 on Base | No API Keys

Messaging

307 pay-per-call APIs (287 native + Universal Gateway proxying 37 services) powered by x402 and USDC on Base. Token intelligence, DeFi yields, MEV risk, AI tools, web scraping. No API keys, no subscriptions — pay $0.001–$0.05 per call.

Basex402
0.001 USDC / per-call
View in directory ↗

Human Oracle - x402 Human Input Service

Messaging

Pay $0.10 USDC to submit a question to a real human Discord community. Returns a token to poll for responses. Status becomes 'ready' once at least 1 human response(s) are collected. Max question length: 2000 characters. Poll GET /status/{token} to check progress, GET /responses/{token} to retrieve answers. Network: Base Mainnet.

Basex402
0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗

Laevitas API V2

Messaging

## WebSocket Streaming API For real-time data streams, see the [WebSocket Documentation](/websocket). ### Available channels: | Description | Channel | |-------|-------------| | Live trades | trades.{market}.{exchange}.{instrument} | | OHLC ticker | ohlc.ticker.{market}.{exchange}.{instrument}.{timeframe} | | OHLC VT | ohlc.vt.{market}.{exchange}.{instrument}.{timeframe} | | variable | Examples | |-------|-------------| | market | perpetuals, futures, options, spot | | exchange | supported exchange (e.g., binance, okx, deribit, bybit, hyperliquid) | | instrument | instrument name (e.g., BTC-PERPETUAL, ETH-30JUN23-2000-C) | | timeframe | 1m, 5m, 15m, 1h, 4h, 1d | --- ## Authentication All requests require an API key in the header: ```http X-API-Key: your-api-key-here ``` ## x402 Pay-Per-Request All data endpoints support x402 pay-per-request — no API key needed. - Discovery: `GET /.well-known/x402` - OpenAPI: `GET /openapi.json` - Price: $0.001 per request (USDC on Base) ## Quick Start ```bash curl -X GET "https://apiv2.laevitas.ch/futures/ohlcvt?exchange=deribit&instrument_name=BTC-PERPETUAL" -H "X-API-Key: your-api-key-here" ``` ## Python Example: Fetch Metadata and OHLCVT Data This example shows how to fetch metadata first to get data availability, then query OHLCVT data for BTC-PERPETUAL on Deribit: ```python import requests from datetime import datetime API_KEY = "your-api-key-here" BASE_URL = "https://apiv2.laevitas.ch" HEADERS = {"X-API-Key": API_KEY} # Step 1: Fetch metadata to get start date and data availability metadata_response = requests.get( f"{BASE_URL}/perpetuals/metadata", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "limit": 100 } ) metadata = metadata_response.json() print(f"Instrument: {metadata['instrument_name']}") print(f"Exchange: {metadata['exchange']}") print(f"Data available from: {metadata['start_date']}") print(f"Data available until: {metadata['end_date']}") print(f"Total records: {metadata['total_count']:,}") print(f"Total pages (limit=100): {metadata['total_pages']:,}") # Step 2: Fetch OHLCVT data using the start date from metadata ohlcvt_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "limit": 100 } ) ohlcvt_data = ohlcvt_response.json() print(f"\nFetched {len(ohlcvt_data['data'])} OHLCVT records") print(f"First record timestamp: {ohlcvt_data['data'][0]['minute']}") # Step 3: Paginate through data using cursor next_cursor = ohlcvt_data['meta']['next_cursor'] if next_cursor: next_page_response = requests.get( f"{BASE_URL}/perpetuals/ohlcvt", headers=HEADERS, params={ "exchange": "deribit", "instrument_name": "BTC-PERPETUAL", "resolution": "1h", "start": metadata['start_date'], "cursor": next_cursor, "limit": 100 } ) next_page_data = next_page_response.json() print(f"Next page has {len(next_page_data['data'])} records") ``` ### Available Data #### Perpetuals - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Funding rates and carry metrics - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Futures - OHLCVT candlestick data with volume breakdown - Mark and index reference prices - Open interest tracking - Trade-by-trade data - Best bid/ask snapshots - Metadata endpoint for data availability #### Options - Options OHLC with Greeks and IV - Volatility surface data - Options flow and volume - Open interest by strike/expiry - Metadata endpoint for data availability #### Spot - OHLCVT candlestick data with buy/sell volume breakdown (base + quote currency) - Ticker OHLC (bid/ask/spread/size dynamics, 24h rolling stats) - Large trades (>=$1M) with quote amount and BBO at time of trade - Volume breakdown by time bucket - L2 orderbook aggregated depth metrics (4 depth levels) - Raw L2 orderbook snapshots with full bid/ask arrays - Per-instrument snapshots - Metadata endpoint for data availability ### Supported Exchanges Binance, OKX, Deribit, Bybit, Bullish (options + perpetuals), Derive (options only), Hyperliquid (perpetuals only), Nado (perpetuals only), Coinbase (spot only), Kraken (spot + futures + perpetuals) ### Response Format All endpoints return paginated JSON responses with cursor-based navigation for large datasets. ### Rate Limiting Default: 240 requests per 60 seconds per API key ### Support - Email: support@laevitas.ch - WebSocket API: [/websocket](/websocket) - Changelog: /api/v1/changelog

0.1 USDC / per-call
View in directory ↗
Showing the first 200 of 363. Use the API or see more in the source directories to reach the remaining 163.