# Lagoon Tech Systems Cotton Futures Historical Data

> Lagoon Tech Systems Cotton 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 historical time series of cotton futures prices for a user-specified window of up to 365 days.

## Facts

- Endpoint: GET https://data.lagoontechsystems.com/api/cotton/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-cotton-futures-historical-data-0e6e9ba6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-rOJ_S1Zr8ahMHcqIaPZi

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-cotton-futures-historical-data-0e6e9ba6
```

Example prompt: Pull me the last 90 days of historical cotton futures price data from Lagoon Tech Systems so I can analyze the trend.

## When to prefer this

Use this endpoint when you need a historical time series of cotton futures prices spanning from 1 to 365 days. Prefer the sibling composite endpoint if you also need CFTC COT positioning data or trend overlays alongside raw futures history.

## Known failure modes

- days parameter out of range (must be 1-365) — likely returns a 400 or validation error
- missing or malformed query parameter — API may return 400 bad request
- payment not processed or x402 payment header missing — returns 402 Payment Required
- no data available for requested window — may return empty series or 404
- upstream data source unavailable — may return 503 or 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-indexed series of cotton futures price data points covering the requested number of days (up to 365), likely including settlement prices in USX/lb or similar units for each day in the window.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "days": "90"
  }
 }
}
```

## 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": 76.16
   }
  ],
  "days": 30,
  "success": true,
  "commodity": "cotton"
 }
}
```

## More

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