# EXC Solana Market State > Size-specific Solana Jupiter buy and sell quotes for any routable SPL token pair (default SOL/USDC), with quoted round-trip cost in bps and a Coinbase SOL/USD spot reference when available. Paid per call over x402 v2 in Solana mainnet USDC. ## Endpoint - `POST https://api.ruckerlabs.org/v1/solana/market-state` with a JSON body. - An unpaid request (or a GET) returns HTTP 402 with the x402 v2 terms in the `PAYMENT-REQUIRED` header. Pay, then retry the same request with `PAYMENT-SIGNATURE`. ## Pricing (Solana mainnet USDC) - x402 `exact`: $0.005 per call (amount `5000` atomic USDC). Each paid call also returns a sealed 0.0015 EXC note in `ex_credit`. - x402 `exact` with EXC: $0.0035 per call plus one sealed, unspent 0.0015 EXC note in the `X-EX-NOTE` header, sent on the challenge request and on the paid retry. The call spends the note once. - PayAI `batch-settlement`: $0.001 per call through a funded channel. Every 402 offers it first (`accepts[0]`) and `exact` second; no extra header is needed. Fund the channel from the `PAYMENT-REQUIRED` terms, then sign cumulative vouchers. The signed payload's `scheme` selects the lane. - Network `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`, asset USDC `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v`, payTo `GtARxXoqZbtpoFWBTcQMTNMU2CeHrLRmcxWpUYSytDkz`. ## Input - Example: `{"amount_usdc": 100}`. An empty object quotes 100 USDC into SOL and back. - Fields: `input_mint` (default USDC), `output_mint` (default wrapped SOL), and one size field: `amount_usdc` (USD value, up to 10000) or `amount_atomic` (input-token base units as a decimal string). ## Output Example (illustrative values): ```json {"market_state": {"pair": "SOL/USDC", "input_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "output_mint": "So11111111111111111111111111111111111111112", "notional_usdc": 100, "jupiter_buy": {"input_atomic": 100000000, "output_atomic": 1590000000, "router": "metis", "fee_bps": 2, "received_at": "2026-12-04T19:00:00.000+00:00"}, "jupiter_sell": {"input_atomic": 1590000000, "output_atomic": 99965000, "router": "metis", "fee_bps": 2, "received_at": "2026-12-04T19:00:00.000+00:00"}, "quoted_round_trip_cost_bps": 3.5, "coinbase": {"pair": "SOL/USD", "bid": "62.85", "ask": "62.87", "received_at": "2026-12-04T19:00:00.000+00:00"}}} ``` Exact-lane responses also carry `lane`, `attestation`, `accounting` and, on standard calls, `ex_credit`. ## Execution State - `POST https://api.ruckerlabs.org/v1/solana/execution-state` with `{}` costs $0.001 USDC per call over PayAI `batch-settlement` or $0.005 over CDP `exact`. - The 402 challenge lists `batch-settlement` first and `exact` second. An eligible EXC note in `X-EX-NOTE` discounts exact to $0.0035. To reuse your PayAI channel, authorize each next cumulative voucher with `PAYMENT-SIGNATURE`. - The response includes the confirmed blockhash and expiry height, global priority-fee percentiles in micro-lamports per compute unit, and Jito landed-tip percentiles in lamports. Each source includes a timestamp. ## Machine-readable - [x402 manifest](https://api.ruckerlabs.org/.well-known/x402) - [OpenAPI 3.1](https://api.ruckerlabs.org/openapi.json) - [agents.json](https://api.ruckerlabs.org/agents.json) - [EXC stdio MCP package](https://api.ruckerlabs.org/exc-gateway-mcp-0.1.0.tgz) exposes both tools and forwards caller-supplied x402 payment proofs.