Skip to main content

Recurly

This page contains the setup guide and reference information for the Recurly source connector. The connector reads data from the Recurly v3 API (version v2021-02-25).

Prerequisites​

  • A Recurly site
  • A Recurly user with a role that includes the Integration permission, so you can view API credentials
  • A private API key for the site you want to sync

Setup guide​

Create a private API key in Recurly, then configure your Airbyte source with that key and the optional settings below.

Set up Recurly​

  1. Sign in to Recurly as a user with the Integration permission.
  2. Go to Integrations > API Credentials.
  3. Copy an existing private API key, or add a new private key for Airbyte.

Recurly private API keys grant full access to your site's data, and Recurly doesn't offer read-only keys. Creating a dedicated key for Airbyte lets you revoke its access without affecting other integrations. For more information, see Generate an API key.

Set up the Recurly connector in Airbyte​

  1. In Airbyte, go to Sources and add a new source. Select Recurly.
  2. For API Key, paste the private API key you copied in Recurly.
  3. (Optional) For Start Date, enter the UTC date and time to start replicating data from, in the format YYYY-MM-DDTHH:mm:ssZ. If you leave it empty, the connector replicates the last five years of data.
  4. (Optional) For End Date, enter the UTC date and time to stop replicating data at, in the format YYYY-MM-DDTHH:mm:ssZ. Records updated after this time aren't replicated. If you leave it empty, the connector replicates data up to the time of the sync.
  5. (Optional) For Number of concurrent threads, enter the number of requests the connector sends to Recurly in parallel, from 1 to 20. The default is 10.
  6. (Optional) For Days in length for each API call to get data, enter the number of days of data the connector requests at a time from the accounts stream, from 1 to 365. The default is 30. Smaller values result in more API calls but better concurrency.
  7. (Optional) Turn on Use Sandbox Environment if the API key belongs to a Recurly sandbox site. This setting defaults to off and selects the API request limit, not a different API endpoint. Sandbox sites have a lower rate limit than production sites.
  8. Click Set up source.

Supported sync modes​

The Recurly source connector supports the following sync modes:

  • Full Refresh
  • Incremental

The Export Dates, Gift Cards, External Subscriptions, External Subscription Payment Phases, and Usage Records streams support Full Refresh only. All other streams support incremental syncs. Most incremental streams use updated_at as the cursor. The Account Notes stream uses created_at.

Leaving Start Date empty sets the beginning of the date range to five years before each sync runs. To retrieve older history, enter an explicit start date. In Full Refresh mode, this moving five-year window applies on every sync, not just the first sync or a reset. With Full Refresh + Overwrite, records last updated before that window can drop out of your destination on later syncs. Set an explicit start date to retain older history.

Incremental streams use saved progress to request newer records, but some also reread accounts or coupons to find related records. Account Coupon Redemptions, Account Notes, and Billing Infos only revisit accounts updated since their previous incremental sync. Changes to records within an account can be missed if Recurly does not also update the account. Shipping Addresses rereads accounts updated within the configured date range on every sync. Unique Coupons similarly rereads bulk coupons updated within that range to find their codes; Unique Coupons Parent lists those bulk coupons.

Export Dates, Gift Cards, External Subscriptions, External Subscription Payment Phases, and Usage Records ignore Start Date and End Date. Usage Records also reads all subscriptions to find their add-ons, without filtering those subscriptions by these dates.

Supported Streams​

The Usage Records stream includes both billed and unbilled usage.

Some streams only return data when the matching feature is enabled on your Recurly site:

StreamRequired Recurly feature
Gift CardsGift cards
External Subscriptions, External Subscription Payment PhasesExternal subscriptions
Usage RecordsUsage-based billing
ItemsItem catalog, which also requires Credit Invoices

If Recurly reports that your site lacks the required feature for one of these streams or for Account Acquisitions, the connector logs a message, skips the stream, and the sync continues.

The Account Coupon Redemptions, Account Notes, Billing Infos, and Shipping Addresses streams make one request per account, so they can take longer to sync on sites with many accounts.

