# Futures Expiry API – Front Month Contract

> Futures Expiry API – Front Month Contract is a paid API for AI agents from futures-expiry-api.onrender.com, paid per call via x402, $0.01/call, status down (last checked 2026-10-30).

Returns the current front-month contract symbol, days to expiration, and exact last trading time for a CME or Eurex index futures product.

## Facts

- Endpoint: GET https://futures-expiry-api.onrender.com/v1/front-month?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/futures-expiry-api-front-month-contract-a02ec5d7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LuiM0fxZpnd-25Df4_mx9

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 futures-expiry-api-front-month-contract-a02ec5d7
```

Example prompt: What's the current front-month contract for ES futures and how many days are left until it expires?

## When to prefer this

Use this endpoint when you need precise, real-time front-month contract identification and expiration timing for CME or Eurex equity index futures (ES, NQ, YM, FDAX, FESX, etc.). Prefer it over generic financial data APIs when you specifically need roll-date-aware front-month selection and exact last-trading-time precision rather than approximate settlement dates.

## Known failure modes

- Missing or invalid 'product' query parameter returns a 400 error
- Unrecognized product code (not in supported enum) returns an error
- Invalid ISO 8601 format for the 'at' parameter causes a parse error
- Service unavailability on Render hosting platform may cause timeouts
- Payment failure via x402 protocol blocks the request

## How this service works

Returns the current front-month contract of a CME or Eurex index future, the most active contract after the roll date, days to expiration and the exact last trading time.

## Output

Returns the front-month contract identifier (e.g. ESH25), the most active contract after the roll date, the number of calendar days to expiration, and the exact last trading date and time (with timezone) for the specified CME or Eurex index futures product.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "product"
     ],
     "properties": {
      "at": {
       "type": "string",
       "description": "Optional ISO 8601 time with offset, e.g. 2026-12-11T15:00:00Z. Default: now."
      },
      "product": {
       "type": "string",
       "description": "Futures product: ES, MES, NQ, MNQ, YM, MYM, RTY, M2K, FDAX, FDXM, FESX, FSMI"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/futures-expiry-api-front-month-contract-a02ec5d7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from futures-expiry-api.onrender.com](https://www.zero.xyz/host/futures-expiry-api.onrender.com/llms.txt)
