OpenAny
Get API keyAPI Key
APIScrapers

target logo
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
USE THIS API

Target Product API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Target Product API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Get a product sold by the US retailer Target, with its details, price and availability.
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.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
litescrapeCurrent
Target Product · POST · View API reference
$0.00015 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
urlJSON request bodybodystringYes

Public HTTPS product URL on this retailer's site.

minLength: 1 · maxLength: 4096

timeoutURL query parametersquerynumberNo

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_idJSON request bodybodystring | nullNo

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

Inferred from examples
  • productobject
    • availabilitystring
    • brandstring
    • descriptionstring
    • imagestring
    • imagesstring[]
    • original_priceobject
      • amountnumber
      • currencystring
    • priceobject
      • amountnumber
      • currencystring
      • textstring
    • product_idstring
    • store_availabilityobject
      • in_stockboolean
      • pickup_availableboolean
      • quantityinteger
      • statusstring
      • store_idstring
    • titlestring
    • urlstring
  • search_metadataobject
    • postal_codenull
    • retailerstring
    • store_idstring
    • store_namestring
    • total_time_takennumber
  • search_parametersobject
    • store_idstring
    • urlstring
  • submit_feedback_for_this_response_herestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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"
    }'
  3. 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"
    }

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.

Use Target Product API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.