Fast JSON API for Target - product search with every filter of the site, autocomplete, categories, product details, variations, availability and pickup near a ZIP code, reviews with summaries, questions and answers, recommendations and store search.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Lists the subcategories of a category, each with its id, name, parent id, link and image. Without "category_id" it lists the top-level departments. A category id can be passed to the /search endpoint to list its products.
Request schema
Optional category id (e.g. "5xtg6" for Electronics, defaults to "root", the top-level departments).
Response schema
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/target/v1/category/list" \
-d '{"category_id":"5xtg6"}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/target/v1/category/list \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Target.