Skip to main content
URL source configuration form

Overview

The URL source type fetches data from a web address. Use it for API endpoints, hosted CSV/JSON files, or any data feed accessible via HTTP/HTTPS.

Configuration

Required Fields

HTTP Options

These fields are nested under the options object.

Authentication

For publicly accessible URLs, no additional configuration is needed.

Supported File Formats

The URL source automatically detects the response format. The following formats are supported:
Compressed responses (.gz, .zip) are automatically decompressed before parsing.

PGP Decryption

The URL source supports fetching PGP-encrypted files. When pgpPrivateKey is configured, the response is decrypted before decompression and parsing. Both armored (.asc) and binary (.pgp, .gpg) encrypted files are supported.
See the PGP Decryption guide for details on key generation, supported formats, and error handling.

Pagination

For APIs that paginate their responses, the URL source supports several pagination strategies:
Increment a query parameter (page number or offset) on each request.
You can optionally set maximumPage to cap the number of pages fetched during a sync.

Runtime Variables

For API endpoints that require dynamic parameters (e.g. current date, user-specific IDs), you can define variables that are resolved at fetch time. Each variable has: Variables can be referenced in the URL, headers, body, and query parameters. This enables building dynamic URLs like https://api.example.com/products?since={{last_sync_date}}.

How It Works

  1. Reelevant sends an HTTP request to the configured URL with the specified method, headers, and body.
  2. If pagination is configured, subsequent pages are fetched automatically.
  3. The response is parsed based on the detected format.
  4. Fields are extracted and made available for mapping.
  5. On subsequent syncs, the URL is re-fetched and the data is updated.
Make sure your URL returns data in a supported format. The platform auto-detects the format from the response content type and content.