Bowmark AIdocs

Target

Big-box general merchandise — search, product detail, store stock and store lookup on target.com.

Domain: target.com

Also known as: Target, Target.com, Target Corporation

Prefer the capability

bowmark.costume_size_check covers this provider and routes around it when it is having a bad day. Reach for this page when you need target.com specifically.

Call it directly

bowmark.providers.target.search(args: { query: string; limit?: number; offset?: number }): Promise<TargetSearchResults>
bowmark.providers.target.findStore(args: { query: string }): Promise<TargetStoreSearch>

Functions

FunctionWhat it does
searchSearches target.com's catalog for a keyword and returns one page of matching products — TCIN, title, brand, product URL, image, price (plus the pre-markdown price when the site's regular…
findStoreSearches the store-locator for nearby Targets by ZIP, partial ZIP, city, or street+city, and returns each store's id, slug, name, address, phone, time-zone and 14-day weekly hours.

Types

interface targetRow {
  id: string;
}

interface TargetStoreHoursInterval {
  begin_time: string;
  end_date: string;
  end_time: string;
}

interface TargetStoreHoursDay {
  is_open: boolean;
  date: string;
  day_name: string;
  hours: TargetStoreHoursInterval[];
}

interface TargetStoreGeoSpec {
  iso_time_zone_code: string;
  time_zone_code: string;
  time_zone_utc_offset_name: string;
}

interface TargetStore {
  id: string;
  slug: string;
  name: string;
  address: string;
  phone: string | null;
  geoSpec: TargetStoreGeoSpec | null;
  weeklyHours: TargetStoreHoursDay[];
}

interface TargetStoreSearch {
  query: string;
  stores: TargetStore[];
  warnings: string[];
}

interface TargetSearchResult {
  tcin: string;
  name: string;
  brand: string | null;
  url: string;
  image: string | null;
  price: number | null;
  wasPrice: number | null;
  availabilityStatus: string | null;
  inStock: boolean;
  rating: number | null;
  reviewCount: number;
  sponsored: boolean;
}

interface TargetSearchResults {
  query: string;
  offset: number;
  results: TargetSearchResult[];
  totalMatches: number | null;
  priceStoreId: number | null;
  warnings: string[];
}
costume_size_checkCheck one costume character's stock at one size, across Target, Walmart, and Spirit Halloween — the capability this provider backs.
retailRetail (general merchandise, multi-store) — the capability this provider backs.
school_shopping_basketPrice a school-supply list across Target and Walmart — the capability this provider backs.
bestbuyAlso backs the same capability.
spirithalloweenAlso backs the same capability.
walmartAlso backs the same capability.