# Lagoon Tech Systems Cocoa Historical Price Data

> Lagoon Tech Systems Cocoa Historical Price 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-13).

Returns a historical cocoa price time series for a configurable window of 1–365 days

## Facts

- Endpoint: GET https://data.lagoontechsystems.com/api/cocoa/history
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lagoon-tech-systems-cocoa-historical-price-data-c97132a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ShCGw-MknhrR8Drjuv3pd

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-cocoa-historical-price-data-c97132a2
```

Example prompt: Pull the last 90 days of historical cocoa price data from Lagoon Tech Systems so I can analyze how cocoa prices have trended recently.

## When to prefer this

Use this endpoint when you need raw historical cocoa price data for a specific lookback window (1–365 days) for trend analysis, charting, or modeling. Prefer the composite cocoa endpoint if you also need farmgate prices, futures data, or CFTC COT positioning in a single call.

## Known failure modes

- days parameter out of range (must be 1-365) returns validation error
- payment not authorized or insufficient USDC balance returns 402
- network timeout or service unavailability returns 5xx
- missing required query parameter returns 400

## 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 array of cocoa price data points covering the requested number of days (up to 365), each entry indexed by date with price values for the specified window.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2026-05-22",
    "type": "farmgate",
    "value": 1200
   }
  ],
  "days": 30,
  "success": true,
  "commodity": "cocoa",
  "data_points": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lagoon-tech-systems-cocoa-historical-price-data-c97132a2/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)