Limitations & Troubleshooting​

Site region​

The connector only uses the US API endpoint, https://v3.recurly.com. You cannot configure an EU endpoint. Use Sandbox Environment does not change the region.

Rate limits​

Recurly limits API requests over a sliding five-minute window. By default, production sites allow 5,000 GET requests and sandbox sites allow 2,000 requests in that window. The connector paces its requests to stay within the limit for the site type you select with Use Sandbox Environment. See Recurly API limits.

Recurly applies the limit to the whole site, but the connector only tracks its own requests. If other connections or integrations use the same Recurly site, the connector can still receive HTTP 429 responses. The connector retries rate-limited and server error responses up to five times with exponential backoff.

The Usage Records stream reads every subscription on every sync, then makes one API request per subscription add-on. On large sites, it can be slow and use a large share of the rate limit. Enable this stream only when you need usage records. If your connection automatically propagates new streams after a schema refresh, check that Usage Records wasn't selected unintentionally.

Authentication errors​

If Recurly returns HTTP 401 or 403, the sync fails with a configuration error, except when one of the streams listed above reports a missing Recurly feature. Make sure the API key is an active private key for the site you want to sync, then update the API Key field. If HTTP 403 persists with a valid key and is not a missing-feature response, check the site's access permissions with Recurly.

IP allow list​

If you use Airbyte Cloud and your organization restricts access to specific IPs, add the Airbyte Cloud IP addresses to your allow list.

Reference​

Config fields reference

Field
Type
Property name
string
api_key
integer
accounts_step_days
string
begin_time
string
end_time
boolean
is_sandbox
integer
num_workers

Changelog​

