Skip to content

New

New data and date helpers

Nine small functions for everyday automation tasks: convert currencies with the reference rates of the European Central Bank, validate and format phone numbers, create and verify JSON Web Tokens, split URLs and add UTM parameters, read Outlook .msg e-mails, get the ISO calendar week and check whether a date is a working day.

Key facts

Currencies
About 30 currencies with the ECB reference rates, latest or of a day in the last 90 days
Phone numbers
Valid or not, E.164, international and national format, country and type
JWT
HS256/384/512 and RS256/384/512; decode checks signature, exp and nbf
URLs
Protocol, host, domain, path, query as object, UTM parameters; build URLs with UTM parameters
E-mails
Outlook .msg to JSON with sender, recipients, body and attachments as download links
Dates
ISO 8601 calendar week; working day check with weekends and public holidays per country and state
Costs
1 credit per call (Outlook .msg: 2)
Available via
REST API (https://api.1001fx.com) with your API key – from Make, n8n, scripts and AI agents

What you can do with it

  • Show prices in the customer currency
  • Clean phone numbers before they go into a CRM
  • Sign requests to other APIs or verify tokens from webhooks
  • Add campaign tracking to links in newsletters
  • Process e-mails saved from Outlook
  • Schedule tasks on the next working day

How it works

  1. 1

    Pick the function.

  2. 2

    Send a JSON body with the values.

  3. 3

    Use the result in the next step.

Functions

Each function has its own page with all parameters, examples and a ready-to-copy curl command.

FunctionEndpointCredits
Convert Currency – ECB Exchange RatesPOST /data/convertcurrency1 credit per call
Validate Phone Number – Check and FormatPOST /data/validatephonenumber1 credit per call
Create JWT – Encode and Sign a JSON Web TokenPOST /data/jwtencode1 credit per call
Decode JWT – Read and Verify a JSON Web TokenPOST /data/jwtdecode1 credit per call
Parse URL – Get Domain, Path, Query and UTM ParametersPOST /data/parseurl1 credit per call
Build URL with UTM ParametersPOST /data/buildurl1 credit per call
MSG to JSON – Read Outlook EmailsPOST /data/msg2json2 credits per call
Get Calendar Week (ISO Week Number)POST /datetime/getcalendarweek1 credit per call
Is Working Day – Weekend and Public Holiday CheckPOST /datetime/isworkingday1 credit per call

Example

A call of https://api.1001fx.com/datetime/isworkingday. Replace YOURSECRETAPIKEY with your API key.

Is Working Day – Weekend and Public Holiday Check
curl -X POST 'https://api.1001fx.com/datetime/isworkingday' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{"date":"2026-12-25","country":"DE","state":"BY"}'

Frequently asked questions

Where do the exchange rates come from?
From the European Central Bank. The ECB publishes reference rates on working days.
Which countries does the working day check know?
It uses the public holidays of the country and, where they differ, of the state, for example Bavaria in Germany.

About 1001fx

1001fx is a function API for no-code automation and AI agents, operated by efec AG in Germany. One API key gives access to more than 152 functions for files, PDFs, images, data, dates and AI. Learn how 1001fx works.