# AtlasMarkets Viking — Stock History

> AtlasMarkets Viking — Stock History is a paid API for AI agents from atlasmarkets-viking.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Retrieves historical stock market data for a given ticker symbol via a micropayment-gated API on Base mainnet.

## Facts

- Endpoint: GET https://atlasmarkets-viking.onrender.com/api/viking/history
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/atlasmarkets-viking-stock-history-fab1d19c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X1gXV1kGCzCYbEtB78Q-c

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 atlasmarkets-viking-stock-history-fab1d19c
```

Example prompt: Can you pull up the historical price data for AAPL over the last 90 days so I can see how it's been trending?

## When to prefer this

Choose this endpoint when you need historical OHLCV stock market data for AI-driven financial analysis, backtesting, or trend visualization, and you are operating within a micropayment-capable agent framework using x402 on Base mainnet. It is well-suited for agents that process equity data on a pay-per-query basis without requiring a long-term subscription.

## Known failure modes

- Invalid or unknown ticker symbol returns empty or error response
- Payment failure on Base mainnet (insufficient USDC, wrong network) blocks the request with HTTP 402
- Date range outside available data window returns partial or empty results
- Network latency or Render.com cold-start delay may increase response time
- Malformed request parameters return 400-level errors

## How this service works

stock market intelligence for AI agents. x402-protected on Base mainnet.

## Output

Returns a time series of historical OHLCV (open, high, low, close, volume) price records for the requested stock ticker, structured as JSON. Each data point includes date/timestamp and price metrics for that period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/atlasmarkets-viking-stock-history-fab1d19c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from atlasmarkets-viking.onrender.com](https://www.zero.xyz/host/atlasmarkets-viking.onrender.com/llms.txt)
