---
title: "Search Target products"
method: GET
path: "/target/search"
tags: ["Target"]
---

# Search Target products

`GET /target/search`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/target/search`
- Auth: API key in header `x-api-key`

Searches Target products and returns products plus every filter group and option available for the current result set. Pass option ids back through filter_ids as a comma-separated list. A zero total with an empty products list is a valid no-results response. The sort enum accepts `relevance`, `featured`, `price-low`, `price-high`, `rating`, `bestselling`, and `newest`.

## Query parameters

- `q` string, required
- `page` integer
- `sort` 'relevance' | 'featured' | 'price-low' | 'price-high' | 'rating' | 'bestselling' | 'newest'
- `store_id` integer
- `filter_ids` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- TargetSearchResponseDoc
  - `code` integer
  - `data` TargetSearchResponse
    - `applied_filter_ids` string[]
    - `count` integer
    - `fetched_at` string
    - `filter_groups` TargetFilterGroup[]
      - `display_name` string: Name of the filter group as Target shows it, such as `Deals`.
      - `expanded` boolean: Whether Target shows the group expanded.
      - `id` string: Target filter group id, such as `d_deals`.
      - `options` TargetFilterOption[]: Filter options in the group.
        - `display_name` string: Label of the option as Target shows it, such as `Clearance`.
        - `id` string: Target filter option id, such as `5tdv1`.
        - `selected` boolean: Whether the option is currently applied.
        - `url` string: Filter reference for the option, such as `d_deals:clearance`.
        - `value` string: Value of the option, such as `clearance`.
      - `type` string: Kind of control Target uses for the group, such as `checkbox`.
    - `page` integer
    - `page_size` integer
    - `products` TargetProductSummary[]
      - `brand` string
      - `category_id` string
      - `parent_category_id` string
      - `parent_tcin` string
      - `price` TargetPrice
        - `current` number
        - `formatted` string
        - `regular` number
        - `store_id` integer
        - `unit_formatted` string
      - `primary_image_url` string
      - `rating` TargetRating
        - `average` number
        - `rating_count` integer
        - `review_count` integer
      - `tcin` string
      - `title` string
      - `url` string
    - `query` string
    - `sort` string
    - `source_url` string
    - `store_id` integer
    - `total` integer
    - `total_pages` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
