Target Product
Retrieve product with the Target API. Supply a URL. Sample fields include images and prices. Use it for catalog research or marketplace monitoring. The POST request schema also lists timeout.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Target Product
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
productobjectavailabilitystringbrandstringdescriptionstringimagestringimagesstring[]original_priceobjectamountnumbercurrencystring
priceobjectamountnumbercurrencystringtextstring
product_idstringstore_availabilityobjectin_stockbooleanpickup_availablebooleanquantityintegerstatusstringstore_idstring
titlestringurlstring
search_metadataobjectpostal_codenullretailerstringstore_idstringstore_namestringtotal_time_takennumber
search_parametersobjectstore_idstringurlstring
submit_feedback_for_this_response_herestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
product?: {
availability?: string;
brand?: string;
description?: string;
image?: string;
images?: Array<string>;
original_price?: {
amount?: number;
currency?: string;
};
price?: {
amount?: number;
currency?: string;
text?: string;
};
product_id?: string;
store_availability?: {
in_stock?: boolean;
pickup_available?: boolean;
quantity?: number;
status?: string;
store_id?: string;
};
title?: string;
url?: string;
};
search_metadata?: {
postal_code?: null;
retailer?: string;
store_id?: string;
store_name?: string;
total_time_taken?: number;
};
search_parameters?: {
store_id?: string;
url?: string;
};
submit_feedback_for_this_response_here?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Target Product · POST · View API reference | $0.00015 / call | — | —successP50— |
- Unit price
- $0.00015
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.015
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/target/product- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | 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 |
store_id | JSON request bodybody | string | null | No | Retailer's store ID. Selects the store catalog, pricing or availability where the retailer exposes it. |
url | JSON request bodybody | string | Yes | Public HTTPS product URL on this retailer's site. minLength: 1 · maxLength: 4096 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Target Product
Retrieve product with the Target API. Supply a URL. Sample fields include images and prices. Use it for catalog research or marketplace monitoring. The POST request schema also lists timeout.
## Available implementations
litescrape · Target Product: https://openany.si/markets/apis/capabilities/target-product?offering=f73cf275-69d2-483c-b981-c1dd9e51acb6 · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/apis/f73cf275-69d2-483c-b981-c1dd9e51acb6
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/target/product
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Target Product",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/target/product",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"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.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Get a product sold by the US retailer Target, with its details, price and availability.",
"json_schema": {
"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"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"store_id": "1448",
"url": "https://www.target.com/p/starbucks-fall-blend-medium-roast-ground-coffee-10oz/-/A-16185604"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 2
Review these request fields before running. Keep the published provider and request method unchanged.
timeout- 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.
body- Get a product sold by the US retailer Target, with its details, price and availability.
Terminal · cURLcurl \ '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" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "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" }