<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Feedico</title>
    <description>The latest articles on DEV Community by Feedico (@feedico).</description>
    <link>https://dev.to/feedico</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3980784%2F3e88d84b-5947-4be1-bbcf-649e17d0fd78.jpg</url>
      <title>DEV Community: Feedico</title>
      <link>https://dev.to/feedico</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/feedico"/>
    <language>en</language>
    <item>
      <title>When do affiliate networks actually pay? CJ, Awin, Impact.com and Admitad compared (2026)</title>
      <dc:creator>Feedico</dc:creator>
      <pubDate>Sun, 29 Nov 2026 09:32:51 +0000</pubDate>
      <link>https://dev.to/feedico/when-do-affiliate-networks-actually-pay-cj-awin-impactcom-and-admitad-compared-2026-2b8d</link>
      <guid>https://dev.to/feedico/when-do-affiliate-networks-actually-pay-cj-awin-impactcom-and-admitad-compared-2026-2b8d</guid>
      <description>&lt;p&gt;We build a dashboard that pulls earnings from several affiliate network APIs, so we spend a lot of time reading payment terms. The most common question we hear from publishers is simple: "I see approved money, so why is it not in my bank yet?"&lt;/p&gt;

&lt;p&gt;The answer is different on every network. Here is a short, sourced summary for the four big ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Network&lt;/th&gt;
&lt;th&gt;Pay days&lt;/th&gt;
&lt;th&gt;Minimum&lt;/th&gt;
&lt;th&gt;You get paid when&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CJ Affiliate&lt;/td&gt;
&lt;td&gt;Around the 20th (all currencies) and around the 28th (USD, GBP, EUR)&lt;/td&gt;
&lt;td&gt;The amount you set&lt;/td&gt;
&lt;td&gt;Your closed balance reaches your minimum&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Awin&lt;/td&gt;
&lt;td&gt;1st and 15th&lt;/td&gt;
&lt;td&gt;From 20 GBP / EUR / USD (default 50)&lt;/td&gt;
&lt;td&gt;Earnings approved before the cut-off of that run&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Impact.com&lt;/td&gt;
&lt;td&gt;Threshold, or a fixed day (1st or 15th)&lt;/td&gt;
&lt;td&gt;$10&lt;/td&gt;
&lt;td&gt;Your balance passes your threshold, or on your fixed day&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Admitad&lt;/td&gt;
&lt;td&gt;Weekly, after you request it&lt;/td&gt;
&lt;td&gt;Depends on the currency&lt;/td&gt;
&lt;td&gt;You request a withdrawal from your approved balance&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  CJ Affiliate (formerly Commission Junction)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A commission &lt;strong&gt;locks on the 10th of the month after the event date&lt;/strong&gt;, unless the advertiser extends it (once, for one more pay period) or uses a custom lock date between 7 and 60 days.&lt;/li&gt;
&lt;li&gt;CJ closes the period around the 13th and the 22nd.&lt;/li&gt;
&lt;li&gt;It pays around the &lt;strong&gt;20th&lt;/strong&gt; for all currencies, and around the &lt;strong&gt;28th&lt;/strong&gt; for USD, GBP and EUR.&lt;/li&gt;
&lt;li&gt;Methods: direct deposit or Payoneer, in more than 150 currencies.&lt;/li&gt;
&lt;li&gt;CJ cannot pay earlier than its two payment dates.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why your money is late:&lt;/strong&gt; a sale from 25 March locks on 10 May, not 10 April, if the advertiser extends it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Awin
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Two runs a month, on the &lt;strong&gt;1st and the 15th&lt;/strong&gt; (next working day on weekends).&lt;/li&gt;
&lt;li&gt;The run on the 1st pays what was approved and processed &lt;strong&gt;up to the 15th of the previous month&lt;/strong&gt;. The run on the 15th pays what was approved up to the end of the previous month.&lt;/li&gt;
&lt;li&gt;You can set your threshold from 20 GBP, EUR or USD. If you never set one, the default is 50 (100 CAD/PLN, 500 SEK/NOK).&lt;/li&gt;
&lt;li&gt;Below the threshold, the balance rolls over automatically.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why your money is late:&lt;/strong&gt; an approval on 16 March misses the 1 April run and lands on 15 April.&lt;/p&gt;

