Skip to main content
Piloterr
Back to library

Target Search API

Search Target.com by keyword or search URL. Returns product cards with price, rating and pagination via browser rendering.

Active2 credits = 1 requestGET/v2/target/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Search products on Target.com. Pass a keyword or a Target search URL. You get product cards with name, brand, price, rating and image, plus pagination.

Browser rendering. Costs 2 credits per call.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/target/search?query=shampoo
GET https://api.piloterr.com/v2/target/search?query=root+touch+up+hair+dye
GET https://api.piloterr.com/v2/target/search?query=https://www.target.com/s?searchTerm=shampoo&page=2

ParametersLink to Parameters

Parameter Type Required Description
query string yes Keyword or Target search URL (/s?searchTerm=…)
page string no Page number (1-based)
return_page_source boolean no Return rendered HTML instead of JSON

Category URLs (/c/…) are not supported.

Response fieldsLink to Response fields

Field Type Description
results array Product cards
results[].tcin string Target product id
results[].name / brand string Title and brand
results[].url / image_url string Product link and image
results[].price / currency number / string Price in USD
results[].rating / review_count number Reviews when present
results[].sponsored boolean Sponsored listing
pagination object page, per_page, total_results, total_pages, next

Error codesLink to Error codes

Code Meaning
400 Empty query, category URL, or not Target.com
404 No products found
500 Rendering failed

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included