Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Amazon Fresh Search

Tài liệu API
https://api.sandbase.ai/v1/api/amazon/fresh

Search Amazon Fresh grocery products for a delivery ZIP code, with title, price, unit price, rating and availability.

Giá
$0.01USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 10 tùy chọn

Phòng thử nghiệm

Đầu vào
Parameter defines the ZIP or postal code of the delivery location. Amazon Fresh shows the products, prices, and delivery options available at that location. For example, `10001` on `amazon.com`, `EC1A 1BB` on `amazon.co.uk`, or `100-0001` on `amazon.co.jp`. ZIP+4 codes aren't supported.
Parameter defines the query you want to search. You can use anything that you would use in a regular Amazon Fresh search. This parameter can't be used with the `node` parameter.
Parameter defines the Amazon domain to use. It defaults to `amazon.com`. Amazon Fresh is available on `amazon.com`, `amazon.co.uk`, `amazon.co.jp`, `amazon.it`, and `amazon.es`.
Parameter defines the language to use for the Amazon Fresh search. It's a locale name represented as <language>_<REGION>. (e.g., on amazon.com `en_US` for English, `es_US` for Spanish, or on amazon.co.jp `ja_JP` for Japanese). Head to Amazon languages for a full list of supported Amazon languages.
Parameter is used for sorting results. It defaults to `relevanceblender` (Featured). Available options: `relevanceblender` - Featured `price-asc-rank` - Price: Low to High `price-desc-rank` - Price: High to Low `review-rank` - Avg. Customer Review `date-desc-rank` - Newest Arrivals `exact-aware-popularity-rank` - Best Sellers
Parameter defines the Amazon Fresh department to browse without a search query. For example, `16318981` for **Fresh Fruits** on `amazon.com`. Department IDs are the `n:` values in `filters.department[].rh` (e.g., `n:16318981`). To switch departments while browsing, change `node` or follow the department's `the API_link`: Amazon ignores departments in `rh` while `node` is set. This parameter can't be used with the `k` parameter.
Parameter defines items filtering based on their attributes. The structure is a list of `key:value` pairs separated by `,`. For example `n:16318981,p_n_program_participation:17428820011` to filter for products in the **Fresh Fruits** department (`n:16318981`) that are **SNAP EBT Eligible** (`p_n_program_participation:17428820011`) on `amazon.com`. Use `p_36:<min>-<max>` for a price range, with prices multiplied by 100 (e.g., `p_36:300-500` for $3.00 to $5.00). Available filters depend on the query and are returned in `filters`, along with a `the API_link` to apply each of them.
Parameter defines the exclusion of results from an auto-corrected query when the original query is spelled wrong. It can be set to `true` to exclude these results, or `false` to include them (default).
Parameter defines the page number. It's used for pagination. (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, `3` is the 3rd page of results, etc.).
Parameter defines the device to use to get the results. It can be set to `desktop` (default) to use a regular browser, `tablet` to use a tablet browser (currently using iPads), or `mobile` to use a mobile browser.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Amazon Fresh Search

Search Amazon Fresh grocery products for a delivery ZIP code, with title, price, unit price, rating and availability.

Request

curl -X POST "https://api.sandbase.ai/v1/api/amazon/fresh" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"k": "milk", "delivery_zip": "10001"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
delivery_zipstringYesParameter defines the ZIP or postal code of the delivery location. Amazon Fresh shows the products, prices, and delivery options available at that location. For example, 10001 on amazon.com, EC1A 1BB on amazon.co.uk, or 100-0001 o
kstringNoParameter defines the query you want to search. You can use anything that you would use in a regular Amazon Fresh search. This parameter can't be used with the node parameter.
amazon_domainstringNoParameter defines the Amazon domain to use. It defaults to amazon.com. Amazon Fresh is available on amazon.com, amazon.co.uk, amazon.co.jp, amazon.it, and amazon.es.
languagestringNoParameter defines the language to use for the Amazon Fresh search. It's a locale name represented as <language>_<REGION>. (e.g., on amazon.com en_US for English, es_US for Spanish, or on amazon.co.jp ja_JP for Japanese). Head to Amazo
sstringNoParameter is used for sorting results. It defaults to relevanceblender (Featured). Available options: relevanceblender - Featured price-asc-rank - Price: Low to High price-desc-rank - Price: High to Low review-rank - Avg. Customer
nodestringNoParameter defines the Amazon Fresh department to browse without a search query. For example, 16318981 for Fresh Fruits on amazon.com. Department IDs are the n: values in filters.department[].rh (e.g., n:16318981). To switch de
rhstringNoParameter defines items filtering based on their attributes. The structure is a list of key:value pairs separated by ,. For example n:16318981,p_n_program_participation:17428820011 to filter for products in the Fresh Fruits depart
dcstringNoParameter defines the exclusion of results from an auto-corrected query when the original query is spelled wrong. It can be set to true to exclude these results, or false to include them (default).
pagestringNoParameter defines the page number. It's used for pagination. (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, 3 is the 3rd page of results, etc.).
devicestringNoParameter defines the device to use to get the results. It can be set to desktop (default) to use a regular browser, tablet to use a tablet browser (currently using iPads), or mobile to use a mobile browser.
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Amazon$0.01 mỗi lần gọiJSON
AmazonTừ $0.0033 mỗi lần gọiJSON
Amazon$0.00015 mỗi lần gọiJSON bất đồng bộ
Amazon$0.014286 mỗi lần gọiJSON
Amazon$0.014286 mỗi lần gọiJSON
AmazonTừ $0.00085 mỗi lần gọiJSON

Hướng dẫn:Best Amazon API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Amazon Fresh Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/amazon/fresh với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Amazon Fresh Search có giá bao nhiêu?

$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Amazon Fresh Search chấp nhận những tham số nào?

Bắt buộc: delivery_zip (string). Tùy chọn: k (string), amazon_domain (string), language (string), s (string), node (string) và rh (string) và 4 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Amazon Fresh Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Amazon không?

Không. Amazon Fresh Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Amazon.