API Target

Target Товар 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
Доступность
100,00%
30d · Вызовов: 25
Запросы
25
30 дн. · по неделям, последние недель: 12
Ответ
1,5s
медиана · 30d

Статус

Загрузка статуса...

Письма о сбоях этого эндпоинта

Все эндпоинты на странице статуса

Цены и поставщики

Цена API Target Товар: один API, поставщиков 3, и любой может заменить другого

Первым обслуживает самый дешёвый поставщик. Если он не отвечает, его заменяет следующий в том же вызове.

Вы платите
8,50 USD
0,85 USD/1 тыс. запросов, только за то, чем пользуетесь. Без ежемесячного тарифа.
Ваши первые запросы (117) бесплатны за счёт стартового баланса 0,10 USD.

Попробовать

Получите Target Товар одним запросом

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.
Открыть в
Пример ответа
Бесплатные запуски возвращают только первые результаты: 3. Пополните ключ, чтобы получить полный ответ.
{
  "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"
}

Полный справочник по параметрам и ответу: каждое поле, тип и пример для этого эндпоинта.

Справочник

Один запрос, один формат ответа.

Каждое поле, которое вы отправляете, и каждое поле, которое получаете, с реальным примером.

Проверено 2026-12-03 · доступность и задержка измерены за 30d

Тело запроса

JSON, отправляется на этот эндпоинт.

  • 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.

Вы отправляете. Небольшое тело JSON. Показанные значения это примеры, замените их своими.

Ответ

JSON, по одному примеру значения на поле.

each itemdata.items[]

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

  • availabilitystringможет потребовать

    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.

  • categorystringможет потребовать

    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.

  • dpcistringможет потребовать

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

  • highlightsstring[]может потребовать

    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[]может потребовать

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

  • listPricenumberможет потребовать

    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.

  • ratingnumberможет потребовать

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

  • ratingCountintegerможет потребовать

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

  • returnPolicystringможет потребовать

    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.

  • upcstringможет потребовать

    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.

Вы получаете. Именованные типизированные поля в одном формате, какой бы источник ни ответил.

Вопросы и ответы

Об API Target Товар

AnyAPI Target Товар API возвращает данные Target в виде нормализованного JSON одним вызовом 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 направляет каждый запрос по источникам (их 3) и автоматически переключается, если один из них отказывает. Это стоит от 0,85 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. За последние 30 дней 100,0% вызовов Target Товар через AnyAPI завершились успешно, медианное время ответа 1,5 с, измерено вызовов: 25.

Это стоит от 0,85 USD за 1000 запросов, в долларах США, без подписки и без ежемесячного минимума. Вы пополняете один кошелёк в долларах США, и каждый вызов списывает с него. По некоторым неудавшимся запросам, оплаченным из кошелька, возникают расходы на обработку; мы передаём их по себестоимости, без наценки, а сумма списания указана в ответе с ошибкой.

Fetch a Target.com product by URL and get title, price, brand, rating, description, and images in one normalized response. Ответ это нормализованный JSON с тем же конвертом, что возвращает каждый эндпоинт AnyAPI, поэтому разбор второго эндпоинта это смена URL и ничего больше.

За последние 30 дней 100,0% вызовов Target Товар через AnyAPI завершились успешно, медианное время ответа 1,5 с, измерено вызовов: 25. Это собственные измерения AnyAPI по трафику через шлюз, пересчитываемые непрерывно, а не опубликованный целевой уровень обслуживания.

Да. Новый аккаунт AnyAPI стартует с бесплатным балансом 0,10 USD, карта не нужна. Этого хватает на 117 вызовов Target Товар по 0,00085 USD за каждый.

AnyAPI в том же запросе обращается к следующему из источников (их 3), начиная с самого дешёвого, поэтому отказ одного источника не ломает ваш вызов.

Отправьте запрос POST на https://api.getanyapi.com/v1/run/target.product с вашим ключом AnyAPI в заголовке "Authorization: Bearer" и входными данными в теле JSON. Один и тот же ключ и один и тот же кошелёк работают на каждом эндпоинте AnyAPI.

Нет. Вы пополняете один предоплаченный баланс AnyAPI в долларах США, и каждый запрос списывает с него. Ежемесячного тарифа и минимума нет, а один и тот же баланс оплачивает каждый эндпоинт AnyAPI.

Да. Установите @getanyapi/sdk из npm для TypeScript или getanyapi из pip для Python. Оба вызывают любой эндпоинт AnyAPI с одним и тем же ключом, а ещё подойдёт любой HTTP-клиент.

Да. Агент может подключиться к MCP-серверу AnyAPI по адресу https://api.getanyapi.com/mcp или создать собственный бесплатный пробный ключ одним POST без аутентификации на https://api.getanyapi.com/agent/signup и вызывать этот эндпоинт по HTTP.