API Target

Target Produit 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 appels
Requêtes
25
30 j · par semaine, 12 dernières sem.
Réponse
1,5s
médiane · 30d

Statut

Chargement du statut...

Recevoir les e-mails de panne de cet endpoint

Voir tous les endpoints sur la page de statut

Tarifs et fournisseurs

Tarifs de l’API Target Produit : une API, 3 fournisseurs interchangeables

Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.

Vous payez
8,50 $US
0,85 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 117 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez Target Produit en une requête

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.
Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.
{
  "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"
}

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-12-03 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet 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.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

each itemdata.items[]

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

  • availabilitystringpeut exiger

    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.

  • categorystringpeut exiger

    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.

  • dpcistringpeut exiger

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

  • highlightsstring[]peut exiger

    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[]peut exiger

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

  • listPricenumberpeut exiger

    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.

  • ratingnumberpeut exiger

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

  • ratingCountintegerpeut exiger

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

  • returnPolicystringpeut exiger

    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.

  • upcstringpeut exiger

    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.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

FAQ

À propos de l’API Target Produit

L’API Target Produit d’AnyAPI renvoie des données Target en JSON normalisé à partir d’un appel POST à /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 route chaque requête sur 3 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,85 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels Target Produit passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,5 secondes, sur 25 appels mesurés.

Elle coûte à partir de 0,85 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 100,0% des appels Target Produit passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,5 secondes, sur 25 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 117 appels Target Produit à 0,00085 $US chacun.

AnyAPI interroge la suivante de ses 3 sources dans la même requête, la moins chère d’abord, donc la panne d’une source ne fait pas échouer votre appel.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/target.product avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.