Sources › Finance › MacroMicro › Market

MacroMicro Market API

Live quotes for one asset class with six percentage-change windows and 380 days of raw values.

MacroMicroGET /marketAll plans2 Zap

Request

GET
https://api.zapi.ink/v1/finance:macromicro/market/:category

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.

Parameters

NameTypeInRequiredDescription
categoryenum: stocks | forex | bonds | etf | crypto | volatility | cds | commoditiespathYesAsset class: stocks, forex, bonds, etf, crypto, volatility, cds, commodities. Example: commodities
historyenum: true | falsequeryNoInclude the 380-day raw value series on every quote. Default false. Example: false

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/finance:macromicro/market/commodities?history=false" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/finance:macromicro/market/commodities?history=false", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/finance:macromicro/market/commodities",
    params={"history":"false"},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "finance:macromicro",
  "data": {
    "count": 54,
    "items": [
      {
        "name": "Crude Oil (WTI)",
        "group": 1,
        "statId": 486,
        "altName": "Crude Oil (WTI)",
        "chartId": 888,
        "history": [
          {
            "date": "2025-08-14",
            "value": 63.96
          },
          {
            "date": "2025-08-15",
            "value": 62.8
          }
        ],
        "chartUrl": "https://en.macromicro.me/charts/888/commodity-wti",
        "position": 3,
        "statName": "NYMEX - WTI Crude Oil Futures Price",
        "chartSlug": "commodity-wti",
        "chartType": 1,
        "viewCount": 0,
        "chartState": "active",
        "pctChanges": {
          "1D": [
            {
              "date": "2026-08-28",
              "value": 83.4,
              "changePercent": -0.16
            },
            {
              "date": "2026-08-27",
              "value": 83.53
            }
          ],
          "1M": [
            {
              "date": "2026-08-28",
              "value": 83.4,
              "changePercent": -1.26
            },
            {
              "date": "2026-07-29",
              "value": 84.46
            }
          ],
          "1W": [
            {
              "date": "2026-08-28",
              "value": 83.4,
              "changePercent": -4.2
            },
            {
              "date": "2026-08-21",
              "value": 87.06
            }
          ],
          "1Y": [
            {
              "date": "2026-08-28",
              "value": 83.4,
              "changePercent": 30.29
            },
            {
              "date": "2025-08-29",
              "value": 64.01
            }
          ],
          "6M": [
            {
              "date": "2026-08-28",
              "value": 83.4,
              "changePercent": 15.85
            },
            {
              "date": "2026-03-01",
              "value": 71.99
            }
          ],
          "YTD": [
            {
              "date": "2026-08-28",
              "value": 83.4,
              "changePercent": 45.07
            },
            {
              "date": "2026-01-01",
              "value": 57.49
            }
          ]
        },
        "chartNameEn": "WTI Crude Oil",
        "chartCountry": "us",
        "commentCount": 1,
        "statCategory": 22,
        "bookmarkCount": 168,
        "isMembersOnly": false,
        "chartUpdatedAt": "2026-06-08T06:43:17.000Z",
        "imageUpdatedAt": "2026-08-28T22:59:38.000Z",
        "chartDescription": "Market: New York Mercantile Exchange (NYMEX)\nContract Size: 1000 barrels\nPrice Quotation: USD/barrel"
      },
      {
        "name": "Crude Oil (Brent)",
        "group": 1,
        "statId": 389,
        "altName": "Crude Oil (Brent)",
        "chartId": 889,
        "history": [
          {
            "date": "2025-08-14",
            "value": 66.84
          },
          {
            "date": "2025-08-15",
            "value": 65.85
          }
        ],
        "chartUrl": "https://en.macromicro.me/charts/889/commodity-brent",
        "position": 3,
        "statName": "NYMEX - Crude Oil (Brent)",
        "chartSlug": "commodity-brent",
        "chartType": 1,
        "viewCount": 0,
        "chartState": "active",
        "pctChanges": {
          "1D": [
            {
              "date": "2026-08-28",
              "value": 88.1,
              "changePercent": -0.47
            },
            {
              "date": "2026-08-27",
              "value": 88.52
            }
          ],
          "1M": [
            {
              "date": "2026-08-28",
              "value": 88.1,
              "changePercent": -2.91
            },
            {
              "date": "2026-07-29",
              "value": 90.74
            }
          ],
          "1W": [
            {
              "date": "2026-08-28",
              "value": 88.1,
              "changePercent": -4.93
            },
            {
              "date": "2026-08-21",
              "value": 92.67
            }
          ],
          "1Y": [
            {
              "date": "2026-08-28",
              "value": 88.1,
              "changePercent": 29.33
            },
            {
              "date": "2025-08-29",
              "value": 68.12
            }
          ],
          "6M": [
            {
              "date": "2026-08-28",
              "value": 88.1,
              "changePercent": 12.43
            },
            {
              "date": "2026-03-01",
              "value": 78.36
            }
          ],
          "YTD": [
            {
              "date": "2026-08-28",
              "value": 88.1,
              "changePercent": 44.78
            },
            {
              "date": "2025-12-31",
              "value": 60.85
            }
          ]
        },
        "chartNameEn": "Brent Crude Oil",
        "chartCountry": "gb",
        "commentCount": 0,
        "statCategory": 22,
        "bookmarkCount": 201,
        "isMembersOnly": false,
        "chartUpdatedAt": "2026-07-07T03:14:24.000Z",
        "imageUpdatedAt": "2026-08-28T22:59:31.000Z",
        "chartDescription": "Market: New York Mercantile Exchange (NYMEX)\nContract Size: 1000 Barrels\nPrice Quotation: USD/barrel"
      }
    ],
    "total": 54,
    "groups": 6,
    "dataset": "market",
    "category": "commodities",
    "provider": "macromicro",
    "updatedAt": "2022-11-29T10:13:11.000Z"
  },
  "timestamp": "2026-08-29T09:27:18Z"
}

Frequently asked questions

How do I call the MacroMicro Market API?

Send a GET request to https://api.zapi.ink/v1/finance:macromicro/market/commodities with your Zapi key in the x-api-key header. Parameters — required: category; optional: history. The response is JSON in the { project, data, timestamp } envelope.

What does the MacroMicro Market API return?

Live quotes for one asset class with six percentage-change windows and 380 days of raw values. The example response has the fields count, items, total, groups, dataset, category, provider, updatedAt. Each item in items has fields such as name, group, statId, altName, chartId, history, chartUrl, position.

Is the MacroMicro Market API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 2 Zap. Paid plans raise the limits.

Can an AI assistant call the MacroMicro Market API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "macromicro" and endpoint "market".

What other MacroMicro API endpoints are there?

It has 4 endpoints. Besides Market: Chart, Charts, Calendar Macro.