Expand to review
VersionDatePull RequestSubject
2.0.02026-11-1291302Corrected subscriptions.coupon_redemptions to an array and added date-time format to coupon and external-account timestamps. See the migration guide
1.4.02026-11-1291305Add account_acquisitions, gift_cards, external_subscriptions, external_subscription_payment_phases, usage_records and items streams
1.3.712026-11-1091303Pace requests to Recurly's published rate limits, retry rate-limited and server error responses with exponential backoff, show actionable API key errors, and accept start and end dates saved without the trailing Z
1.3.702026-11-1091708Update dependencies
1.3.692026-11-0390721Update dependencies
1.3.682026-10-2089408Update dependencies
1.3.672026-10-1388767Update dependencies
1.3.662026-10-0688013Update dependencies
1.3.652026-09-2987315Update dependencies
1.3.642026-09-2286794Update dependencies
1.3.632026-09-1586212Update dependencies
1.3.622026-09-0885632Update dependencies
1.3.612026-08-1884729Update dependencies
1.3.602026-08-1184098Update dependencies
1.3.592026-07-2883194Update to CDK 7.23.8 (fixes AirbyteCustomCodeNotPermittedError for bundled custom components) and remove the temporary Cloud version override
1.3.582026-07-281082Roll Cloud back to 1.3.56 — 1.3.57 is built on SDM 7.23.7, which breaks bundled custom components
1.3.572026-07-2883069Update dependencies
1.3.562026-07-2182560Update dependencies
1.3.552026-07-1481973Update dependencies
1.3.542026-06-3081209Update dependencies
1.3.532026-06-2380563Update dependencies
1.3.522026-06-1680005Update dependencies
1.3.512026-06-0979468Update dependencies
1.3.502026-06-0278924Update dependencies
1.3.492026-04-2877376Update dependencies
1.3.482026-04-2176720Update dependencies
1.3.472026-04-1376276Rename "concurrent workers" to "concurrent threads" in connector spec
1.3.462026-03-2475379Update dependencies
1.3.452026-03-1074639Update dependencies
1.3.442026-03-0373886Update dependencies
1.3.432026-02-1773522Update dependencies
1.3.422026-02-0372656Update dependencies
1.3.412026-01-2072016Update dependencies
1.3.402026-01-1471471Update dependencies
1.3.392025-12-1870642Update dependencies
1.3.382025-11-2570003Update dependencies
1.3.372025-11-1869622Update dependencies
1.3.362025-10-2968903Update dependencies
1.3.352025-10-2168341Update dependencies
1.3.342025-10-1467882Update dependencies
1.3.332025-10-0867545Update dependencies
1.3.322025-09-3066434Update dependencies
1.3.312025-09-0965702Update dependencies
1.3.302025-08-2465439Update dependencies
1.3.292025-08-1664996Update dependencies
1.3.282025-08-0364476Update dependencies
1.3.272025-07-2063657Update dependencies
1.3.262025-07-0763356Update Schema and add configurable concurrency
1.3.252025-07-0562679Update dependencies
1.3.242025-06-2861292Update dependencies
1.3.232025-06-2346722Fixes timestamp pattern for UI to match what connector expects
1.3.222025-05-2460470Update dependencies
1.3.212025-05-1060117Update dependencies
1.3.202025-05-0359488Update dependencies
1.3.192025-04-2759059Update dependencies
1.3.182025-04-1958512Update dependencies
1.3.172025-04-1257862Update dependencies
1.3.162025-04-0557342Update dependencies
1.3.152025-03-2956797Update dependencies
1.3.142025-03-2256238Update dependencies
1.3.132025-03-0855054Update dependencies
1.3.122025-02-2354550Update dependencies
1.3.112025-02-1554010Update dependencies
1.3.102025-02-0853507Update dependencies
1.3.92025-02-0152982Update dependencies
1.3.82025-01-2552493Update dependencies
1.3.72025-01-1851864Update dependencies
1.3.62025-01-1151351Update dependencies
1.3.52024-12-2850684Update dependencies
1.3.42024-12-2150289Update dependencies
1.3.32024-12-1449718Update dependencies
1.3.22024-12-1249333Update dependencies
1.3.12024-12-1149091Starting with this version, the Docker image is now rootless. Please note that this and future versions will not be compatible with Airbyte versions earlier than 0.64
1.3.02024-11-1348474Remove definition and schema redundancy, update to latest CDK and make compatibility with builder
1.2.02024-11-0447290Migrate to manifest only format
1.1.132024-11-0448248Update dependencies
1.1.122024-10-2847067Update dependencies
1.1.112024-10-1246829Update dependencies
1.1.102024-10-0546456Update dependencies
1.1.92024-09-2846140Update dependencies
1.1.82024-09-2145764Update dependencies
1.1.72024-09-1445471Update dependencies
1.1.62024-09-0745274Update dependencies
1.1.52024-08-3145050Update dependencies
1.1.42024-08-2444742Update dependencies
1.1.32024-08-1744210Update dependencies
1.1.22024-08-1043472Update dependencies
1.1.12024-08-0343144Update dependencies
1.1.02024-07-2440729Migrate connector to low code
1.0.122024-07-2042206Update dependencies
1.0.112024-07-1341836Update dependencies
1.0.102024-07-1041500Update dependencies
1.0.92024-07-0941174Update dependencies
1.0.82024-07-0640820Update dependencies
1.0.72024-06-2740215Replaced deprecated AirbyteLogger with logging.Logger
1.0.62024-06-2540474Update dependencies
1.0.52024-06-2240012Update dependencies
1.0.42024-06-0639178[autopull] Upgrade base image to v1.2.2
1.0.32024-04-1937246Updating to 0.80.0 CDK
1.0.22024-04-1237246schema descriptions
1.0.12024-03-0535828Bump version to unarchive supportLevel in Cloud productionDB
1.0.02024-03-0135763Re-introduce updated connector to catalog from archival repo
0.5.02024-02-2234622Republish connector using base image/Poetry, update schemas
0.4.12022-06-1013685Add state_checkpoint_interval to Recurly stream
0.4.02022-01-289866Revamp Recurly Schema and add more resources
0.3.22022-01-208617Update connector fields title/description
0.3.12022-01-109382Source Recurly: avoid loading all accounts when importing account coupon redemptions
0.3.02021-12-088468Support Incremental Sync Mode