VOOZH about

URL: https://apify.com/viralanalyzer/rakuten-affiliate-merchants

⇱ Rakuten Affiliate API - Merchants & Coupons · Apify


👁 Rakuten Affiliate API - Merchants, Coupons, Products avatar

Rakuten Affiliate API - Merchants, Coupons, Products

Pricing

from $2.00 / 1,000 item scrapeds

Go to Apify Store

Rakuten Affiliate API - Merchants, Coupons, Products

Query Rakuten Advertising APIs for affiliate merchants, products, and active coupons. You provide your own OAuth credentials or access token. Multi-network: US/UK/AU/BR/DE. Get merchant IDs, deep-links, commission data.

Pricing

from $2.00 / 1,000 item scrapeds

Rating

0.0

(0)

Developer

👁 viralanalyzer

viralanalyzer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Share

🛒 Rakuten Advertising API — Merchants, Coupons & Products (BYOC)

🔗 View on Apify Store | 🇺🇸 English | 🇧🇷 Português

Query the Rakuten Advertising Publisher API for affiliate merchants, active coupons, and product search results. BYOC (Bring Your Own Credentials) — bring your free Rakuten publisher credentials and we proxy queries with 98% margin. ToS-compliant, anti-bot immune (official API).

✨ Features

  • 3 query typesproductSearch (find products across merchants), coupons (active deals), advertisers (joinable merchants)
  • Dual auth modes — OAuth client_credentials grant OR pre-generated access token from Rakuten Developer Portal
  • XML response parsing — regex-based extractor (no lxml dependency)
  • Multi-network support — same actor queries US, UK, AU, BR, DE Rakuten networks (pass appropriate siteId)
  • Auto-pagination for productSearch (up to 1000 records per run)
  • NEVER 0 ITEMS guard — fails loud if Rakuten returns empty, never silent SUCCEEDED with no data
  • Owner-skip pattern — internal runs (owner) bypass PPE charge

🔑 BYOC setup (one-time, free, ~10 min)

  1. Sign up at https://developers.rakutenadvertising.com (or use your existing Publisher account)
  2. Applications → Create New App → copy Client ID + Client Secret
  3. Find your Site ID in Rakuten Advertising account (7-digit number)
  4. Two paths to authenticate:
    • Path A (OAuth): paste clientId + clientSecret + siteId in actor input. Actor does the OAuth client_credentials exchange automatically.
    • Path B (pre-generated token): in Developer Portal click "Generate Token" → paste resulting JWT in accessToken input. Use this if Path A fails with invalid_client (some app states require manual activation).

Limits: free tier provides standard publisher API quotas — typically 1 request/second, 10K/day. Plenty for affiliate research.

📥 Input

ParameterTypeRequiredDefaultDescription
clientIdstring (secret)Path AOAuth client ID from Applications
clientSecretstring (secret)Path AOAuth client secret
siteIdstringYesYour Publisher Site ID (~7 digits)
accessTokenstring (secret)Path BPre-generated token (skips OAuth)
queryTypeenumYesproductSearchproductSearch / coupons / advertisers
keywordstringconditionalSearch keyword (required for productSearch/coupons)
categorystringNoCategory filter (where supported)
maxResultsintegerNo1001-1000

Example input (Path B — pre-generated token, simpler)

{
"siteId":"4703080",
"accessToken":"your-token-from-rakuten-portal",
"queryType":"productSearch",
"keyword":"running shoes",
"maxResults":50
}

Example input (Path A — OAuth flow)

{
"clientId":"your-rakuten-client-id",
"clientSecret":"your-rakuten-client-secret",
"siteId":"4703080",
"queryType":"coupons",
"keyword":"fashion",
"maxResults":100
}

📤 Output

productSearch records

{
"queryType":"productSearch",
"productName":"Nike Air Max 90 - Running Shoe",
"merchantId":"39247",
"merchantName":"Nike US",
"advertiserCategory":"Athletic Apparel",
"price":"129.99",
"currency":"USD",
"salePrice":null,
"linkUrl":"https://click.linksynergy.com/...",
"imageUrl":"https://cdn.example.com/...",
"description":"...",
"sku":"AIRMAX-90-US-10",
"scrapedAt":"2026-05-15T13:45:00.000Z"
}

coupons records

{
"queryType":"coupons",
"offerId":"12345",
"merchantId":"39247",
"merchantName":"Nike US",
"offerText":"20% off Running Shoes",
"couponCode":"RUN20",
"startDate":"2026-05-01",
"endDate":"2026-05-31",
"linkUrl":"https://click.linksynergy.com/...",
"categories":["Apparel"]
}

advertisers records

{
"queryType":"advertisers",
"merchantId":"39247",
"merchantName":"Nike US",
"applicationStatus":"OPEN",
"commissionTerms":"8% on sale",
"categories":["Apparel","Sports"],
"currency":"USD",
"country":"US"
}

💰 Pricing

Pay-per-event (PPE): only charged when a real record is returned. Zero results → zero charge. Owner-skip pattern ensures internal runs are not charged.

