
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 theoptions object.
Authentication
- No Authentication
- Custom Headers
- OAuth
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. WhenpgpPrivateKey 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:- Query Parameter
- Body Parameter
- Hypermedia Attribute
- Page Token
- Link Header
- Entry Token
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
- Reelevant sends an HTTP request to the configured URL with the specified method, headers, and body.
- If pagination is configured, subsequent pages are fetched automatically.
- The response is parsed based on the detected format.
- Fields are extracted and made available for mapping.
- On subsequent syncs, the URL is re-fetched and the data is updated.