# Lagoon Tech Systems Cocoa Composite View

> Lagoon Tech Systems Cocoa Composite View is a paid API for AI agents from data.lagoontechsystems.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns a unified cocoa market snapshot combining farmgate prices, ICE futures, CFTC Commitments of Traders positioning, and 7-day/30-day price trends.

## Facts

- Endpoint: GET https://data.lagoontechsystems.com/api/cocoa/composite
- Price: $0.1/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-cocoa-composite-view-f3e4df64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9el50jyKsUTT9PUjav8cS

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-composite-view-f3e4df64
```

Example prompt: Give me the full cocoa market picture right now — farmgate price, ICE futures, what the CFTC COT positioning looks like, and both the 7-day and 30-day price trends all in one view.

## When to prefer this

Use this endpoint when you need a single-call composite view of the cocoa market that combines farmgate, futures, speculator positioning, and trend data rather than making multiple separate API calls. Ideal for dashboards, trading signals, or market briefings where all cocoa market dimensions are needed at once.

## Known failure modes

- Upstream data source unavailable — stale or missing farmgate/futures data returned
- Rate limiting or payment failure for the $0.1 USDC x402 microtransaction
- Invalid or malformed request returns 400 error
- Temporary service outage returns 503

## 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 composite JSON object containing current cocoa farmgate price, front-month futures price, CFTC Commitments of Traders positioning breakdown (e.g. commercial vs non-commercial net positions), and 7-day and 30-day price trend indicators for cocoa.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cot": {
   "commercial_long": 21461
  },
  "trend": {
   "direction": "neutral",
   "period_change": "0.0%"
  },
  "futures": {
   "contract": "CC1",
   "settlement": 3796
  },
  "success": true,
  "farmgate": {
   "value": 1200,
   "currency": "XOF"
  },
  "commodity": "cocoa"
 }
}
```

## More

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