# Sundial Exchange Base API

> Sundial Exchange Base API is a paid API for AI agents from sundial.exchange, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-13).

Provides access to the base Sundial Exchange API endpoint for Solana DEX data and operations

## Facts

- Endpoint: POST https://sundial.exchange/api/?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sundial-exchange-base-api-c9203f5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rFpkyGFWQLPO7VjY3GuG3

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 sundial-exchange-base-api-c9203f5a -d '<json body>'
```

Example prompt: Can you pull the latest data from the Sundial Exchange Solana DEX base API — I want to see what's available about current exchange rates and activity on the platform?

## When to prefer this

Use this base /api endpoint when you need a general entry point to the Sundial Exchange API and the specific data type is unknown, or when exploring what the API offers before using more specific sibling endpoints like /api/trending, /api/stats, or /api/dex/overview. Prefer specialized sibling endpoints when you know exactly what data you need.

## Known failure modes

- Payment not included or insufficient (402 Payment Required)
- Invalid or malformed POST body returns error
- Endpoint may return empty or minimal data if no query parameters are specified
- Rate limiting if too many requests are made in succession
- Network timeout if Solana RPC is congested

## How this service works

Access /api - Sundial Exchange API (Base) for $0.10

## Output

Returns a generic JSON object from the Sundial Exchange base API endpoint, which may include DEX-related data such as exchange rates, token information, or platform activity metrics depending on the POST body provided.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sundial-exchange-base-api-c9203f5a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sundial.exchange](https://www.zero.xyz/host/sundial.exchange/llms.txt)
