# Cerwal Stock Financial Query API

> Cerwal Stock Financial Query API is a paid API for AI agents from cerwal.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Accepts a natural language or structured financial query and returns stock/financial data, paid per request in USDC via x402.

## Facts

- Endpoint: POST https://cerwal.vercel.app/api/stock
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cerwal-stock-financial-query-api-88a97422
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HaLAnD0zy5tFygSwB5T6V

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 cerwal-stock-financial-query-api-88a97422 -d '<json body>'
```

Example prompt: What is the current stock price and market cap for Apple (AAPL)?

## When to prefer this

Choose this endpoint when you need quick, pay-per-use financial data lookups without committing to a subscription. It is best suited for lightweight or infrequent stock queries where a natural language financial question can be submitted and structured data is needed back, especially in agent workflows using x402 micropayment infrastructure.

## Known failure modes

- Query too vague or ambiguous resulting in no matched data
- Unknown ticker or company name returning empty data object
- Payment failure via x402 preventing request from processing
- Rate limiting or server error on the Vercel-hosted endpoint
- Malformed query string returning error response

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a 'success' boolean and a 'data' object containing the financial information relevant to the query, such as stock prices, market metrics, or company financials.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Financial query"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cerwal-stock-financial-query-api-88a97422/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerwal.vercel.app](https://www.zero.xyz/host/cerwal.vercel.app/llms.txt)
