Introduction

Welcome to the Turnpike API documentation! Build high-performance trading applications on Solana with institutional-grade infrastructure.

Overview

Turnpike provides three powerful ways to integrate trading functionality into your applications:

  • Lightning API - Quick HTTPS-based integration for rapid development

  • Local Transaction Builder - Full control with local signing and custom RPC endpoints

  • WebSocket Streaming - Real-time market data and trade events

Key Features

  • Lightning Speed - Execute trades in under 25ms with globally distributed infrastructure

  • Institutional-Grade Security - Full transaction control with local signing and military-grade encryption

  • Real-time Market Data - Stream live trading data via high-performance WebSocket connections

  • 99.99% Uptime - Enterprise-grade reliability

  • 24/7 Support - Dedicated developer support

Quick Start

Get started with the Lightning API in minutes:

curl -X POST https://api.turnpike.dev/trade/buy \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "publicKey": "YOUR_WALLET_PUBLIC_KEY",
    "mint": "TOKEN_MINT_ADDRESS",
    "amount": 0.01,
    "slippage": 10
  }'

Documentation Structure

Support

Last updated