🚀 Use cases

  • Affiliate program discovery — find Rakuten merchants you can join (e.g., Nike US, Macy's, Walmart, Booking.com)
  • Coupon aggregation — power your coupon site with live Rakuten deals
  • Product catalog import — seed your comparison or affiliate site
  • Price intelligence — track merchant pricing across Rakuten network
  • Compliance research — survey affiliate commission terms across verticals

⚠️ Common errors

ErrorCauseFix
[RAKUTEN_AUTH] invalid_clientOAuth client not activatedUse Path B (pre-generated token) — paste JWT from Developer Portal
[RAKUTEN_AUTH] HTTP 401Token expired / wrong scopeRefresh token in Developer Portal
[RAKUTEN_API] HTTP 429Rate limit (1 req/sec free tier)Wait 60s and retry
[FAIL] Zero records returnedFilter too narrow / empty resultsTry broader keyword or queryType=advertisers

🔒 Privacy & security

Your clientSecret and accessToken are passed directly to api.linksynergy.com over HTTPS. Apify Console marks the fields as isSecret: true so the values are masked in logs and dataset. We never store, log, or proxy them through our servers.

📚 Related actors

🆕 Changelog

  • v1.0 (2026-05-14): Initial release. 3 query types, dual auth (OAuth + pre-generated JWT), XML regex parser, auto-pagination, owner-skip PPE, NEVER 0 ITEMS guard.

Português

🛒 Rakuten Advertising API — Merchants, Coupons & Products (BYOC)

Consulta a API oficial Rakuten Advertising Publisher para descobrir merchants, cupons ativos e produtos. BYOC (Bring Your Own Credentials) — você traz suas credenciais grátis Rakuten e nós fazemos as queries com margem 98%. ToS-compliant, sem anti-bot (API oficial).

Diferencial vs scraping anti-bot

  • Sem 403/429 — API oficial endorsada pelo Rakuten
  • Sem proxy residencial caro — API REST direta
  • 98% de margem PPE
  • Dados estruturados (XML parseado para JSON limpo)

✨ Funcionalidades

  • 3 tipos de consultaproductSearch (encontra produtos entre merchants), coupons (ofertas ativas), advertisers (merchants que aceitam novos publishers)
  • Dois modos de autenticação — OAuth client_credentials grant OU token de acesso pré-gerado no Rakuten Developer Portal
  • Parsing de resposta XML — extrator baseado em regex (sem dependência de lxml)
  • Suporte multi-rede — o mesmo actor consulta as redes Rakuten dos EUA, Reino Unido, Austrália, Brasil e Alemanha (passe o siteId apropriado)
  • Auto-paginação para productSearch (até 1000 registros por execução)
  • Guard NEVER 0 ITEMS — falha de forma explícita se o Rakuten retorna vazio, nunca um SUCCEEDED silencioso sem dados
  • Padrão owner-skip — execuções internas (do owner) não passam pela cobrança PPE

🔑 Setup BYOC (uma vez, grátis, ~10 min)

  1. Cadastre-se em https://developers.rakutenadvertising.com (ou use sua conta Publisher existente)
  2. Applications → Create New App → copie Client ID + Client Secret
  3. Encontre seu Site ID na conta Rakuten Advertising (número de 7 dígitos)
  4. Dois caminhos de autenticação:
    • Caminho A (OAuth): cole clientId + clientSecret + siteId no input do actor. O actor faz a troca OAuth client_credentials automaticamente.
    • Caminho B (token pré-gerado): no Developer Portal clique "Generate Token" → cole o JWT resultante no input accessToken. Use isso se o Caminho A falhar com invalid_client (alguns estados de app exigem ativação manual).

Limites: o free tier fornece as quotas padrão da API de publisher — tipicamente 1 requisição/segundo, 10K/dia. Mais que suficiente para pesquisa de afiliados.

📥 Entrada

ParâmetroTipoObrigatórioPadrãoDescrição
clientIdstring (secret)Caminho AOAuth client ID das Applications
clientSecretstring (secret)Caminho AOAuth client secret
siteIdstringSimSeu Publisher Site ID (~7 dígitos)
accessTokenstring (secret)Caminho BToken pré-gerado (pula o OAuth)
queryTypeenumSimproductSearchproductSearch / coupons / advertisers
keywordstringcondicionalPalavra-chave de busca (obrigatória para productSearch/coupons)
categorystringNãoFiltro de categoria (onde suportado)
maxResultsintegerNão1001-1000

Exemplo de input (Caminho B — token pré-gerado, mais simples)

{
"siteId":"4703080",
"accessToken":"your-token-from-rakuten-portal",
"queryType":"productSearch",
"keyword":"running shoes",
"maxResults":50
}

Exemplo de input (Caminho A — fluxo OAuth)

{
"clientId":"your-rakuten-client-id",
"clientSecret":"your-rakuten-client-secret",
"siteId":"4703080",
"queryType":"coupons",
"keyword":"fashion",
"maxResults":100
}

📤 Saída

Registros productSearch

{
"queryType":"productSearch",
"productName":"Nike Air Max 90 - Running Shoe",
"merchantId":"39247",
"merchantName":"Nike US",
"advertiserCategory":"Athletic Apparel",
"price":"129.99",
"currency":"USD",
"salePrice":null,
"linkUrl":"https://click.linksynergy.com/...",
"imageUrl":"https://cdn.example.com/...",
"description":"...",
"sku":"AIRMAX-90-US-10",
"scrapedAt":"2026-05-15T13:45:00.000Z"
}

Registros coupons

{
"queryType":"coupons",
"offerId":"12345",
"merchantId":"39247",
"merchantName":"Nike US",
"offerText":"20% off Running Shoes",
"couponCode":"RUN20",
"startDate":"2026-05-01",
"endDate":"2026-05-31",
"linkUrl":"https://click.linksynergy.com/...",
"categories":["Apparel"]
}

Registros advertisers

{
"queryType":"advertisers",
"merchantId":"39247",
"merchantName":"Nike US",
"applicationStatus":"OPEN",
"commissionTerms":"8% on sale",
"categories":["Apparel","Sports"],
"currency":"USD",
"country":"US"
}

💰 Preços

Pay-per-event (PPE): só cobra quando um registro real é retornado. Zero resultados → zero cobrança. O padrão owner-skip garante que execuções internas não sejam cobradas.

🚀 Casos de Uso

  • Descoberta de programas de afiliados — encontre merchants Rakuten aos quais você pode se filiar (ex.: Nike US, Macy's, Walmart, Booking.com)
  • Agregação de cupons — abasteça seu site de cupons com ofertas Rakuten ao vivo
  • Importação de catálogo de produtos — popule seu site de comparação ou de afiliados
  • Inteligência de preços — acompanhe os preços dos merchants na rede Rakuten
  • Pesquisa de compliance — levante os termos de comissão de afiliados entre verticais

⚠️ Erros comuns

ErroCausaSolução
[RAKUTEN_AUTH] invalid_clientOAuth client não ativadoUse o Caminho B (token pré-gerado) — cole o JWT do Developer Portal
[RAKUTEN_AUTH] HTTP 401Token expirado / escopo erradoRenove o token no Developer Portal
[RAKUTEN_API] HTTP 429Rate limit (1 req/seg no free tier)Aguarde 60s e tente de novo
[FAIL] Zero records returnedFiltro muito restrito / resultados vaziosTente um keyword mais amplo ou queryType=advertisers

🔒 Privacidade e segurança

Seu clientSecret e accessToken são passados diretamente para api.linksynergy.com sobre HTTPS. O Apify Console marca os campos como isSecret: true, de modo que os valores ficam mascarados nos logs e no dataset. Nós nunca armazenamos, logamos ou intermediamos esses valores pelos nossos servidores.

📚 Actors Relacionados

🆕 Histórico de Versões

  • v1.0 (2026-05-14): Lançamento inicial. 3 tipos de consulta, autenticação dupla (OAuth + JWT pré-gerado), parser XML por regex, auto-paginação, PPE com owner-skip, guard NEVER 0 ITEMS.

You might also like

TikTok Affiliate Products

lemur/tiktok-shop-affiliate-products

Access structured TikTok Shop affiliate product data — including pricing, commission, and sales signals — through a simple, flexible API.

Rakuten Email Scraper - Advanced, Fast & Cheapest

contacts-api/rakuten-email-scraper-fast-advanced-and-cheapest

🛒 Rakuten Email Scraper allows you to collect merchant and seller emails from Rakuten listings ⚡ Expand global eCommerce outreach 📧

👁 User avatar

Lead Heaven

2

Rakuten Discovery Scraper

getdataforme/rakuten-discovery-scraper

Rakuten Discovery Scraper extracts detailed product data from Rakuten, offering insights into availability, pricing, and more....

👁 User avatar

GetDataForMe

4

Rakuten Japan Listings Scraper

piotrv1001/rakuten-japan-listings-scraper

The Rakuten Japan Listings Scraper extracts product listings from Rakuten — capturing names, JPY prices, review scores, shop info, shipping, Rakuten points, structured tags, and category breadcrumbs — ideal for Japanese marketplace research, price monitoring, and catalog building.

👁 User avatar

FalconScrape

9

Google Shopping Scraper — Product Prices & Merchants

automation-lab/google-shopping-scraper

Compare product prices across merchants on Google Shopping: titles, prices, numeric price, merchants, ratings, delivery info, product URLs, country/language targeting, and exports.

👁 User avatar

Stas Persiianenko

152

Rakuten Japan Email Scraper

scraper-mind/rakuten-japan-email-scraper

🚀 Rakuten Email Scraper – Effortlessly extract verified Rakuten Japan emails! 🔍 Search by keywords, location & custom domains to find targeted contacts. Supports Rakuten Japan listings ✅ Proxy support for seamless scraping. 📊 Download in JSON, CSV, Excel. Perfect for lead gen & market research!

👁 User avatar

Scraper Mind

16

5.0