# Cerawal Stock Financial Query API

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

Accepts a natural-language financial query and returns stock or financial data, pay-per-request via USDC x402 payment.

## Facts

- Endpoint: POST https://cerawal.vercel.app/api/stock
- 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/cerawal-stock-financial-query-api-00e442e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T4Gn8pwbkUFwMeIOMbyyZ

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 cerawal-stock-financial-query-api-00e442e4 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need to resolve natural-language financial or stock market queries on a pay-per-request basis with no subscription required, using USDC micropayments via x402 protocol. Ideal for agents that need occasional stock lookups without committing to a recurring API plan.

## Known failure modes

- Missing required 'query' field returns validation error
- Ambiguous or unsupported financial query may return empty or partial data
- Payment failure via x402 results in 402 response before data is returned
- Query for unknown ticker or company may return empty data object
- Service downtime on Vercel hosting may return 5xx errors

## 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 submitted query, such as stock prices, company metrics, or other market data.

## 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/cerawal-stock-financial-query-api-00e442e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerawal.vercel.app](https://www.zero.xyz/host/cerawal.vercel.app/llms.txt)
