# Amazon No API module

#### Why this module?

Content Egg already includes an [Amazon API module](https://ce-docs.keywordrush.com/modules/affiliate/amazon). However, Amazon’s requirements can be challenging for beginners:

* You must refer **3 qualified sales within 180 days** of opening your Associates account to receive initial API access.
* After that, you must generate [**10 sales in the last 30 days**](https://www.keywordrush.com/blog/amazon-pa-api-associatenoteligible-error-is-there-a-new-10-sales-rule/) to keep API access active.

Because these rules often prevent new users from working with the API, we created the **Amazon NoAPI** module. It allows beginners to start building their sites and adding Amazon products right away—without waiting for API approval.

#### How it works

The Amazon NoAPI module operates as a web scraper. Since Amazon may temporarily block server IPs when they detect too many requests, we recommend using the built-in integrations with third-party scraping services:

* [ScrapingDog](https://www.keywordrush.com/go/scrapingdog)
* ScrapeOwl
* [ScraperAPI](https://keywordrush.com/go/scraperapi)
* Crawlbase

{% hint style="warning" %}
These services are paid, but each provides **free monthly quotas** (typically around 1,000 requests per month), which is enough for most small and medium sites.
{% endhint %}

{% hint style="success" %}
**Tip:** You can add multiple scraping service API keys in the module settings. Content Egg will then randomly rotate between them, helping you stay within each service’s free limits and reducing the risk of throttling.
{% endhint %}

{% hint style="info" %}
This module is intended for beginners, allowing them to start working on their website. After achieving three sales and receiving an API key, it's recommended to switch to the [Amazon module](https://ce-docs.keywordrush.com/modules/affiliate/amazon) via the official API.
{% endhint %}

### Price updates

For sites displaying product prices, Amazon mandates daily price updates. However, due to the challenges of web scraping, **price display and updates are disabled by default** in the NoAPI module. You can enable them in the module settings if needed.

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2FCWfZ64W3rQgzLomke99b%2Fimage.png?alt=media&#x26;token=d33ddc70-6721-449e-b680-805f9cab93fc" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Once you have API access and have configured the Amazon API module, you can delegate the task of updating prices to the Amazon module via the Product Advertising API.
{% endhint %}

<figure><img src="https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M3fnB7iKYwDc1Xhr3H3%2Fuploads%2FtODFVHIfuQR43IonskR4%2Fimage.png?alt=media&#x26;token=5d47f10c-da8b-4db8-bc62-37c20a4890b0" alt=""><figcaption></figcaption></figure>

### How to get Associate Tag

To obtain an Associate Tag, refer to [Becoming an Associate](https://webservices.amazon.com/paapi5/documentation/troubleshooting/sign-up-as-an-associate.html).

### Search by ASIN or URL

To find the right product, you can search using product URLs or ASINs. This method requires far fewer queries to the source site compared to a keyword search.

![](https://4254262503-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M3fnB7iKYwDc1Xhr3H3%2F-Md5vlT34OeV0Oi7Yudp%2F-Md5wWjKzJDxgo6Jpr3F%2F%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5.png?alt=media\&token=1b47c68e-50c8-469d-8117-2e18bc7fb0cb)

### Multiple locales

Read more: <https://ce-docs.keywordrush.com/modules/affiliate/amazon#multiple-locales>

### Troubleshooting

#### Prices in the plugin do not match the prices on the Amazon site.

Amazon may display different prices based on the visitor's location. If you're using a scraping service, the bot may be assigned a random country, leading to price discrepancies.

To resolve this, you can add a specific parameter to your request to filter by country. For example, to use DE-based IPs, add the following code to your theme's `functions.php` file:

```php
// For ScraperAPI
add_filter('cegg_amazon_client_url', 'my_cegg_amazon_client_url', 10, 1);
function my_cegg_amazon_client_url($url) {
    return add_query_arg('country_code', 'de', $url);
}

// For ScrapingDog
add_filter('cegg_amazon_client_url', 'my_cegg_amazon_client_url', 10, 1);
function my_cegg_amazon_client_url($url) {
    return add_query_arg('country', 'de', $url);
}
```
