# Target Product

Get Target Product data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by LiteScrape, pass parameters such as store_id, url, and retrieve structured data including source product identifier, product title, brand name, product description, and product price amount for store-aware product pages, and catalogue enrichment.

Documentation: https://openany.si/target/target-product/f73cf275-69d2-483c-b981-c1dd9e51acb6/
API ID: f73cf275-69d2-483c-b981-c1dd9e51acb6
Provider: litescrape
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/target/product
Page update time: 2026-12-03T02:48:49.116Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00015 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:48:48.479Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "150",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Target Product API

POST url and optional store\_id in a JSON body. product contains source identity and merchandising fields, while product.store\_availability separates selected-store stock, pickup flags and quantity from general availability.

## What You Can Build

- **Store-aware product pages**: Display stock and pickup flags beside the selected store.
- **Catalogue enrichment**: Match product IDs and source URLs to merchandising records.

## Returned Data

| Field | Meaning |
| --- | --- |
| `product.product_id` | Source product identifier. |
| `product.title` | Product title. |
| `product.brand` | Brand name. |
| `product.description` | Product description. |
| `product.price.amount` | Product price amount. |
| `product.price.currency` | Product price currency. |
| `product.original_price.amount` | Original price when present. |
| `product.availability` | General product availability. |
| `product.store_availability.in_stock` | Stock flag for the selected store. |
| `product.store_availability.pickup_available` | Pickup availability flag. |
| `product.store_availability.quantity` | Reported store quantity. |
| `search_metadata.store_id` | Selected store identifier. |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Target Product request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "timeout": {
          "type": "number",
          "description": "Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.",
          "maximum": 90
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "additionalProperties": false,
      "examples": [
        {
          "store_id": "1448",
          "url": "https://www.target.com/p/starbucks-fall-blend-medium-roast-ground-coffee-10oz/-/A-16185604"
        }
      ],
      "properties": {
        "store_id": {
          "anyOf": [
            {
              "maxLength": 8,
              "minLength": 1,
              "pattern": "^[0-9]{1,8}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Retailer's store ID. Selects the store catalog, pricing or availability where the retailer exposes it.",
          "title": "Store Id",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "label": "Store ID",
            "summary": "Retailer's store ID. Selects the store catalog, pricing or availability where the retailer exposes it."
          },
          "x-retail-store": true
        },
        "url": {
          "description": "Public HTTPS product URL on this retailer's site.",
          "maxLength": 4096,
          "minLength": 1,
          "title": "Url",
          "type": "string",
          "x-litescrape": {
            "formGroup": 0,
            "group": 0,
            "summary": "Public HTTPS product URL on this retailer's site."
          },
          "x-retail-product": {
            "hosts": [
              "www.target.com"
            ],
            "pathPattern": "/p/(?:[^/]+/)?-/A-(\\d+)/?"
          }
        }
      },
      "required": [
        "url"
      ],
      "title": "Request",
      "type": "object",
      "description": "Get a product sold by the US retailer Target, with its details, price and availability."
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "product": {
      "type": "object",
      "properties": {
        "availability": {
          "type": "string"
        },
        "brand": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "image": {
          "type": "string"
        },
        "images": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "original_price": {
          "type": "object",
          "properties": {
            "amount": {
              "type": "number"
            },
            "currency": {
              "type": "string"
            }
          }
        },
        "price": {
          "type": "object",
          "properties": {
            "amount": {
              "type": "number"
            },
            "currency": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          }
        },
        "product_id": {
          "type": "string"
        },
        "store_availability": {
          "type": "object",
          "properties": {
            "in_stock": {
              "type": "boolean"
            },
            "pickup_available": {
              "type": "boolean"
            },
            "quantity": {
              "type": "integer"
            },
            "status": {
              "type": "string"
            },
            "store_id": {
              "type": "string"
            }
          }
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "search_metadata": {
      "type": "object",
      "properties": {
        "postal_code": {
          "type": "null"
        },
        "retailer": {
          "type": "string"
        },
        "store_id": {
          "type": "string"
        },
        "store_name": {
          "type": "string"
        },
        "total_time_taken": {
          "type": "number"
        }
      }
    },
    "search_parameters": {
      "type": "object",
      "properties": {
        "store_id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "submit_feedback_for_this_response_here": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/litescrape/api/target/product' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "store_id": "1448",
  "url": "https://www.target.com/p/starbucks-fall-blend-medium-roast-ground-coffee-10oz/-/A-16185604"
}'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "product": {
    "availability": "OUT_OF_STOCK",
    "brand": "Starbucks",
    "description": "Indulge in the essence of fall with Starbucks Fall Blend Medium Roast Ground Coffee. This inviting blend features 100% Arabica coffee and notes of spice and toasted chestnut. Every sip reflects the quality, care, and taste you expect from Starbucks. Brew it hot for a classic cozy cup or create a refreshing iced coffee. This limited-time favorite is perfect for seasonal gatherings, from festive Halloween coffee moments to Thanksgiving coffee traditions around the table. Wrap yourself in the comforting flavors of fall with our fall blend. Nestlé uses Starbucks trademarks under license.",
    "image": "https://target.scene7.com/is/image/Target/GUEST_3b05e90c-481d-47eb-b68e-e141f8ec30c5",
    "images": [
      "https://target.scene7.com/is/image/Target/GUEST_7e3eeaf7-4799-4013-98cf-bcb365e489be",
      "https://target.scene7.com/is/image/Target/GUEST_7f26d0ee-a732-465a-8c32-b8cec5384047",
      "https://target.scene7.com/is/image/Target/GUEST_a7e53020-a722-40a2-b049-759296e97c79",
      "https://target.scene7.com/is/image/Target/GUEST_bcee018a-6e0e-4979-a4b1-8372d5460059",
      "https://target.scene7.com/is/image/Target/GUEST_a1d428e3-ed4a-40f9-b43b-cf871aa43b0e",
      "https://target.scene7.com/is/image/Target/GUEST_ba39ba26-d4e6-4b2a-801f-0992e689fd26"
    ],
    "original_price": {
      "amount": 12.79,
      "currency": "USD"
    },
    "price": {
      "amount": 12.79,
      "currency": "USD",
      "text": "$12.79"
    },
    "product_id": "16185604",
    "store_availability": {
      "in_stock": false,
      "pickup_available": false,
      "quantity": 0,
      "status": "OUT_OF_STOCK",
      "store_id": "1448"
    },
    "title": "Starbucks Fall Blend Medium Roast Ground Coffee - 10oz: Arabica Beans, Spice",
    "url": "https://www.target.com/p/starbucks-fall-blend-medium-roast-ground-coffee-10oz/-/A-16185604"
  },
  "search_metadata": {
    "postal_code": null,
    "retailer": "Target",
    "store_id": "1448",
    "store_name": "Lino Lakes",
    "total_time_taken": 0.875
  },
  "search_parameters": {
    "store_id": "1448",
    "url": "https://www.target.com/p/starbucks-fall-blend-medium-roast-ground-coffee-10oz/-/A-16185604"
  },
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which Target URL is accepted?
Use a public HTTPS www.target.com product URL ending in /-/A-<digits>, with the optional product-name segment before that suffix. Send the full URL in url.

### Is store_id a ZIP code?
No. store_id is an optional 1–8 digit store identifier string. Preserve store_name and other returned metadata instead of treating the store ID as a postal code.

### How should I handle out-of-stock results?
Read availability and store_availability separately. A false stock or pickup flag and a quantity of 0 represent that returned context; the presence of a price does not change them.

### Does a missing postal_code invalidate the store record?
Not by itself. Postal-code metadata can be absent even when store identity is returned; use the fields actually present rather than inventing a ZIP code.

### Where should I set the request timeout?
Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

### Can I add arbitrary parameters to the JSON body?
Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

## Available implementations
- litescrape: https://openany.si/target/target-product/f73cf275-69d2-483c-b981-c1dd9e51acb6/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
