API di Target

Target Ricerca API

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
Disponibilità
91,18%
30d · 34 chiamate
Richieste
58
30 g · settimanale, ultime 12 sett.
Risposta
2,0s
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 Ricerca: una sola API, 2 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 Ricerca 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 `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.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta 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"
}

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-03 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo 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).

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

Risposta

JSON, un valore di esempio per campo.

datadata

Search result wrapper, or null when nothing matched.

  • hasMorebooleanpuò richiedere

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

  • totalPagesintegerpuò richiedere

    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[]può richiedere

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

  • isSponsoredbooleanpuò richiedere

    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.

  • ratingnumberpuò richiedere

    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.

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

FAQ

Sull'API Target Ricerca

L'API Target Ricerca di AnyAPI restituisce dati Target come JSON normalizzato da una sola chiamata POST a /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. AnyAPI instrada ogni richiesta su 2 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 91,2% delle chiamate Target Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,0 secondi su 34 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.

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. 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 91,2% delle chiamate Target Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,0 secondi su 34 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 Ricerca a 0,00085 USD ciascuna.

AnyAPI interroga la successiva delle sue 2 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.search 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.