# ScrapFly Finance History API

> ScrapFly Finance History API is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.21/call, status unknown (last checked 2026-09-15).

Retrieves historical financial data for a given stock or asset symbol

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/finance/history
- Price: $0.21/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-finance-history-api-75678c40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GU6AU8fAcKhK45qC99CS6

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 scrapfly-finance-history-api-75678c40 -d '<json body>'
```

Example prompt: Can you pull the historical price data for AAPL so I can see how the stock has moved over time?

## When to prefer this

Choose this endpoint when you need historical financial data for a stock or asset symbol and want a pay-per-request model without subscription commitments. It is suitable for agents performing on-demand financial lookups, backtesting, or research tasks where the cost per call ($0.21 USDC) is acceptable and real-time streaming is not required.

## Known failure modes

- Invalid or unrecognized ticker symbol returns success: false or empty data
- Missing required 'symbol' field causes a 400 validation error
- Symbol for a delisted or unsupported asset may return empty data
- Network or upstream scraping failures may return error responses
- Rate limiting or payment issues may block requests

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing historical financial data (such as price history, OHLCV records, or time series data) for the requested symbol.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapfly-finance-history-api-75678c40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scravfly.vercel.app](https://www.zero.xyz/host/scravfly.vercel.app/llms.txt)
