Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.orca.so/llms.txt

Use this file to discover all available pages before exploring further.

Orca Public API

The Orca Public API provides programmatic access to Whirlpool data, token information, and protocol analytics on Solana.

Base URL

https://api.orca.so/v2/{chain}
ChainBase URL
Solanahttps://api.orca.so/v2/solana

Authentication

The Orca Public API is open and does not require authentication for read access.

Rate Limits

The API implements rate limiting to ensure fair usage. If you receive a 429 status code, reduce your request frequency.

Response Format

All responses follow a consistent wrapper format with pagination support:
{
  "data": <object or array>,
  "meta": {
    "next": "<cursor or null>",
    "previous": "<cursor or null>"
  }
}

Pagination

Use cursor-based pagination for large result sets:
ParameterTypeDescription
nextstringCursor for the next page of results
previousstringCursor for the previous page of results
sizeintegerNumber of results per page (default varies by endpoint)

Time Periods

Many endpoints support time-based statistics. Available periods:
PeriodDescription
5m5 minutes
15m15 minutes
30m30 minutes
1h1 hour
2h2 hours
4h4 hours
8h8 hours
24h24 hours
7d7 days
30d30 days

Error Responses

Status CodeDescription
200Success
400Invalid request parameters
404Resource not found
429Rate limit exceeded
500Internal server error

Quick Examples

# Get all pools on Solana
curl "https://api.orca.so/v2/solana/pools"

# Search for SOL pools
curl "https://api.orca.so/v2/solana/pools/search?q=SOL"

# Get protocol TVL
curl "https://api.orca.so/v2/solana/protocol"

Whirlpools

Query pool data, search pools, and get liquidity information

Protocol

Access TVL, volume, fees, and ORCA token statistics

Tokens

Search and retrieve token metadata and pricing

Schemas

Complete data model reference