# LastLook Data — Crypto Historical Daily Closing Prices

> LastLook Data — Crypto Historical Daily Closing Prices is a paid API for AI agents from api.lastlookdata.com, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-13).

Returns historical daily closing prices for a supported cryptocurrency over 30, 90, or 365 days, sourced from CoinGecko.

## Facts

- Endpoint: GET https://api.lastlookdata.com/api/crypto/history
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lastlook-data-crypto-historical-daily-closing-prices-8842b201
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S2UcG1a3_GbkAslD6Ahtu

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 lastlook-data-crypto-historical-daily-closing-prices-8842b201
```

Example prompt: Can you pull the daily closing prices for Bitcoin over the last 365 days so I can see the full year's price history?

## When to prefer this

Use this endpoint when you need historical daily closing price series for a specific top-20 cryptocurrency over a fixed window of 30, 90, or 365 days. Prefer it over spot-price endpoints when trend analysis, backtesting, or charting is needed. Best when CoinGecko-sourced data is acceptable and only end-of-day granularity is required.

## Known failure modes

- Unsupported coin symbol returns an error — only BTC, ETH, SOL, BNB, XRP, USDT, USDC, ADA, AVAX, DOGE, DOT, MATIC, LINK, LTC, ATOM, UNI, SUI, APT, NEAR, PEPE are valid
- Invalid days value returns an error — only '30', '90', or '365' are accepted
- Missing required query parameters (coin or days) results in a bad request error
- CoinGecko upstream outage may cause data unavailability
- Payment failure (x402) if insufficient USDC balance provided

## How this service works

LastLook Data — historical daily closing prices for any supported cryptocurrency. Use ?coin=BTC&days=30|90|365. Source: CoinGecko.

## Output

An array of historical daily closing price data points for the requested cryptocurrency over the specified window (30, 90, or 365 days), with each entry containing a date and closing price, sourced from CoinGecko.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "coin",
      "days"
     ],
     "properties": {
      "coin": {
       "enum": [
        "BTC",
        "ETH",
        "SOL",
        "BNB",
        "XRP",
        "USDT",
        "USDC",
        "ADA",
        "AVAX",
        "DOGE",
        "DOT",
        "MATIC",
        "LINK",
        "LTC",
        "ATOM",
        "UNI",
        "SUI",
        "APT",
        "NEAR",
        "PEPE"
       ],
       "type": "string",
       "description": "Crypto symbol"
      },
      "days": {
       "enum": [
        "30",
        "90",
        "365"
       ],
       "type": "string",
       "description": "30, 90, or 365 days of history"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lastlook-data-crypto-historical-daily-closing-prices-8842b201/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lastlookdata.com](https://www.zero.xyz/host/api.lastlookdata.com/llms.txt)
