API di Target

Target Prodotto API

Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response.

POST/v1/run/target.product
Disponibilità
100,00%
30d · 25 chiamate
Richieste
27
30 g · settimanale, ultime 12 sett.
Risposta
1,5s
mediana · 30d

Stato

Caricamento dello stato...

Ricevi le email sui guasti di questo endpoint

Vedi tutti gli endpoint nella pagina di stato

Prezzi e provider

Prezzi dell'API Target Prodotto: una sola API, 3 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Paghi
8,50 USD
0,85 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 117 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Target Prodotto in una sola richiesta

requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `availability`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.
{
  "data": {
    "items": [
      {
        "availability": "example",
        "brand": "Acme Inc",
        "category": "general",
        "currency": "USD",
        "description": "A short example description of this item.",
        "dpci": "example",
        "highlights": [
          "example"
        ],
        "image": "https://example.com/image.jpg",
        "images": [
          "https://example.com/image.jpg"
        ],
        "listPrice": 19.99,
        "packageDimensions": {
          "depth": 12.5,
          "dimensionUnit": "example",
          "height": 12.5,
          "weight": 12.5,
          "weightUnit": "example",
          "width": 1024
        },
        "price": 19.99,
        "rating": 4.6,
        "ratingCount": 5,
        "returnPolicy": "example",
        "reviewsCount": 12500,
        "specifications": [
          {
            "name": "Example title",
            "value": "19.99"
          }
        ],
        "tcin": "example",
        "title": "Example title",
        "upc": "example",
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true,
  "reason": "not_found"
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-12-04 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • urlstring

    https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920

    Target product page URL; the TCIN after /A- identifies the product (e.g. https://www.target.com/p/-/A-91863920).

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `availability`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

each itemdata.items[]

Product detail records (one per requested product URL). Populated whenever the provider has data for the entity.

  • availabilitystringpuò richiedere

    Stock status as Target reports it, e.g. "InStock", or null when the serving source does not report it.

  • brandstring

    Brand name, or null when not reported. Populated whenever the provider has data for the entity.

  • categorystringpuò richiedere

    Target category the product sits in, e.g. "Drip Coffee Makers", or null when the serving source does not report it.

  • currencystring

    Price currency code, e.g. "USD", or null when no price is shown.

  • descriptionstring

    Product description text, or null when the listing has none.

  • dpcistringpuò richiedere

    Target's in-store item number (DPCI), e.g. "072-08-0313", or null when not reported.

  • highlightsstring[]può richiedere

    Highlight bullets from the product page, or null when the serving source does not report them.

  • imagestring

    Primary product image URL. Populated whenever the provider has data for the entity.

  • imagesstring[]può richiedere

    Product image URLs, primary first. One source returns only the primary image.

  • listPricenumberpuò richiedere

    Regular price when the product is on sale, or null when it is not discounted or the serving source does not report it.

  • pricenumber

    Current price in USD, or null when the product shows no current price. Populated whenever the provider has data for the entity.

  • ratingnumberpuò richiedere

    Average customer rating, 0-5, or null when the product is unrated. One source rounds it to one decimal.

  • ratingCountintegerpuò richiedere

    Number of star ratings, including ratings left without a written review, or null when the serving source does not report it.

  • returnPolicystringpuò richiedere

    Target's return policy text for this item, or null when the serving source does not report it.

  • reviewsCountinteger

    Number of written customer reviews, or null when not reported.

  • tcinstring

    Target product id (TCIN). Target rolls a colour or size variant up to its parent product, so it can differ from the id in the requested URL. Populated whenever the provider has data for the entity.

  • titlestring

    Product title. Populated whenever the provider has data for the entity.

  • upcstringpuò richiedere

    UPC barcode as Target lists it, or null when not reported.

  • urlstring

    Target product page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.

packageDimensionsdata.items[].packageDimensions

Size and weight of the shipping package as Target lists them, or null when the serving source does not report them.

  • depthnumber

    Package depth, in dimensionUnit.

  • dimensionUnitstring

    Unit of the three dimensions, e.g. "INCH".

  • heightnumber

    Package height, in dimensionUnit.

  • weightnumber

    Package weight, in weightUnit.

  • weightUnitstring

    Unit of the weight, e.g. "POUND".

  • widthnumber

    Package width, in dimensionUnit.

each specificationdata.items[].specifications[]

The specifications table from the product page, one name and value per row, or null when the serving source does not report it.

  • namestring

    Attribute name as Target labels it, e.g. "Material".

  • valuestring

    Attribute value as Target lists it.

top level
  • foundboolean

    True when the product was found.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Target Prodotto

L'API Target Prodotto di AnyAPI restituisce dati Target come JSON normalizzato da una sola chiamata POST a /v1/run/target.product. Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response. AnyAPI instrada ogni richiesta su 3 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate Target Prodotto tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,5 secondi su 25 chiamate misurate.

Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 100,0% delle chiamate Target Prodotto tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,5 secondi su 25 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 117 chiamate Target Prodotto a 0,00085 USD ciascuna.

AnyAPI interroga la successiva delle sue 3 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/target.product con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.