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

AutoZone Search

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

Search AutoZone auto parts by keyword, optionally for a specific vehicle and store, with part number, brand, 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 · 15 tùy chọn

Phòng thử nghiệm

Đầu vào
Parameter defines the query you want to search. You can use anything that you would use in a regular AutoZone search (e.g., `oil filter`, `brake pads`, or a part number like `S9972`).
Parameter defines the AutoZone store to search (e.g., `4254`). The store changes the order of the results and adds their `in_store_pickup` availability. It defaults to `6997`, the store AutoZone uses when no store is selected.
Parameter defines the year of the vehicle to find parts for (e.g., `2015`). Parameter requires `vehicle_make` and `vehicle_model` parameters to also be set.
Parameter defines the make of the vehicle, as named on AutoZone (e.g., `Toyota`). Parameter requires `vehicle_year` and `vehicle_model` parameters to also be set.
Parameter defines the model of the vehicle, as named on AutoZone (e.g., `Camry`). Parameter requires `vehicle_year` and `vehicle_make` parameters to also be set.
Parameter defines the engine of the vehicle, as named on AutoZone (e.g., `4 Cylinders 2.5L GAS`). Parameter requires `vehicle_year`, `vehicle_make`, and `vehicle_model` parameters to also be set.
Parameter defines the submodel of the vehicle, as named on AutoZone (e.g., `LE`). Without it, parts that only fit some submodels have a `fitment: needs_more_info`. Parameter requires `vehicle_year`, `vehicle_make`, and `vehicle_model` parameters to also be set.
Parameter defines the type of the vehicle. It defaults to `car_truck` when `vehicle_year`, `vehicle_make`, and `vehicle_model` are set. Available options: `car_truck` - Car & Truck `motorcycle` - Motorcycle `recreational` - Recreational Parameter requires `vehicle_year`, `vehicle_make`, and `vehicle_model` parameters to also be set.
Parameter defines the sorting of the results. It defaults to `featured`. Available options: `featured` - Featured `price_low` - Price (low to high) `price_high` - Price (high to low) `recently_added` - Recently Added `rating_high` - Customer Rating `best_seller` - Best Sellers
Parameter defines the filters to apply. It's a comma-separated list of filter values (e.g., `sub_brand_name_display_s:Duralast,avg_rating_range_ss:2~4 TO *~4 and up` for **Duralast** with **4 stars and up**). Filter values are available in `filters[].options[].value` of the results when `include_filters` is set to `true`.
Parameter defines the minimum price of the products, in whole US dollars (e.g., `20`).
Parameter defines the maximum price of the products, in whole US dollars (e.g., `50`).
Value is used to get results on a specific page. (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 number of results per page, between `1` and `100`. It defaults to `24`.
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.
Parameter defines whether to include the `filters` of the search in the JSON response, with the values to use in `facet`. It can be set to `true` or `false` (default).
Đầ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

AutoZone Search

Search AutoZone auto parts by keyword, optionally for a specific vehicle and store, with part number, brand, price, rating and availability.

Request

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

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

Parameters

NameTypeRequiredDescription
qstringYesParameter defines the query you want to search. You can use anything that you would use in a regular AutoZone search (e.g., oil filter, brake pads, or a part number like S9972).
store_idstringNoParameter defines the AutoZone store to search (e.g., 4254). The store changes the order of the results and adds their in_store_pickup availability. It defaults to 6997, the store AutoZone uses when no store is selected.
vehicle_yearstringNoParameter defines the year of the vehicle to find parts for (e.g., 2015). Parameter requires vehicle_make and vehicle_model parameters to also be set.
vehicle_makestringNoParameter defines the make of the vehicle, as named on AutoZone (e.g., Toyota). Parameter requires vehicle_year and vehicle_model parameters to also be set.
vehicle_modelstringNoParameter defines the model of the vehicle, as named on AutoZone (e.g., Camry). Parameter requires vehicle_year and vehicle_make parameters to also be set.
vehicle_enginestringNoParameter defines the engine of the vehicle, as named on AutoZone (e.g., 4 Cylinders 2.5L GAS). Parameter requires vehicle_year, vehicle_make, and vehicle_model parameters to also be set.
vehicle_submodelstringNoParameter defines the submodel of the vehicle, as named on AutoZone (e.g., LE). Without it, parts that only fit some submodels have a fitment: needs_more_info. Parameter requires vehicle_year, vehicle_make, and vehicle_model param
vehicle_typestringNoParameter defines the type of the vehicle. It defaults to car_truck when vehicle_year, vehicle_make, and vehicle_model are set. Available options: car_truck - Car & Truck motorcycle - Motorcycle recreational - Recreational Par
sortstringNoParameter defines the sorting of the results. It defaults to featured. Available options: featured - Featured price_low - Price (low to high) price_high - Price (high to low) recently_added - Recently Added rating_high - Custome
facetstringNoParameter defines the filters to apply. It's a comma-separated list of filter values (e.g., sub_brand_name_display_s:Duralast,avg_rating_range_ss:2~4 TO *~4 and up for Duralast with 4 stars and up). Filter values are available in
min_pricestringNoParameter defines the minimum price of the products, in whole US dollars (e.g., 20).
max_pricestringNoParameter defines the maximum price of the products, in whole US dollars (e.g., 50).
pagestringNoValue is used to get results on a specific page. (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.).
psstringNoParameter defines the number of results per page, between 1 and 100. It defaults to 24.
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.
include_filtersstringNoParameter defines whether to include the filters of the search in the JSON response, with the values to use in facet. It can be set to true or false (default).

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
AutoZone$0.01 mỗi lần gọiJSON
AutoZone$0.01 mỗi lần gọiJSON
AutoZone$0.012 mỗi lần gọiJSON bất đồng bộ

Câu hỏi

FAQ

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

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

Bắt buộc: q (string). Tùy chọn: store_id (string), vehicle_year (string), vehicle_make (string), vehicle_model (string), vehicle_engine (string) và vehicle_submodel (string) và 9 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API AutoZone 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 AutoZone không?

Không. AutoZone 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 AutoZone.