API para Target

API para Target: Buscar

Search Target.com by keyword with optional sort, price-range, and page filters and get title, price, rating, and brand for each product in one normalized response.

POST/v1/run/target.search
Disponibilidade
91,18%
30d · 34 chamadas
Requisições
61
30d · semanal, últimas 12 sem.
Resposta
2,0s
mediana · 30d

Status

Carregando status...

Receber e-mails de falhas deste endpoint

Ver todos os endpoints na página de status

Preços e provedores

Preços do endpoint Buscar da API para Target: uma API, 2 provedores intercambiáveis

O provedor mais barato atende primeiro. Se ele falhar, o próximo assume na mesma chamada.

Você paga
US$ 8,50
US$ 0,85/mil req., só pelo que você usar. Sem plano mensal.
Suas primeiras 117 requisições são grátis com o saldo inicial de US$ 0,10.

Teste

Obtenha Buscar do Target em uma só requisição

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 `totalPages`, 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. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Abrir em
Obter chave grátis
Resposta de exemplo
Execuções grátis retornam só os primeiros 3 resultados. Recarregue uma chave para receber a resposta completa.
{
  "data": {
    "hasMore": true,
    "items": [
      {
        "brand": "Acme Inc",
        "brandUrl": "https://example.com/page",
        "category": "general",
        "currency": "USD",
        "image": "https://example.com/image.jpg",
        "images": [
          "https://example.com/image.jpg"
        ],
        "isSponsored": true,
        "listPrice": 19.99,
        "position": 1,
        "price": 19.99,
        "rating": 4.6,
        "reviewsCount": 12500,
        "tcin": "example",
        "title": "Example title",
        "url": "https://example.com/page"
      }
    ],
    "totalPages": 12500,
    "totalResults": 12500
  },
  "found": true,
  "reason": "not_found"
}

Referência completa de parâmetros e resposta - todos os campos, tipos e exemplos deste endpoint.

Referência

Uma requisição, um formato de resposta.

Cada campo que você envia e cada campo que você recebe, cada um com um exemplo real.

Última verificação em 2026-12-04 · disponibilidade e latência medidas em 30d

Corpo da requisição

JSON, enviado via POST para este endpoint.

  • querystring

    coffee maker

    Search keywords, e.g. "coffee maker" or "lego".

  • maxPricenumber

    Optional maximum product price in USD.

  • minPricenumber

    Optional minimum product price in USD.

  • pageinteger

    1-based results page of 24 products; Target serves no products past page 50. Each page is billed as one request.

  • 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 `totalPages`, 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. Naming a combination that no single source returns together is refused as invalid input, with no charge.

  • sortenum

    Result sort order; omit for Target's own relevance order (e.g. price_low sorts by lowest price first).

Você envia. Um corpo JSON pequeno. Os valores mostrados são exemplos para você trocar pelos seus.

Resposta

JSON, um valor de exemplo por campo.

datadata

Search result wrapper, or null when nothing matched.

  • hasMorebooleanpode ser exigido

    True when another page of results exists; request it with page + 1. Null when the serving source does not report it.

  • totalPagesintegerpode ser exigido

    Highest page number available for the query, or null when the serving source does not report it.

  • totalResultsinteger

    Total number of matching products Target reports for the query, or null when not reported.

each itemdata.items[]

Matching Target product records for the requested page. Populated whenever the provider has data for the entity.

  • brandstring

    Brand name, or null when not reported.

  • brandUrlstring

    Target brand page URL, or null when not reported.

  • categorystring

    Target product type the result belongs to, e.g. "Coffee Makers", or null when not reported.

  • currencystring

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

  • imagestring

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

  • imagesstring[]pode ser exigido

    All product image URLs, primary first, or null when the serving source returns only the primary image.

  • isSponsoredbooleanpode ser exigido

    True when the result is a sponsored placement, or null when the serving source does not report it.

  • listPricenumber

    Regular price when the product is on sale, or null when it is not discounted.

  • positioninteger

    1-based position of the result in this page.

  • pricenumber

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

  • ratingnumberpode ser exigido

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

  • reviewsCountinteger

    Number of customer ratings, or null when the product has none.

  • tcinstring

    Target product id (TCIN), the number after /A- in a target.com URL; use the product URL with the Target Product or Target Reviews SKU. Populated whenever the provider has data for the entity.

  • titlestring

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

  • urlstring

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

top level
  • foundboolean

    True when the search returned at least one product.

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

Você recebe. Campos nomeados e tipados, no mesmo formato, seja qual for a fonte que responder.

Dúvidas frequentes

Sobre o endpoint Buscar da API para Target

O endpoint Buscar da AnyAPI para Target retorna dados de Target em JSON normalizado com uma chamada POST para /v1/run/target.search. Search Target.com by keyword with optional sort, price-range, and page filters and get title, price, rating, and brand for each product in one normalized response. A AnyAPI distribui cada requisição entre 2 fontes, com failover automático quando uma falha. Custa a partir de US$ 0,85 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Nos últimos 30 dias, 91,2% das chamadas ao endpoint Buscar da API para Target feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,0 segundos, em 34 chamadas medidas.

Custa a partir de US$ 0,85 por mil requisições, em dólares, sem assinatura e sem mínimo mensal. Você recarrega uma carteira em dólares e cada chamada desconta dela. Algumas requisições pagas pela carteira que falham geram cobranças de processamento, que repassamos pelo custo, sem margem; a resposta de erro mostra o valor cobrado.

Search Target.com by keyword with optional sort, price-range, and page filters and get title, price, rating, and brand for each product in one normalized response. A resposta é JSON normalizado, com o mesmo envelope que todo endpoint da AnyAPI retorna, então processar um segundo endpoint é só trocar a URL, e nada mais.

Nos últimos 30 dias, 91,2% das chamadas ao endpoint Buscar da API para Target feitas pela AnyAPI tiveram sucesso, com tempo de resposta mediano de 2,0 segundos, em 34 chamadas medidas. Estas são medições da própria AnyAPI sobre o tráfego que passa pelo gateway, recalculadas continuamente, e não uma meta de nível de serviço publicada.

Sim. Uma conta nova da AnyAPI começa com US$ 0,10 de saldo grátis, sem cartão, o que cobre 117 chamadas de Buscar do Target a US$ 0,00085 cada.

A AnyAPI consulta a próxima das suas 2 fontes na mesma requisição, começando pela mais barata, então a queda de uma fonte não derruba sua chamada.

Envie uma requisição POST para https://api.getanyapi.com/v1/run/target.search com sua chave da AnyAPI em um cabeçalho "Authorization: Bearer" e a entrada como corpo JSON. A mesma chave e a mesma carteira funcionam em todos os endpoints da AnyAPI.

Não. Você adiciona dólares a um único saldo pré-pago da AnyAPI e cada requisição desconta dele. Não há plano mensal nem mínimo, e o mesmo saldo paga todos os endpoints da AnyAPI.

Sim. Instale @getanyapi/sdk pelo npm para TypeScript ou getanyapi pelo pip para Python. Os dois chamam todos os endpoints da AnyAPI com a mesma chave, e qualquer cliente HTTP também funciona.

Sim. Um agente pode se conectar ao servidor MCP da AnyAPI em https://api.getanyapi.com/mcp, ou criar a própria chave de teste grátis com um único POST sem autenticação para https://api.getanyapi.com/agent/signup e chamar este endpoint por HTTP.