# Vybe Solana Analytics API – Market Price & Trade Data

> Vybe Solana Analytics API – Market Price & Trade Data is a paid API for AI agents from x402-api.vybenetwork.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-26).

Retrieves trade price and market data for a specific Solana on-chain market/trading pair by market address

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/markets/%7BmarketAddress%7D?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vybe-solana-analytics-api-market-price-trade-data-f9cc672e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1LDi7W4Dm8fqadS4vmPRS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vybe-solana-analytics-api-market-price-trade-data-f9cc672e -d '<json body>'
```

Example prompt: Can you pull the current trade price and market data from Vybe for the Solana market at address 8BnEgHoWFysVcuFFX7QztDmzuH8r5ZFvyP3sYwn1XTh6?

## When to prefer this

Use this endpoint when you need real-time or recent on-chain trade price and market statistics for a specific Solana DEX market identified by its market address, especially when you want to pay per-request in USDC without API key setup via the x402 protocol.

## Known failure modes

- Invalid or non-existent marketAddress returns 404 or empty result
- Malformed marketAddress string causes validation error
- Payment not included or insufficient USDC causes 402 Payment Required response
- Network congestion on Solana may result in stale or delayed data
- Rate limiting if prepaid credits are exhausted

## How this service works

Read access to Solana on-chain data — tokens, wallets, markets, prices, trades, transfers. No API key, no signup. Pay in USDC per request with the x402 protocol; the per-route price is declared in `x-payment-info`. WebSocket streaming uses prepaid credits.

## Output

Returns a TradePriceMarketReturn object containing trade price data and market statistics for the requested Solana trading pair, including price, volume, liquidity, and related on-chain market metrics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "marketAddress"
 ],
 "properties": {
  "marketAddress": {
   "type": "string",
   "description": "The unique identifier assigned to a specific trading pair or market."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "$ref": "#/components/schemas/TradePriceMarketReturn"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-analytics-api-market-price-trade-data-f9cc672e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api.vybenetwork.xyz](https://www.zero.xyz/host/x402-api.vybenetwork.xyz/llms.txt)
