Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Target Search

API 문서
https://api.sandbase.ai/v1/api/target/search

Search Target products by keyword with TCIN, brand, price, sale price, rating, reviews and pickup, delivery and shipping availability.

가격
$0.015USD / 호출
메서드
POST
응답
비동기 JSON
매개변수
필수 1개 · 선택 사항 11개

Playground

입력
The query you want to search. You can use anything that you would use in a regular Target search (e.g., `coffee`, `65 inch tv`, or `lego star wars`).
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.). Target returns up to 24 results per page, plus sponsored products, and up to 50 pages.
The sorting of the results. It defaults to `relevance`. Available options: `relevance` - Relevance `featured` - Featured `price_low` - Price: low to high `price_high` - Price: high to low `rating_high` - Guest rating `best_seller` - Bestselling `newest` - Newest Target only shows sponsored products when results are sorted by `relevance`.
The filters to apply, like Target's filters (e.g., deals, brands, sizes, colors, or guest ratings). It's a comma-separated list of filter IDs (e.g., `5tdv0,4yagy` for Sale and Dark Roast). Filter IDs are available in `filters[].options[].id` of the results when `include_filters` is set to `true`. Like on Target, a search without filters can be filtered automatically by Target (e.g., Brand: LEGO for `lego`), as shown in `applied_filters`. Setting `facet` replaces these filters with yours.
Whether to fix the spelling of misspelled queries, like Target. It can be set to `true` (default) to search for the spelling fix (e.g., `coffee` for `cofee`), as shown in `search_information.spelling_fix`, or `false` to search for the query as typed, like Target's Search instead for link.
The Target store to get prices and availability for, like the store selected on Target (e.g., `1375` for Mpls Nicollet Mall, MN). The store ID is the number at the end of the store's page URL on Target (e.g., `https://www.target.com/sl/mpls-nicollet-mall/1375`). It defaults to `1771` (Cedar Rapids South, IA), the store Target uses when it can't locate the visitor.
The maximum price of the products, in US dollars (e.g., `50`).
The minimum price of the products, in US dollars (e.g., `10`).
The category to search in (e.g., `hz89j` for Kitchen & Dining). Category IDs are available in the `Category` filter of the results when `include_filters` is set to `true`.
The US ZIP code to deliver to (e.g., `10001`). It's used for the shipping dates and the same day delivery availability. It defaults to the location of the store.
Whether to include the `filters` of the search in the JSON response, with the IDs to use in `facet` and `category_id`. It can be set to `true` or `false` (default).
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Target Search

Target Search returns Target product listings for a keyword query. Each result includes the TCIN, brand, price, rating, review count and fulfillment status for the selected store. The only required input is q.

Use cases

  • Track prices and sale prices for a product type such as wireless earbuds across result pages.
  • Compare brands by rating and review count for a keyword.
  • Check whether products are available for store pickup, same day delivery or shipping at a given store.
  • Build a list of TCINs to look up product details or monitor changes.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