&lt;h2&gt;
  
  
  Impact.com
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Minimum payout &lt;strong&gt;$10&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Two schedules: pay when your balance passes a threshold you choose, or an automatic withdrawal on the &lt;strong&gt;1st or the 15th&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Bank transfer (EFT/ACH) is free, PayPal costs 2% (capped at $20).&lt;/li&gt;
&lt;li&gt;After you change your bank details there is a &lt;strong&gt;48-hour pause&lt;/strong&gt; on withdrawals.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why your money is late:&lt;/strong&gt; a sale stays pending while the brand can still modify or reverse it, and every brand sets its own lock period.&lt;/p&gt;

&lt;h2&gt;
  
  
  Admitad
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You &lt;strong&gt;request&lt;/strong&gt; the payout yourself from your approved balance.&lt;/li&gt;
&lt;li&gt;Admitad's blog describes payment on a weekly basis after the request.&lt;/li&gt;
&lt;li&gt;Admitad may pay a reward only after the advertiser has paid Admitad, so "on hold" can last.&lt;/li&gt;
&lt;li&gt;Instant Payout (within 24 hours) exists for publishers with more than 6 months on Admitad who pass an automatic check.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What we learned from pulling this data by API
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;"Approved" never means "on the way". Each network has a cut-off, a lock date or a request step between the two.&lt;/li&gt;
&lt;li&gt;The lock date is the most useful field to watch. CJ and Impact.com expose it; most dashboards hide it.&lt;/li&gt;
&lt;li&gt;Totals across networks only make sense in one currency and with the same four stages (pending, approved, paid, declined).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;We wrote longer guides with every source linked, here: &lt;a href="https://pulse.feedico.io/guides/affiliate-network-payment-schedules" rel="noopener noreferrer"&gt;affiliate network payment schedules&lt;/a&gt;. If you track several networks, &lt;a href="https://pulse.feedico.io/" rel="noopener noreferrer"&gt;Feedico Pulse&lt;/a&gt; shows lock dates and pending, approved and paid money from all of them in one place.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Payment terms change. Each fact above comes from the network's own help centre or blog (checked November 2026). Check your own account before you rely on a date.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>affiliatemarketing</category>
      <category>api</category>
      <category>sideprojects</category>
      <category>money</category>
    </item>
    <item>
      <title>How to get commission rates from 7 affiliate networks with one API</title>
      <dc:creator>Feedico</dc:creator>
      <pubDate>Sat, 17 Oct 2026 13:43:35 +0000</pubDate>
      <link>https://dev.to/feedico/how-to-get-commission-rates-from-7-affiliate-networks-with-one-api-5693</link>
      <guid>https://dev.to/feedico/how-to-get-commission-rates-from-7-affiliate-networks-with-one-api-5693</guid>
      <description>&lt;p&gt;If you have ever built a coupon site, a cashback app or a browser extension, you know the first two weeks go to plumbing, not product. Every affiliate network has its own API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CJ&lt;/strong&gt; mixes GraphQL and XML endpoints.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Awin&lt;/strong&gt; is REST, with a rate limit of about 20 calls a minute.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Impact&lt;/strong&gt; is paginated REST, with terms stored per campaign contract.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TradeTracker&lt;/strong&gt; is SOAP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Admitad&lt;/strong&gt; writes commission rates as strings like &lt;code&gt;"5.60%, 210.00-280.00USD"&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And before any of that, you have to apply to each network and to each merchant programme, then wait for approvals.&lt;/p&gt;

&lt;p&gt;This post shows a shortcut: one &lt;strong&gt;affiliate API&lt;/strong&gt; that already normalizes seven networks, returns the commission rate for every store, and gives you tracked links you can publish today. I work on it, so take the enthusiasm with a grain of salt; the code is real and you can run it with a free token.&lt;/p&gt;

&lt;h2&gt;
  
  
  What we'll build
&lt;/h2&gt;

&lt;p&gt;A small Node script that:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Finds stores that ship to France &lt;strong&gt;and&lt;/strong&gt; allow cashback traffic.&lt;/li&gt;
&lt;li&gt;Prints what you would earn per sale at each store.&lt;/li&gt;
&lt;li&gt;Builds a tracked link that remembers which of &lt;em&gt;your&lt;/em&gt; users clicked it.&lt;/li&gt;
&lt;li&gt;Receives a signed webhook when that user's purchase is approved.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  1. Get a token
&lt;/h2&gt;

