Skip to main content

Fixer Data Source

Follow the instructions below to create a new data flow that ingests data from a Fixer source in Nexla.
fixer_api.png

Fixer

Create a New Data Flow

  1. To create a new data flow, navigate to the Integrate section, and click the New Data Flow button. Then, select the desired flow type from the list, and click the Create button.

  2. Select the Fixer connector tile from the list of available connectors. Then, select the credential that will be used to connect to the Fixer instance, and click Next; or, create a new Fixer credential for use in this flow.

  3. In Nexla, Fixer data sources can be created using pre-built endpoint templates, which expedite source setup for common Fixer endpoints. Each template is designed specifically for the corresponding Fixer endpoint, making source configuration easy and efficient.
    • To configure this source using a template, follow the instructions in Configure Using a Template.

    Fixer sources can also be configured manually, allowing you to ingest data from Fixer endpoints not included in the pre-built templates or apply further customizations to exactly suit your needs.
    • To configure this source manually, follow the instructions in Configure Manually.

Configure Using a Template

Nexla provides pre-built templates that can be used to rapidly configure data sources to ingest data from common Fixer endpoints. Each template is designed specifically for the corresponding Fixer endpoint, making data source setup easy and efficient.

Endpoint Settings

  • Select the endpoint from which this source will fetch data from the Endpoint pulldown menu. Available endpoint templates are listed in the expandable boxes below. Click on an endpoint to see more information about it and how to configure your data source for this endpoint.

    Get Latest Rates

    Get the latest currency exchange rates. Depending on your subscription plan, the API's latest endpoint will return real-time exchange rate data updated every 60 minutes, every 10 minutes, or every 60 seconds.

    • Enter the three-letter currency code of your preferred base currency in the Base currency field. This is the currency against which all other currencies will be quoted. The default value is empty if not specified, which means the API will use EUR as the base currency.

    • Enter a list of comma-separated currency codes to limit output currencies in the Symbols field. This allows you to specify which currencies you want to retrieve exchange rates for. The default value is EUR,USD,GBP,JPY if not specified.

    • The endpoint uses GET requests to https://data.fixer.io/api/latest?base={base}&symbols={symbols} where {base} is the Base currency you provide and {symbols} is the Symbols you provide. The endpoint URL is automatically constructed based on the Fixer API base URL, the base currency, and the symbols.
    • The endpoint does not use pagination and returns the latest exchange rates in a single request.
    • The endpoint will return the latest exchange rates for the specified base currency and symbols. The response data is extracted from the root-level object in the API response ($), and Nexla will process the entire response structure.

    Currency codes should follow the ISO 4217 standard (e.g., USD, EUR, GBP, JPY). The base currency determines the currency against which all other currencies are quoted. If no base currency is specified, EUR is used as the default. The Symbols parameter allows you to limit the response to specific currencies, which can improve performance and reduce data transfer. The endpoint uses a static URL (iteration.type: static.url) and does not require pagination. The response data path is $, which extracts the entire root-level object from the API response. For detailed information about getting latest rates, see the Fixer API documentation.

    Get time-series data

    If supported by your subscription plan, the Fixer API's timeseries endpoint lets you query the API for daily historical rates between two dates of your choice, with a maximum time frame of 365 days.

    • Enter the start date of your preferred timeframe in the Start date field. This must be a valid date in the format YYYY-MM-DD. You can use Nexla macros like {now-1} for yesterday or {now-7} for 7 days ago. The default value is {now-1} (yesterday) if not specified.

    • Enter the end date of your preferred timeframe in the End Date field. This must be a valid date in the format YYYY-MM-DD. You can use Nexla macros like {now} for today. The default value is {now} (today) if not specified.

    • Enter the three-letter currency code of your preferred base currency in the Base currency field. This is the currency against which all other currencies will be quoted. The default value is empty if not specified, which means the API will use EUR as the base currency.

    • Enter a list of comma-separated currency codes to limit output currencies in the Symbols field. This allows you to specify which currencies you want to retrieve exchange rates for. The default value is EUR,USD,GBP,JPY if not specified.

    • The endpoint uses GET requests to https://data.fixer.io/api/timeseries?from={start_date}&to={end_date}&base={base}&symbols={symbols} where {start_date} is the Start date, {end_date} is the End Date, {base} is the Base currency, and {symbols} is the Symbols you provide. The endpoint URL is automatically constructed based on the Fixer API base URL and all the parameters.
    • The endpoint does not use pagination and returns all historical rates for the specified date range in a single request.
    • The endpoint will return daily historical exchange rates for the specified date range, base currency, and symbols. The response data is extracted from the root-level object in the API response ($), and Nexla will process the entire response structure.

    The time-series endpoint requires a subscription plan that supports historical data access. The maximum time frame for a single query is 365 days. Date values must be in the format YYYY-MM-DD. Currency codes should follow the ISO 4217 standard (e.g., USD, EUR, GBP, JPY). The base currency determines the currency against which all other currencies are quoted. If no base currency is specified, EUR is used as the default. The endpoint uses a static URL (iteration.type: static.url) and does not require pagination. The response data path is $, which extracts the entire root-level object from the API response. For detailed information about getting time-series data, see the Fixer API documentation.

Endpoint Testing

Once the selected endpoint template has been configured, Nexla can retrieve a sample of the data that will be fetched according to the current settings. This allows users to verify that the source is configured correctly before saving.

  • To test the current endpoint configuration, click the Test button to the right of the endpoint selection menu. Sample data will be fetched & displayed in the Endpoint Test Result panel on the right.

  • If the sample data is not as expected, review the selected endpoint and associated settings, and make any necessary adjustments. Then, click the Test button again, and check the sample data to ensure that the correct information is displayed.

Configure Manually

Fixer data sources can be manually configured to ingest data from any valid Fixer API endpoint. Manual configuration provides maximum flexibility for accessing endpoints not covered by pre-built templates or when you need custom API configurations.

With manual configuration, you can also create more complex Fixer sources, such as sources that use chained API calls to fetch data from multiple endpoints or sources that require custom authentication headers or request parameters.

API Method

  1. To manually configure this source, select the Advanced tab at the top of the configuration screen.

  2. Select the API method that will be used for calls to the Fixer API from the Method pulldown menu. The most common methods are:

    • GET: For retrieving data from the API
    • POST: For sending data to the API or triggering actions
    • PUT: For updating existing data
    • PATCH: For partial updates to existing data
    • DELETE: For removing data

API Endpoint URL

  1. Enter the URL of the Fixer API endpoint from which this source will fetch data in the Set API URL field. This should be the complete URL including the protocol (https://) and any required path parameters. Fixer API endpoints typically follow the pattern https://data.fixer.io/api/{endpoint_path}.

Ensure the API endpoint URL is correct and accessible with your current credentials. You can test the endpoint using the Test button after configuring the URL. The endpoint requires API Key authentication via the access_key query parameter, which is handled automatically by your credential configuration. For detailed information about Fixer API endpoints and available APIs, see the Fixer API documentation.