Economic Calendar Widget for Your Website

Add an economic calendar to your website

Add economic release dates, country filters and source links to your website or application. Fetch the calendar with your API key on the server, then render the view your visitors need. The example below shows how to keep your key private while building with the data.

Authenticated request
curl --fail-with-body \
  "https://www.financecalendar.com/wp-json/fc/v1/calendar?country=US,GB&impact=high&limit=5" \
  -H "X-API-Key: $FC_API_KEY"

Keep your API key in private server configuration. Data requests share your account allowance.

The example below uses the paid API contract. You can also adapt your own server-rendered widget to Free Developer’s permitted JSON schedule fields and limits. Customer-facing use is allowed within the relevant plan and source terms; a Free key does not enable hosted widgets or paid browser tools.

Authentication and account allowances

Connect your account

Use a verified account key for authenticated data requests, in X-API-Key or Authorization: Bearer. Choose Free Developer for its bounded schedule JSON or a paid plan for numerical figures, wider dates, richer routes and tools. The OpenAPI schema, current product offer and fixed recorded sample are public without a key. Create and manage keys in your account; anonymous key creation is not supported.

Authentication and account allowances

Browse the public economic calendar free. Connect apps and AI tools with paid API access from US$9.99/year. Starter includes 1,000 requests per UTC day and 25,000 per UTC calendar month. Build is US$9.99/month or US$95.90/year, with 100,000 requests per UTC day. Scale is US$29.00/month or US$278.40/year, with 1,000,000 requests per UTC day and the complete current dataset download. Free Developer provides 100 successful schedule JSON responses per UTC calendar month, up to 10 per UTC day, with one key after email verification. Use /calendar and /today for economic-release and central-bank schedules from UTC today through today+6, with country/impact filters, bounded date narrowing and up to 20 records per response. The allowance renews monthly; no card, fixed expiry or automatic paid subscription. Figures, history, wider dates/routes, CSV/ICS, hosted MCP, Data explorer and webhooks require a paid plan. Personal and customer-facing projects are allowed within these limits and applicable source terms. Annual prices are charged upfront. Paid plans renew at their selected interval until cancelled; applicable tax is included. Linked keys share one account allowance.

Inspect the recorded sample · Compare current plans. Existing subscription agreements and paid-through migration access retain their confirmed terms.

Keep keys in private server or application configuration. Do not put them in public HTML, client JavaScript, spreadsheet cells, iframe URLs or query strings. For the shell examples below, enter your real key privately:

read -r -s FC_API_KEY
export FC_API_KEY

Missing or invalid credentials return 401; revoked or disallowed access returns 403; exhausted allowance returns 429. Key validation or data unavailability can return 503. Respect Retry-After when supplied. Credentialed responses are private/no-store; do not treat them as public CDN content. Retain Finance Calendar attribution and each record’s source rights.

The API key authenticates the website or application owner. People viewing a public server-rendered calendar do not need Finance Calendar accounts. Public commercial display is allowed with the required attribution and applicable source terms. The signed-in guard in the example below is an optional private-application pattern, not an additional Finance Calendar licensing requirement. For a public display, fetch the approved records on your server with your owner key and render the data and credits without exposing the key or creating an unrestricted API relay.

Keep the key on your server

A public script tag or iframe cannot privately attach your account header. Do not add a key to its URL, public HTML or browser JavaScript. Call the API from your server using the site owner’s account key. You may render permitted records on a public page with the required credits. The protected helper below illustrates a separate private-application use case; it can also return data through that application’s own restricted backend route.

Server-side calendar helper

// Node.js 20+; call only after verifying your application's user session.
export async function loadCalendar(authenticatedUser) {
  if (!authenticatedUser?.id) throw new Error("Sign in to continue");
  const key = process.env.FC_API_KEY;
  if (!key) throw new Error("FC_API_KEY is required on the server");
  const url = new URL("https://www.financecalendar.com/wp-json/fc/v1/calendar");
  url.search = new URLSearchParams({ country: "US,GB", impact: "high", limit: "100" });
  const response = await fetch(url, {
    headers: { "X-API-Key": key }, cache: "no-store"
  });
  if (!response.ok) throw new Error("Calendar API returned HTTP " + response.status);
  return response.json(); // Keep attribution and record-level source evidence.
}

This is an integration helper, not a new public proxy endpoint. The authenticatedUser value must come from your verified server session, never from a browser-supplied field. For this private-application example, its route must enforce the application’s authorization, control request volume, validate allowed filters, handle upstream errors and use private/no-store responses. This guard is not a requirement for viewers of a permitted public server-rendered display. Never return the API key.

Render the records accurately

Show the recorded event name, date, nullable exact time, impact and recorded results. Use text rendering rather than injecting source strings as HTML. Date-only records and publication windows must remain date-only or ranges; a missing actual or consensus is unknown, not zero. Show stale/source status where available and link to publisher evidence.

Hosted platforms and static sites

If your hosting setup cannot keep a server credential private, link to the public Finance Calendar website instead of putting a key in an embed. Public pages may display permitted data fetched by their server under the owner’s authenticated API access. The guarded helper shown here is for a private application; it is not a universal visitor-login requirement. No new Finance Calendar endpoint is provided by this guide.

Attribution and terms

Retain a visible link to Finance Calendar and all record-level source_license and source_rights notices. Commercial use is subject to applicable source terms. Paid plans increase allowances; they do not remove attribution requirements or fill missing data. See plans and service terms.

Build with the calendar behind the data.

Choose a plan, confirm your account and create an API key. Check the source coverage for the records your workflow needs.