&lt;p&gt;Create a free account on the &lt;a href="https://feedico.io/partner" rel="noopener noreferrer"&gt;Feedico Partner Program&lt;/a&gt;, verify your site or app, and create an API token in Settings. Tokens start with &lt;code&gt;fdcp_&lt;/code&gt;. Keep it on your server.&lt;/p&gt;

&lt;p&gt;You don't need your own CJ, Awin or Impact account: the links run on Feedico's network accounts, and you keep 65% of each commission.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Find stores and their commission rates
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// node &amp;gt;= 18&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://partner.feedico.io/api/catalog/merchants"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;method&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"POST"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${process.env.FEEDICO_TOKEN}`&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"Content-Type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"application/json"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nb"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;stringify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;countries&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"FR"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cashback&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"allowed"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pageSize&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;merchants&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;meta&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;pct&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;min&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="sb"&gt;`${r.min}%`&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`${r.min}–${r.max}%`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`${meta.total} stores`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="n"&gt;merchants&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;rate&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;commission&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;partnerRate&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="nb"&gt;console&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;log&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rate&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="sb"&gt;`you earn ${pct(rate)}`&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"rate not published"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;m&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;goUrl&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Output (October 2026):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;9 stores
Harfington Many GEOs  you earn 4.55%       https://feedico.io/go/37060?p=…
Gshopper Many GEOs    you earn 2.6%        https://feedico.io/go/24073?p=…
Redmagic WW           you earn 1.1%        https://feedico.io/go/20543?p=…
Italiarail [CPS]      rate not published   https://feedico.io/go/21754?p=…
Alibaba WW            you earn 1.37–3.64%  https://feedico.io/go/20881?p=…
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few things are happening here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;countries: ["FR"]&lt;/code&gt;&lt;/strong&gt; returns stores targeting France, plus worldwide ones.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;cashback: "allowed"&lt;/code&gt;&lt;/strong&gt; keeps only stores whose programme explicitly allows cashback traffic. Most networks don't publish this rule, which is why the French list is short today; every store also carries &lt;code&gt;cashbackAllowed: "yes" | "limited" | "no" | "unknown"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;commission&lt;/code&gt;&lt;/strong&gt; is the part that usually takes the longest to build. Each network reports rates differently, and here they come back in one shape (example values):
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"commission"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"model"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"percent"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"rate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"min"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"max"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"partnerRate"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"min"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;4.55&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"max"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;4.55&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"cookieDays"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"validationDays"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;44&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"policies"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nl"&gt;"cashback"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"allowed"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nl"&gt;"couponSites"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"allowed"&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;rate&lt;/code&gt; is what the network pays; &lt;code&gt;partnerRate&lt;/code&gt; is your share. When a network doesn't publish a rate, the value is &lt;code&gt;null&lt;/code&gt;, not a guess.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Track which of your users clicked
&lt;/h2&gt;

&lt;p&gt;Add your own user id to the link with &lt;code&gt;sub&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;link&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="no"&gt;URL&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;merchant&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;goUrl&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;link&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;searchParams&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"sub"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"member_48213"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// an id from your database, never an e-mail&lt;/span&gt;
&lt;span class="c1"&gt;// https://feedico.io/go/37060?p=…&amp;amp;sub=member_48213&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;sub&lt;/code&gt; is stored with the click on Feedico's side and never sent to the store. It comes back in the reports (&lt;code&gt;GET /api/reports/commissions?sub=member_48213&lt;/code&gt;) and in webhooks.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Get a signed webhook when a sale is approved
&lt;/h2&gt;

