Target 🎯 Browser avatar

Target 🎯 Browser

Try for free

7 days trial then $30.00/month - No credit card required now

Go to Store
Target 🎯 Browser

Target 🎯 Browser

jupri/target-scraper
Try for free

7 days trial then $30.00/month - No credit card required now

💫 Scrape Target.com

Developer
Maintained by Community

Actor Metrics

  • 3 monthly users

  • No reviews yet

  • 2 bookmarks

  • >99% runs succeeded

  • Created in Nov 2022

  • Modified 4 months ago

Categories

You can access the Target 🎯 Browser programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.1",
5    "x-build-id": "JekcJfBdG6fMPa6dM"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/jupri~target-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-jupri-target-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/jupri~target-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-jupri-target-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/jupri~target-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-jupri-target-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "properties": {
134          "query": {
135            "title": "❓ Query",
136            "type": "array",
137            "description": "💡 Search Terms or URL",
138            "items": {
139              "type": "string"
140            }
141          },
142          "limit": {
143            "title": "♾️ Limit",
144            "type": "integer",
145            "description": "💡 Number of results (per query)"
146          },
147          "filters.sort": {
148            "title": "🔀 Sorting",
149            "enum": [
150              "relevance",
151              "featured",
152              "price-low",
153              "price-high",
154              "rating",
155              "bestselling",
156              "newest"
157            ],
158            "type": "string",
159            "description": "Sorting key"
160          },
161          "filters.store": {
162            "title": "🏪Store",
163            "type": "string",
164            "description": "💡 Store Location [Store-ID (digits) / Zip-Code (5-9 digits) or Place]"
165          },
166          "filters.location": {
167            "title": "🚚 Location",
168            "type": "string",
169            "description": "💡 Delivery Location (Zip-Code) [Must be digits]"
170          },
171          "dev_proxy_config": {
172            "title": "🌐 PROXY NETWORKING",
173            "type": "object",
174            "description": "💡 <b>Supported protocol:</b><br><br><b>HTTP(S), SOCKS5</b><br><code>{http|socks5}://{user:pass}@{hostname|ip-address}:port</code><br><br><b>Example</b>: <code>socks5://example.com:9000</code>"
175          },
176          "dev_custom_headers": {
177            "title": "📜 HTTP HEADERS",
178            "type": "array",
179            "description": "💡 Additional HTTP Headers",
180            "items": {
181              "type": "object",
182              "required": [
183                "key",
184                "value"
185              ],
186              "properties": {
187                "key": {
188                  "type": "string",
189                  "title": "Key"
190                },
191                "value": {
192                  "type": "string",
193                  "title": "Value"
194                }
195              }
196            }
197          },
198          "dev_custom_cookies": {
199            "title": "🍰 HTTP COOKIES",
200            "type": "array",
201            "description": "💡 Additional HTTP Cookies",
202            "items": {
203              "type": "object",
204              "required": [
205                "key",
206                "value"
207              ],
208              "properties": {
209                "key": {
210                  "type": "string",
211                  "title": "Key"
212                },
213                "value": {
214                  "type": "string",
215                  "title": "Value"
216                }
217              }
218            }
219          },
220          "dev_transform_fields": {
221            "title": "♻️ CUSTOM FIELD",
222            "type": "array",
223            "description": "💡 <b>Transform the resulting output. Select only needed fields.</b><br><br>For nested object use <b>DOT</b>. For example: <pre>address.streetAddress</pre><br>For nested array use <b>NUMBER</b> <i>(index of array element starting from index=0)</i>. For example: <pre>images.0.url</pre>",
224            "items": {
225              "type": "object",
226              "required": [
227                "key",
228                "value"
229              ],
230              "properties": {
231                "key": {
232                  "type": "string",
233                  "title": "Key"
234                },
235                "value": {
236                  "type": "string",
237                  "title": "Value"
238                }
239              }
240            }
241          },
242          "dev_dataset_name": {
243            "title": "📁 CUSTOM STORAGE",
244            "type": "string",
245            "description": "💡 <b>Save results into custom named Dataset, use mask to customize dataset name</b><br><br><code>{ACTOR} = actor name<br>{DATE} = date (YYYYMMDD)<br>{TIME} = time (HHMMSS)</code><br><br>This masks can be used to autogenerate Dataset Name.<br><br>example: <i><code>data-{DATE}</code></i><br>Depending on today date the dataset name will be: <code>data-20230603</code><i><br><br>default: <code>data-{ACTOR}-{DATE}-{TIME}</code></i>"
246          },
247          "dev_dataset_clear": {
248            "title": "Clear Storage",
249            "type": "boolean",
250            "description": "Clear Dataset before insert/update."
251          },
252          "dev_no_strip": {
253            "title": "Disable data cleansing",
254            "type": "boolean",
255            "description": "💡 Keep/Save empty values <i><code>(NULL, FALSE, empty ARRAY, empty OBJECT, empty STRING)</code></i>"
256          }
257        }
258      },
259      "runsResponseSchema": {
260        "type": "object",
261        "properties": {
262          "data": {
263            "type": "object",
264            "properties": {
265              "id": {
266                "type": "string"
267              },
268              "actId": {
269                "type": "string"
270              },
271              "userId": {
272                "type": "string"
273              },
274              "startedAt": {
275                "type": "string",
276                "format": "date-time",
277                "example": "2025-01-08T00:00:00.000Z"
278              },
279              "finishedAt": {
280                "type": "string",
281                "format": "date-time",
282                "example": "2025-01-08T00:00:00.000Z"
283              },
284              "status": {
285                "type": "string",
286                "example": "READY"
287              },
288              "meta": {
289                "type": "object",
290                "properties": {
291                  "origin": {
292                    "type": "string",
293                    "example": "API"
294                  },
295                  "userAgent": {
296                    "type": "string"
297                  }
298                }
299              },
300              "stats": {
301                "type": "object",
302                "properties": {
303                  "inputBodyLen": {
304                    "type": "integer",
305                    "example": 2000
306                  },
307                  "rebootCount": {
308                    "type": "integer",
309                    "example": 0
310                  },
311                  "restartCount": {
312                    "type": "integer",
313                    "example": 0
314                  },
315                  "resurrectCount": {
316                    "type": "integer",
317                    "example": 0
318                  },
319                  "computeUnits": {
320                    "type": "integer",
321                    "example": 0
322                  }
323                }
324              },
325              "options": {
326                "type": "object",
327                "properties": {
328                  "build": {
329                    "type": "string",
330                    "example": "latest"
331                  },
332                  "timeoutSecs": {
333                    "type": "integer",
334                    "example": 300
335                  },
336                  "memoryMbytes": {
337                    "type": "integer",
338                    "example": 1024
339                  },
340                  "diskMbytes": {
341                    "type": "integer",
342                    "example": 2048
343                  }
344                }
345              },
346              "buildId": {
347                "type": "string"
348              },
349              "defaultKeyValueStoreId": {
350                "type": "string"
351              },
352              "defaultDatasetId": {
353                "type": "string"
354              },
355              "defaultRequestQueueId": {
356                "type": "string"
357              },
358              "buildNumber": {
359                "type": "string",
360                "example": "1.0.0"
361              },
362              "containerUrl": {
363                "type": "string"
364              },
365              "usage": {
366                "type": "object",
367                "properties": {
368                  "ACTOR_COMPUTE_UNITS": {
369                    "type": "integer",
370                    "example": 0
371                  },
372                  "DATASET_READS": {
373                    "type": "integer",
374                    "example": 0
375                  },
376                  "DATASET_WRITES": {
377                    "type": "integer",
378                    "example": 0
379                  },
380                  "KEY_VALUE_STORE_READS": {
381                    "type": "integer",
382                    "example": 0
383                  },
384                  "KEY_VALUE_STORE_WRITES": {
385                    "type": "integer",
386                    "example": 1
387                  },
388                  "KEY_VALUE_STORE_LISTS": {
389                    "type": "integer",
390                    "example": 0
391                  },
392                  "REQUEST_QUEUE_READS": {
393                    "type": "integer",
394                    "example": 0
395                  },
396                  "REQUEST_QUEUE_WRITES": {
397                    "type": "integer",
398                    "example": 0
399                  },
400                  "DATA_TRANSFER_INTERNAL_GBYTES": {
401                    "type": "integer",
402                    "example": 0
403                  },
404                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
405                    "type": "integer",
406                    "example": 0
407                  },
408                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
409                    "type": "integer",
410                    "example": 0
411                  },
412                  "PROXY_SERPS": {
413                    "type": "integer",
414                    "example": 0
415                  }
416                }
417              },
418              "usageTotalUsd": {
419                "type": "number",
420                "example": 0.00005
421              },
422              "usageUsd": {
423                "type": "object",
424                "properties": {
425                  "ACTOR_COMPUTE_UNITS": {
426                    "type": "integer",
427                    "example": 0
428                  },
429                  "DATASET_READS": {
430                    "type": "integer",
431                    "example": 0
432                  },
433                  "DATASET_WRITES": {
434                    "type": "integer",
435                    "example": 0
436                  },
437                  "KEY_VALUE_STORE_READS": {
438                    "type": "integer",
439                    "example": 0
440                  },
441                  "KEY_VALUE_STORE_WRITES": {
442                    "type": "number",
443                    "example": 0.00005
444                  },
445                  "KEY_VALUE_STORE_LISTS": {
446                    "type": "integer",
447                    "example": 0
448                  },
449                  "REQUEST_QUEUE_READS": {
450                    "type": "integer",
451                    "example": 0
452                  },
453                  "REQUEST_QUEUE_WRITES": {
454                    "type": "integer",
455                    "example": 0
456                  },
457                  "DATA_TRANSFER_INTERNAL_GBYTES": {
458                    "type": "integer",
459                    "example": 0
460                  },
461                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
462                    "type": "integer",
463                    "example": 0
464                  },
465                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
466                    "type": "integer",
467                    "example": 0
468                  },
469                  "PROXY_SERPS": {
470                    "type": "integer",
471                    "example": 0
472                  }
473                }
474              }
475            }
476          }
477        }
478      }
479    }
480  }
481}

Target.com Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Target 🎯 Browser from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients: