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

Trader Joe's Search

Tài liệu API
https://api.sandbase.ai/v1/api/trader-joes/search

Search Trader Joe's products by keyword with name, price, size, category and dietary tags, filtered by store and category.

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

Phòng thử nghiệm

Đầu vào
Parameter defines the search query. You can use anything that you would use in a regular Trader Joe's search.
Parameter defines the Trader Joe's store to search in, so only products sold in this store are returned (e.g., `454` for Austin - Northwest). Head to the Trader Joe's stores page for a full list of store IDs. When it isn't set, or when no store has this ID, products sold in any store are returned.
Parameter defines the category of the products (e.g., `194` for Coffee & Tea). Head to the Trader Joe's categories page for a full list of category IDs.
Parameter defines the characteristics the products must all have. It's a comma-separated list of options (e.g., `organic,vegan`). Available options: `kosher` - Kosher `organic` - Organic `gluten_free` - Gluten Free `vegan` - Vegan `antibiotic_free` - Antibiotic Free `dairy_free` - Dairy Free `grass_fed` - Grass Fed `vegetarian` - Vegetarian `fair_trade` - Fair Trade
Parameter defines the tags the products must all have, from the Trader Joe's "fun tags" like Date Night or Cheese Board. It's a comma-separated list of options (e.g., `date_night,cheese_board`). Head to the Trader Joe's tags page for a full list of tags.
Parameter defines whether to only show the products Trader Joe's marks as new. It can be set to `true` or `false` (default).
Parameter defines the sorting order of the results. It defaults to relevance. Available options: `price_low_to_high` - Price Low to High `price_high_to_low` - Price High to Low `popularity` - Popularity
Parameter defines the page number of the results (e.g., `1` (default) is the first page of results, `2` is the 2nd page of results, etc.). Trader Joe's returns up to 15 results per page.
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

Trader Joe's Search

Search Trader Joe's products by keyword with name, price, size, category and dietary tags, filtered by store and category.

Request

curl -X POST "https://api.sandbase.ai/v1/api/trader-joes/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "coffee"}'

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

Parameters

NameTypeRequiredDescription
qstringYesParameter defines the search query. You can use anything that you would use in a regular Trader Joe's search.
store_idstringNoParameter defines the Trader Joe's store to search in, so only products sold in this store are returned (e.g., 454 for Austin - Northwest). Head to the Trader Joe's stores page for a full list of store IDs. When it isn't set, or when no s
category_idstringNoParameter defines the category of the products (e.g., 194 for Coffee & Tea). Head to the Trader Joe's categories page for a full list of category IDs.
characteristicsstringNoParameter defines the characteristics the products must all have. It's a comma-separated list of options (e.g., organic,vegan). Available options: kosher - Kosher organic - Organic gluten_free - Gluten Free vegan - Vegan `antibiot
tagsstringNoParameter defines the tags the products must all have, from the Trader Joe's "fun tags" like Date Night or Cheese Board. It's a comma-separated list of options (e.g., date_night,cheese_board). Head to the Trader Joe's tags page for a full
new_productsstringNoParameter defines whether to only show the products Trader Joe's marks as new. It can be set to true or false (default).
sort_bystringNoParameter defines the sorting order of the results. It defaults to relevance. Available options: price_low_to_high - Price Low to High price_high_to_low - Price High to Low popularity - Popularity
pagestringNoParameter defines the page number of the results (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, etc.). Trader Joe's returns up to 15 results per page.
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
Trader Joe's$0.01 mỗi lần gọiJSON
Trader Joe's$0.01 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Trader Joe's Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/trader-joes/search 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 Trader Joe's 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 Trader Joe's Search chấp nhận những tham số nào?

Bắt buộc: q (string). Tùy chọn: store_id (string), category_id (string), characteristics (string), tags (string), new_products (string) và sort_by (string) và 2 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Trader Joe's 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 Trader Joe's không?

Không. Trader Joe's 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 Trader Joe's.