&lt;p&gt;Save an HTTPS URL in your partner settings. Every time a click earns a commission, and again when the commission is approved, declined or paid, you get a POST like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"evt_1842"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"commission.approved"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"commissionId"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;912&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"sub"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"member_48213"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"approved"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"previousStatus"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"pending"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"amount"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;3.25&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"currency"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"EUR"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Verify the signature before you trust it. The header is &lt;code&gt;X-Feedico-Signature: t=&amp;lt;unix time&amp;gt;,v1=&amp;lt;hex&amp;gt;&lt;/code&gt;, an HMAC-SHA256 of &lt;code&gt;&amp;lt;t&amp;gt;.&amp;lt;raw body&amp;gt;&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;crypto&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s2"&gt;"node:crypto"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;verify&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rawBody&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;secret&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Object&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fromEntries&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;","&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;kv&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;kv&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"="&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;300&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// reject replays&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;createHmac&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"sha256"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;secret&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;update&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sb"&gt;`${p.t}.${rawBody}`&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;digest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;got&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Buffer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;from&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;v1&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"hex"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;got&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;length&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;crypto&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;timingSafeEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;got&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a cashback app, the flow is: credit &lt;em&gt;pending&lt;/em&gt; cashback on &lt;code&gt;commission.pending&lt;/code&gt;, make it available on &lt;code&gt;commission.approved&lt;/code&gt;, reverse it on &lt;code&gt;commission.declined&lt;/code&gt;. Merchants can cancel sales during their validation period (&lt;code&gt;validationDays&lt;/code&gt; above), so don't pay out earlier.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this doesn't do
&lt;/h2&gt;

&lt;p&gt;To be fair to the alternatives:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It covers 7 networks, not hundreds.&lt;/strong&gt; If you already have accounts on many networks and just want one report of your own sales, a reporting aggregator such as Strackr, wecantrack or Affluent fits better.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cashback rules are only as good as what networks publish.&lt;/strong&gt; Admitad and TradeTracker report them per programme; the others mostly don't, so those stores show &lt;code&gt;unknown&lt;/code&gt; until the network confirms.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Coupons come from network feeds and are not checkout-tested.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wrote a longer, dated comparison here: &lt;a href="https://feedico.io/best-affiliate-apis" rel="noopener noreferrer"&gt;Best affiliate APIs in 2026&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;What the API returns, and the bring-your-own-networks option: &lt;a href="https://feedico.io/affiliate-api" rel="noopener noreferrer"&gt;feedico.io/affiliate-api&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Building a cashback app: &lt;a href="https://feedico.io/cashback-apps" rel="noopener noreferrer"&gt;feedico.io/cashback-apps&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Full reference: &lt;a href="https://partner.feedico.io/docs" rel="noopener noreferrer"&gt;partner.feedico.io/docs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Using it from Claude, ChatGPT or Cursor: &lt;code&gt;npx feedico-mcp&lt;/code&gt; (&lt;a href="https://feedico.io/ai-coupon-agent" rel="noopener noreferrer"&gt;feedico.io/ai-coupon-agent&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Questions or something that doesn't work as described? Ask in the comments.&lt;/p&gt;

</description>
      <category>api</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How I Normalized 74,000+ Scattered Coupon Feeds into a Single Real-Time API (And Built a Live Sandbox)</title>
      <dc:creator>Feedico</dc:creator>
      <pubDate>Fri, 12 Jun 2026 07:52:33 +0000</pubDate>
      <link>https://dev.to/feedico/how-i-normalized-74000-scattered-coupon-feeds-into-a-single-real-time-api-and-built-a-live-img</link>
      <guid>https://dev.to/feedico/how-i-normalized-74000-scattered-coupon-feeds-into-a-single-real-time-api-and-built-a-live-img</guid>
      <description>&lt;p&gt;Hey fellow devs,&lt;/p&gt;

&lt;p&gt;If you’ve ever dealt with affiliate networks like CJ, Awin, or Impact, you already know the pain. Each network speaks a completely different language. One gives you data in a bloated XML format, another uses a weirdly nested JSON structure, and the third one updates its endpoints whenever it feels like it.&lt;/p&gt;

&lt;p&gt;A few months ago, I got sick of writing separate custom parsers for every single network just to keep a coupon directory updated.&lt;/p&gt;

&lt;p&gt;So, I decided to build a unified middleware that does the heavy lifting: aggregating, parsing, de-duplicating, and normalizing tens of thousands of affiliate data points into a single, blazing-fast API.&lt;/p&gt;

&lt;p&gt;Today, I finally rolled out the live playground for it, and I wanted to share the architecture under the hood and how it works.&lt;/p&gt;

&lt;p&gt;The Problem: The "Affiliate Spaghetti Data"&lt;br&gt;
When you pull merchant vouchers globally, you face massive inconsistency:&lt;/p&gt;

