# Lagoon Tech Systems Coffee Futures Historical Data

> Lagoon Tech Systems Coffee Futures Historical Data is a paid API for AI agents from data.lagoontechsystems.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns a time series of historical coffee futures price data for a configurable window of 1 to 365 days.

## Facts

- Endpoint: GET https://data.lagoontechsystems.com/api/coffee/history
- 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/lagoon-tech-systems-coffee-futures-historical-data-c2c88963
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zTFDZJWI8b9qSIhQzaltd

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 lagoon-tech-systems-coffee-futures-historical-data-c2c88963
```

Example prompt: Pull me the last 90 days of historical coffee futures price data so I can analyze the trend.

## When to prefer this

Use this endpoint when you need raw historical coffee futures price data as a time series for a specific lookback window (up to one year). Prefer this over the composite coffee view endpoint when you only need futures history without farmgate, CFTC COT positioning, or trend overlays — keeping the response focused and cost-efficient.

## Known failure modes

- days parameter out of range (must be 1-365) — likely returns 400 or validation error
- Payment not completed or insufficient USDC — 402 Payment Required
- Data unavailable for requested window — possible partial or empty response
- Invalid query parameter format — 400 Bad Request
- Service downtime — 503 or network timeout

## How this service works

Côte d'Ivoire & global soft-commodity data (cocoa, coffee, sugar, cotton, cashew): CCC farmgate floor decrees, ICE Futures US settlements, CFTC COT positioning, and historical series. Pay-per-call in USDC on Base via the x402 protocol — no API keys, no signup.

## Output

A time series of historical coffee futures prices covering the requested number of days (up to 365), with date-indexed price records suitable for trend analysis and charting.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2026-05-27",
    "value": 269.85
   }
  ],
  "days": 30,
  "success": true,
  "commodity": "coffee"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lagoon-tech-systems-coffee-futures-historical-data-c2c88963/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.lagoontechsystems.com](https://www.zero.xyz/host/data.lagoontechsystems.com/llms.txt)
