# SiteCheck Crypto & Finance – IndexMundi Commodity Prices

> SiteCheck Crypto & Finance – IndexMundi Commodity Prices is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Fetches historical monthly commodity price data (e.g. gold, crude oil) from IndexMundi for a configurable time window

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/indexmundi?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-crypto-finance-indexmundi-commodity-prices-b2e27966
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VjxzB4ZVG-rgqeQOPk5-7

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 sitecheck-crypto-finance-indexmundi-commodity-prices-b2e27966
```

Example prompt: Pull the last 24 months of gold price history from IndexMundi so I can see how prices have trended.

## When to prefer this

Choose this endpoint when you need historical monthly commodity price series (metals, energy, agricultural goods) from IndexMundi without setting up an API key or account. Ideal for AI agents doing financial analysis, trend detection, or market research that require raw time-series commodity data on a pay-per-call basis.

## Known failure modes

- Invalid or unsupported commodity slug returns an error or empty rows
- Months parameter outside 1-60 range may return an error or be clamped to defaults
- IndexMundi source unavailable causes fetch failure
- Payment not received results in 402 response and no charge

## How this service works

IndexMundi monthly commodity price table for one commodity (default gold), read from the public commodity page: month and price as IndexMundi publishes them. Prices are as shown on the page; units follow that page.

## Output

Returns a JSON object with an array of monthly price rows (each containing a month label and price), the commodity name, the source URL on IndexMundi, and a checkedAt timestamp indicating when the data was last fetched.

## 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": [],
     "properties": {
      "months": {
       "type": "string",
       "description": "How many latest months, 1 to 60 (default 12)"
      },
      "commodity": {
       "type": "string",
       "description": "IndexMundi commodity slug, e.g. gold, crude-oil"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "month": "Mar 2026",
    "price": 4855.54
   }
  ],
  "source": "https://www.indexmundi.com/commodities/?commodity=gold",
  "checkedAt": "2026-10-23T09:36:13.111Z",
  "commodity": "gold"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-crypto-finance-indexmundi-commodity-prices-b2e27966/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