&lt;p&gt;brand_id vs merchant_name: Network A calls it "Merchant XY", Network B calls it "Merchant XY LLC".&lt;/p&gt;

&lt;p&gt;Expiry Dates: Some networks use Unix timestamps, some use YYYY-MM-DD, and others just leave it null for ongoing deals.&lt;/p&gt;

&lt;p&gt;Tracking Links: Appending custom click parameters (subID or sid) without breaking the redirect chain is a nightmare.&lt;/p&gt;

&lt;p&gt;If your database can't handle this normalization dynamically, your frontend will either render broken links or stale data.&lt;/p&gt;

&lt;p&gt;The Architecture: How It Works&lt;br&gt;
I wanted the engine to be ridiculously fast. We currently track 41,452 unique merchants and over 74,296 active coupon codes.&lt;/p&gt;

&lt;p&gt;Here is the high-level flow of the engine:&lt;/p&gt;

&lt;p&gt;The Ingestion Layer: A fleet of cron jobs (Node.js/TypeScript) fetches raw data from master affiliate APIs at staggered intervals to prevent rate-limiting.&lt;/p&gt;

&lt;p&gt;The Normalization Pipeline: Every raw coupon object passes through a strict validation schema. Names are slugified, dates are unified to a standard ISO format, and expired tokens are instantly flagged.&lt;/p&gt;

&lt;p&gt;The Storage Strategy: Instead of blasting heavy relational JOIN queries every time a user types a word, everything is indexed efficiently so it handles full-text search instantly.&lt;/p&gt;

&lt;p&gt;The Frontend Challenge: Making It Look Like an API Dashboard&lt;br&gt;
I didn't want to build just another generic "coupon site" that looks like a spam factory from 2010. Since this is a B2B SaaS platform for developers and publishers, the UI needed to feel like a Live Sandbox.&lt;/p&gt;

&lt;p&gt;I spent the last few days cooking the frontend. It uses Server-Side Rendering (SSR) for the initial payload so search engine bots don't just see a blank loading spinner, but the search itself is fully reactive.&lt;/p&gt;

&lt;p&gt;When you type a keyword or a brand name (e.g., "travelup" or "hosting"), it instantly filters through the dataset with a 300ms debounce, updating the browser URL on the fly without refreshing the page.&lt;/p&gt;

&lt;p&gt;Here is a quick look at what the dashboard looks like right now:&lt;/p&gt;

&lt;p&gt;TypeScript&lt;br&gt;
// A sneak peek into how the omni-search handles both brand and content filtering&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;filterCoupons&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;Coupon&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;cleanQuery&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;query&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toLowerCase&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;cleanQuery&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;slice&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Default fallback&lt;/span&gt;

  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;dataset&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;item&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; 
    &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;brand_name&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toLowerCase&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cleanQuery&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; 
    &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;coupon_description&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toLowerCase&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cleanQuery&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Check Out the Live Sandbox &lt;br&gt;
The project is called Feedico, and the live sandbox is officially up and running.&lt;/p&gt;

&lt;p&gt;You can break it, search for random brands, test the response speeds, or download sample raw CSV/XML exports directly from the UI:&lt;a href="https://feedico.io/live-coupon-feed" rel="noopener noreferrer"&gt;https://feedico.io/live-coupon-feed&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Feedico Live Coupon Feed &amp;amp; Sandbox&lt;/p&gt;

&lt;p&gt;If you want to see a specific query example in action (like how it renders pre-filtered data via SSR), check out this live endpoint instance: &lt;a href="https://feedico.io/live-coupon-feed" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What’s Next?&lt;br&gt;
I'm planning to open up the public API documentation next week so developers can just fetch clean, raw JSON streams by brand or keyword without scraping anything manually.&lt;/p&gt;

&lt;p&gt;I’d love to get some brutal feedback from the Dev.to community:&lt;/p&gt;

&lt;p&gt;How's the initial page load speed for you?&lt;/p&gt;

&lt;p&gt;Would you prefer Webhooks over standard REST polling for real-time coupon updates?&lt;/p&gt;

&lt;p&gt;Let me know in the comments below! Appreciate you guys reading. &lt;/p&gt;

</description>
      <category>api</category>
      <category>saas</category>
    </item>
  </channel>
</rss>
