{"uid":"cap_ijMrvR6cxepHIEskJTDTM","slug":"futures-expiry-api-next-quarterly-contracts-9e8c3d18","name":"Futures Expiry API – Next Quarterly Contracts","description":"Returns the next quarterly contracts of a CME or Eurex index future with contract symbol, last trading day, trading end time in UTC and local time, and roll date.","url":"https://futures-expiry-api.onrender.com/v1/expirations?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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."},"count":{"type":"string","description":"Number of contracts, 1-12. Default 4."},"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7wDO91q2YrF-49I_1Lr4n","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the next N quarterly expiration contracts for a CME or Eurex index future, including contract symbol, last trading day, UTC and local trading end time, and roll date.","exampleAgentPrompt":"What are the next 4 quarterly expiration dates and roll dates for ES (E-mini S&P 500) futures, including the last trading day and exact UTC end time for each contract?","exampleUseCases":[{"title":"Futures roll alert for trading bot","prompt":"Get me the next 4 quarterly expirations for MES futures so my bot knows when to roll its position — I need the contract symbol, last trading day, and roll date for each."},{"title":"Options expiry calendar for risk desk","prompt":"Pull up the next 6 quarterly expiry dates for FDAX Eurex futures, including the UTC time trading ends on each last trading day."},{"title":"Backtesting contract timeline for NQ","prompt":"What are the next 3 quarterly NQ Nasdaq futures contracts as of 2025-06-01T00:00:00Z? I need the symbol, last trading day, and roll date for each to build my backtest calendar."}],"resultDescription":"A list of up to 12 upcoming quarterly futures contracts for the requested product, each with: contract symbol (e.g. ESU25), last trading day date, UTC trading end time, local trading end time, and roll date.","failureModes":["Invalid or unsupported product code returns an error — only ES, MES, NQ, MNQ, YM, MYM, RTY, M2K, FDAX, FDXM, FESX, FSMI are supported","Count outside range 1–12 is rejected","Malformed ISO 8601 datetime in 'at' parameter causes a parsing error","Payment failure (x402) if USDC payment is not processed correctly","Rate limiting or server unavailability on the Render-hosted service"],"whenToPreferThis":"Use this endpoint when you need a forward-looking list of multiple upcoming quarterly contract expirations for a specific CME or Eurex index future, especially when you need the exact UTC and local trading end times and roll dates. Prefer this over the front-month endpoint when planning position rolls, building trading calendars, or backtesting across multiple quarters. Prefer over the annual endpoint when you want a rolling window of upcoming contracts rather than a fixed calendar year.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T23:25:24.265Z","isFirstParty":false,"canonicalSlug":"futures-expiry-api-next-quarterly-contracts-9e8c3d18"}