q['string', 'number', 'boolean']YesThe query you want to search. You can use anything that you would use in a regular Target search (e.g., coffee, 65 inch tv, or lego star wars).
category_id['string', 'number', 'boolean']NoThe category to search in (e.g., hz89j for Kitchen & Dining). Category IDs are available in the Category filter of the results when include_filters is set to true.
delivery_zip['string', 'number', 'boolean']NoThe US ZIP code to deliver to (e.g., 10001). It's used for the shipping dates and the same day delivery availability. It defaults to the location of the store.
facet['string', 'number', 'boolean']NoThe filters to apply, like Target's filters (e.g., deals, brands, sizes, colors, or guest ratings). It's a comma-separated list of filter IDs (e.g., 5tdv0,4yagy for Sale and Dark Roast). Filter IDs are available in `fi
include_filtersstringNoWhether to include the filters of the search in the JSON response, with the IDs to use in facet and category_id. It can be set to true or false (default).
json_restrictor['string', 'number', 'boolean']NoThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
max_price['string', 'number', 'boolean']NoThe maximum price of the products, in US dollars (e.g., 50).
min_price['string', 'number', 'boolean']NoThe minimum price of the products, in US dollars (e.g., 10).
page['string', 'number', 'boolean']NoValue 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.). Target returns up to 24 results per page, plus sp
sortstringNoThe sorting of the results. It defaults to relevance. Available options: relevance - Relevance featured - Featured price_low - Price: low to high price_high - Price: high to low rating_high - Guest rating `be
spellingstringNoWhether to fix the spelling of misspelled queries, like Target. It can be set to true (default) to search for the spelling fix (e.g., coffee for cofee), as shown in search_information.spelling_fix, or false to
store_id['string', 'number', 'boolean']NoThe Target store to get prices and availability for, like the store selected on Target (e.g., 1375 for Mpls Nicollet Mall, MN). The store ID is the number at the end of the store's page URL on Target (e.g., `https://ww

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "organic_results": [
    {
      "badges": [
        "Highly rated"
      ],
      "brand": "JLab",
      "extracted_price": 14.99,
      "fulfillment": {
        "in_store": "IN_STOCK",
        "pickup": "IN_STOCK",
        "pickup_date": "2026-11-03",
        "same_day_delivery": "IN_STOCK",
        "shipping": "IN_STOCK",
        "shipping_date": "2026-11-10"
      },
      "link": "https://www.target.com/p/jlab-go-air-pop-true-wireless-bluetooth-earbuds/-/A-848…",
      "parent_tcin": "84826951",
      "position": 1,
      "price": "$14.99",
      "price_note": "When purchased online",
      "rating": 4.3,
      "reviews": 8006,
      "sponsored": true
    }
  ],
  "popular_filters": [
    {
      "facet": "m2tvk",
      "id": "m2tvk",
      "name": "Heyday",
      "serpapi_link": {
        "endpoint": "/target/search",
        "queryParams": {
          "facet": "m2tvk",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "thumbnail": "https://target.scene7.com/is/image/Target/328x328heyday141445-180822_15349758438…"
    }
  ],
  "search_information": {
    "query_displayed": "wireless earbuds",
    "store_id": "1771",
    "store_name": "Cedar Rapids South",
    "total_results": 351
  },
  "search_metadata": {
    "cached": false,
    "created_at": "2026-11-03 07:43:31 UTC",
    "id": "6ae990a3ff782343f03cff0b",
    "processed_at": "2026-11-03 07:43:31 UTC",
    "status": "Success",
    "target_url": "https://www.target.com/s?searchTerm=wireless+earbuds",
    "total_time_taken": 2
  },
  "search_parameters": {
    "engine": "target",
    "q": "wireless earbuds",
    "store_id": "1771"
  },
  "serpapi_pagination": {
    "current": 1,
    "next": {
      "endpoint": "/target/search",
      "queryParams": {
        "page": "2",
        "q": "wireless earbuds",
        "store_id": "1771"
      }
    },
    "other_pages": {
      "10": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "10",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "11": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "11",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "2": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "2",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "3": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "3",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "4": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "4",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "5": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "5",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "6": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "6",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "7": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "7",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "8": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "8",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      },
      "9": {
        "endpoint": "/target/search",
        "queryParams": {
          "page": "9",
          "q": "wireless earbuds",
          "store_id": "1771"
        }
      }
    }
  }
}

Response fields

FieldMeaning
organic_results[].tcin / organic_results[].parent_tcinThe TCIN of the listed item. parent_tcin appears on items with color or style variants and identifies the parent product.
organic_results[].title / organic_results[].brandThe product name and its brand.
organic_results[].price / organic_results[].extracted_priceThe current price as display text (such as $14.99) and as a number.
organic_results[].old_price / organic_results[].extracted_old_priceThe price before the discount, as text and as a number. These appear only on sale items, which also carry a tag such as Sale.
organic_results[].rating / organic_results[].reviewsThe average guest rating and the number of reviews.
organic_results[].fulfillmentAvailability by method: in_store, pickup, same_day_delivery and shipping, with values like IN_STOCK. It also holds pickup_date, shipping_date and free_shipping when present.
organic_results[].sponsoredWhether the result is a sponsored placement.
organic_results[].swatches[]Variants of the product, each with a name, tcin and thumbnail.
search_information.total_resultsThe number of products that match the search.
popular_filters[].facetA filter ID that you can pass in the facet parameter, with its name such as a brand or price range.

Notes

  • Use page to move through results. The serpapi_pagination.next object holds the query parameters for the next page.
  • Set include_filters to true to get the filter and category IDs that you can pass in facet and category_id.
  • Results use the store in search_information.store_id. Pass store_id to get prices and availability for another store.
  • Dates such as pickup_date and shipping_date use the YYYY-MM-DD format.

Pricing

$0.015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
Target$0.015 / 호출비동기 JSON
Target호출당 $0.00085부터JSON
Target호출당 $0.00085부터JSON

질문

FAQ

Target Search API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/target/search에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Target Search API 비용은 얼마인가요?

호출당 $0.015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Target Search API는 어떤 매개변수를 받나요?

필수: q (string | number | boolean). 선택: page (string | number | boolean), sort (any), facet (string | number | boolean), spelling (any), store_id (string | number | boolean) 및 max_price (string | number | boolean) 외 5개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Target Search API는 무엇을 반환하나요?

JSON 결과를 반환합니다. 이 엔드포인트는 비동기적으로 실행되므로, 응답에는 완료된 결과를 가져오는 방법이 안내됩니다. 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Target 개발자 계정이나 API 키가 필요한가요?

아니요. Target Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Target API 액세스를 별도로 신청할 필요는 없습니다.