Finance calendar: calendar.get¶
Fetches the finance calendar shown on the Earnings calendar tab of the trending page.
| HTTP | GET https://future.news/api/v1/finance_calendar/polymarket |
| Auth | none |
| Returns | ApiResponse |
Parameters¶
| Parameter | Type | Notes |
|---|---|---|
category |
str |
e.g. "earnings". Non-empty. |
from_date |
date \| str |
start, sent as from=YYYY-MM-DD |
to_date |
date \| str |
end, sent as to=YYYY-MM-DD |
Strings must be ISO dates (YYYY-MM-DD); anything else raises ValueError before a request is made. (from_date is used because from is a Python keyword.)
Example (sync)¶
from datetime import date, timedelta
from futurenews import FutureNews
with FutureNews() as client:
today = date.today()
cal = client.calendar.get("earnings", today, today + timedelta(days=30))
print(cal.data)
Example (async)¶
import asyncio
from futurenews import AsyncFutureNews
async def main():
async with AsyncFutureNews() as client:
print((await client.calendar.get("earnings", "2026-11-29", "2026-12-29")).data)
asyncio.run(main())
Equivalent request¶
curl 'https://future.news/api/v1/finance_calendar/polymarket?category=earnings&from=2026-11-29&to=2026-12-29&from_app=future-web&os=web'
About the response
Future News does not publish a schema. The library returns the payload as an ApiResponse: .data holds the "data" field (or the whole JSON when there is none) and .raw always holds the untouched JSON. Unknown fields are never dropped. Field-level models are added once sample responses are confirmed, so treat the shape as subject to change.
Related: Authentication · Errors & Cloudflare · All endpoints
Don't have a Future News account?
Sign up with our link. It's free for you and supports this library.
Build something with this data
Chipa dev team builds trading bots and tools: Bot development · ChipaX exchange · Chipa Editor · Discord