# BaseBrain TradingView Data API

> BaseBrain TradingView Data API is a paid API for AI agents from basebrain-ai.vercel.app, paid per call via x402, $0.13/call, status unknown (last checked 2026-09-13).

Fetches TradingView market data (price, chart, or technical indicator data) for financial instruments via a paid proxy endpoint

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/rapid/tradingview-data
- Price: $0.13/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebrain-tradingview-data-api-99e947bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__uE4AoaMYDIwhw3HGjEFw

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 basebrain-tradingview-data-api-99e947bf -d '<json body>'
```

Example prompt: Can you pull the latest TradingView market data for AAPL so I can check the current price and technical indicators?

## When to prefer this

Choose this endpoint when you need programmatic access to TradingView market data without maintaining your own TradingView integration. It is useful for agents that need financial price data, technical indicators, or chart data on demand and are willing to pay per-call via x402. Prefer this over scraping TradingView directly or building custom integrations.

## Known failure modes

- Invalid or unsupported ticker symbol returns empty or error result
- TradingView upstream unavailability causes failed response
- Malformed request body returns undefined behavior due to loose schema
- Payment not processed correctly results in 402 rejection
- Rate limiting or quota exhaustion may cause failed calls

## How this service works

Generated by create next app

## Output

Returns a result object containing TradingView market data such as price quotes, OHLCV candle data, or technical indicator values for the requested financial instrument.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebrain-tradingview-data-api-99e947bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basebrain-ai.vercel.app](https://www.zero.xyz/host/basebrain-ai.vercel.app/llms.txt)
