Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIAmazon

    amazon.offers

    Every offer for one Amazon product: each seller's price, delivery cost, condition and rating, and which offer the product page puts forward.

    Id
    amazon.offers
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/amazon.offers/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of amazon.offers
    FieldTypeDescription
    asinstringAmazon's product id: ten letters and digits, e.g. B003NR57BY (a book's is its ISBN-10).Limit: at least 10 characters, at most 10 characters.
    urlstringThe product's address instead, e.g. https://www.amazon.co.uk/dp/B00FQJGRX4; its marketplace is the one read.Limit: at most 2048 characters.
    marketplace"us" | "uk" | "de" | "in" | "ca" | "fr" | "it" | "es" | "nl" | "jp" | "au" | "mx" | "br" | "ae" | "sa" | "eg" | "tr" | "se" | "pl" | "be" | "sg"With asin: the marketplace to read, one of us (amazon.com), uk (amazon.co.uk), de (amazon.de), in (amazon.in), ca (amazon.ca), fr (amazon.fr), it (amazon.it), es (amazon.es), nl (amazon.nl), jp (amazon.co.jp), au (amazon.com.au), mx (amazon.com.mx), br (amazon.com.br), ae (amazon.ae), sa (amazon.sa), eg (amazon.eg), tr (amazon.com.tr), se (amazon.se), pl (amazon.pl), be (amazon.com.be), sg (amazon.sg). us when not given.
    pageintegerThe page of the list, from 1: the first has the offer the product page puts forward and 10 more, each later one the next 10.Limit: 1 to 50. Default: 1.
    • Give exactly one of asin and url. With asin, marketplace says where to read it (us when left out); a url names its own marketplace.
    • marketplace is us (amazon.com), uk (amazon.co.uk), de (amazon.de), in (amazon.in), ca (amazon.ca), fr (amazon.fr), it (amazon.it), es (amazon.es), nl (amazon.nl), jp (amazon.co.jp), au (amazon.com.au), mx (amazon.com.mx), br (amazon.com.br), ae (amazon.ae), sa (amazon.sa), eg (amazon.eg), tr (amazon.com.tr), se (amazon.se), pl (amazon.pl), be (amazon.com.be) or sg (amazon.sg).
    • One run reads one page of the list. Page 1 holds the offer the product page puts forward (buy_box true, first) and up to ten more; each later page holds the next ten. A page past the end ends ok with zero records.
    • Not every list sets an offer apart: a book with many used copies may have no record with buy_box true.
    • shipping is what the page says delivery costs: an amount, or its word for free. shipping_price is the amount as a number, and null for free delivery. Both are the ones Amazon shows without a delivery address.
    • fulfilled_by_amazon is true for Amazon's own offers and for sellers whose orders Amazon ships. Amazon itself has no seller_id and no seller rating.
    • condition, delivery and delivery_date are in the marketplace's own words: "Used - Very Good", "Gebraucht - Sehr gut".
    • A product nobody sells ends ok with zero records. An ASIN the marketplace does not have ends failed with not_found, and costs nothing.
    • A challenge or Amazon's error page ends the run failed with captcha or blocked, and costs nothing — see the reasons of this family.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of amazon.offers
    FieldTypeNotes
    positionintegerThe offer's place among the returned offers of this page, from 1.
    pageintegerThe page of the offer list the offer was on, from 1.
    asinstringThe ASIN of the product the offer is for.
    marketplacestringThe marketplace the list was read on, e.g. amazon.com, amazon.co.uk, amazon.de, amazon.co.jp.
    urlstringThe product's address on that marketplace.
    buy_boxbooleanTrue for the offer the product page itself puts forward (the list shows it first, apart from the others); false for every other offer. A list that sets none apart has none.
    conditionstring or nullThe condition, in the page's own words and language, e.g. "New", "Used - Very Good", "Neu".
    priceobject or nullThe offer's price, without delivery.
    amount (in price)numberThe amount as the page states it.
    currency (in price)string or nullThe ISO currency code of the amount (USD, GBP, EUR, INR, CAD, JPY, …): the one the page gives, or the marketplace's own where the page writes only its sign; null when the page gives neither.
    list_priceobject or nullThe struck-through list price shown with the offer, when there is one.
    amount (in list_price)numberThe amount as the page states it.
    currency (in list_price)string or nullThe ISO currency code of the amount (USD, GBP, EUR, INR, CAD, JPY, …): the one the page gives, or the marketplace's own where the page writes only its sign; null when the page gives neither.
    shippingstring or nullWhat delivery costs, as the page states it: an amount ("$3.99") or its word for free ("FREE", "GRATIS").
    shipping_priceobject or nullThe delivery cost as a number, when the page states an amount; null when it states free delivery or nothing.
    amount (in shipping_price)numberThe amount as the page states it.
    currency (in shipping_price)string or nullThe ISO currency code of the amount (USD, GBP, EUR, INR, CAD, JPY, …): the one the page gives, or the marketplace's own where the page writes only its sign; null when the page gives neither.
    deliverystring or nullThe delivery line, in the page's own words and language, e.g. "FREE delivery November 23 - 25."
    delivery_datestring or nullThe date or range of dates of that line, as written, e.g. "November 23 - 25".
    seller_namestring or nullWho sells the offer.
    seller_idstring or nullAmazon's id of the seller; null when the seller is Amazon itself, which has no seller profile.
    fulfilled_by_amazonboolean or nullTrue when Amazon ships the order (its own offers, and sellers who use its warehouses), false when the seller ships it, null when the page does not say.
    ships_fromstring or nullWho ships the order, as the page names it.
    seller_ratingnumber or nullThe seller's rating in stars, 0 to 5 in steps of a half, as the list shows it; null for Amazon itself and for a seller with no ratings yet.
    seller_rating_countinteger or nullHow many ratings the seller has.
    seller_positive_percentinteger or nullThe share of the seller's ratings of the last 12 months that are positive, in percent.
    fetched_atstring (date-time)When the offer list was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/amazon.offers/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"asin":"B003NR57BY"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("amazon.offers", {"asin": "B003NR57BY"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("amazon.offers", { asin: "B003NR57BY" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "amazon.offers", map[string]any{"asin": "B003NR57BY"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("amazon.offers", Map.of("asin", "B003NR57BY"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run amazon.offers --input asin=B003NR57BY

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "asin": "B003NR57BY"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "amazon.offers",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "asin": "B003NR57BY"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "position": 2,
          "page": 1,
          "asin": "B003NR57BY",
          "marketplace": "amazon.com",
          "url": "https://www.amazon.com/dp/B003NR57BY",
          "buy_box": false,
          "condition": "Used - Like New",
          "price": {
            "amount": 26.99,
            "currency": "USD"
          },
          "list_price": null,
          "shipping": "FREE",
          "shipping_price": null,
          "delivery": "FREE delivery November 23 - 25.",
          "delivery_date": "November 23 - 25",
          "seller_name": "The Surplus-Hut",
          "seller_id": "A3M71O3D0PGOID",
          "fulfilled_by_amazon": false,
          "ships_from": "The Surplus-Hut",
          "seller_rating": 4,
          "seller_rating_count": 3308,
          "seller_positive_percent": 80,
          "fetched_at": "2026-11-19T18:07:38.304592Z"
        }
      ],
      "next_cursor": null
    }

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Amazon scrapers are in their own section there.