Target Product API
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.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Target Product API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
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.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | JSON body requires url; optional body fields: store_id. Optional query parameter: timeout (greater than 0, at most 90 seconds). |
| Selected implementation | litescrape · Target Product |
| Billing | See the pricing area for the selected implementation and request options |
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. |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request POST \
https://api.openany.si/v1/agent-apis/litescrape/api/target/product \
-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"}'
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published Target Product API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent Target Product · POST · View API reference | $0.00015 / call | 0 | —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: 4. 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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
url | JSON request bodybody | string | Yes | Public HTTPS product URL on this retailer's site. minLength: 1 · maxLength: 4096 |
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. |
Required markers inside a nested object or variant apply when that object or variant is used.
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
Agent integration
Copy the resource contract without sharing an API key.
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" }