Target

List all Target categories

Lists Target's top-level category menu in categories, plus the grouped shop-all directory in groups. Each category has an id (the one used by /target/category-products), name, canonical URL and, when Target supplies one, an image URL. The response also gives count and group_count. Takes no parameters.

get/target/categories

Request

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

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "categories": [
      {
        "id": "5xt1a",
        "name": "Grocery",
        "url": "https://www.target.com/c/grocery/-/N-5xt1a"
      }
    ],
    "count": 29,
    "group_count": 16,
    "groups": [
      {
        "categories": [
          {
            "id": "5xt1a",
            "name": "Grocery",
            "url": "https://www.target.com/c/grocery/-/N-5xt1a"
          }
        ],
        "name": "Grocery"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.