# ScrapFly Finance History API

> ScrapFly Finance History API is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.07/call, status unknown (last checked 2026-10-24).

Retrieves historical price and financial data for a given stock or asset symbol

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/finance/history?utm_source=zero.xyz
- Price: $0.07/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-finance-history-api-aa2f60ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1P0nhFoslteqHx-k1_BCC

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-aa2f60ac -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need historical price or financial time-series data for a stock or asset symbol and want a pay-per-request model via x402 on Base chain without needing a subscription to a dedicated financial data provider.

## Known failure modes

- Invalid or unrecognized symbol returns success:false or empty data
- Symbol not covered by the data provider returns no results
- Network or upstream data source errors cause failure
- Malformed request body missing required symbol field returns 400-level error

## 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 flag 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-aa2f60ac/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapfly.vercel.app](https://www.zero.xyz/host/scrapfly.vercel.app/llms.txt)
