> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapio.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Target

> Search Target.com and return structured results.



## OpenAPI

````yaml get /v1/target/search
openapi: 3.1.0
info:
  title: Scrapio
  version: 1.0.0
  description: >-
    Turn any URL into structured data. Fetch raw HTML, crawl sites, extract
    structured content, interact with dynamic pages, and search the web through
    one API.
  contact:
    name: Scrapio Support
    url: https://scrapio.dev
  license:
    name: Proprietary
servers:
  - url: https://api.scrapio.dev
    description: Production
security:
  - bearerAuth: []
tags:
  - name: System
  - name: Fetch
  - name: Crawl
  - name: Map
  - name: Interact
  - name: Search
  - name: Google
  - name: Fast Search
  - name: Jobs
  - name: YouTube
  - name: Amazon
  - name: Walmart
  - name: Booking
  - name: Agoda
  - name: Airbnb
  - name: ChatGPT
  - name: Perplexity
  - name: Gemini
  - name: Bing
  - name: Reddit
  - name: TikTok
  - name: Apple App Store
  - name: Target
  - name: Monitors
paths:
  /v1/target/search:
    get:
      tags:
        - Target
      summary: Search Target.com
      description: >-
        Searches Target.com and returns structured product results. Backed by
        our own maintained `target_search` Web Scraping API target. Requires a
        Starter plan or higher.
      operationId: searchTarget
      parameters:
        - name: search
          in: query
          required: true
          schema:
            type: string
            minLength: 1
            description: Search query text
        - name: delivery_type
          in: query
          required: false
          schema:
            description: Delivery method
            type: string
            enum:
              - pickup
              - delivery
              - shipping
        - name: delivery_zip
          in: query
          required: false
          schema:
            description: >-
              Zip code for delivery/shipping (required with those delivery
              types)
            type: string
            minLength: 3
            maxLength: 10
        - name: store_id
          in: query
          required: false
          schema:
            description: Target store ID (required for pickup)
            type: string
            minLength: 3
            maxLength: 4
        - name: geo
          in: query
          required: false
          schema:
            description: Country to use when submitting the request
            type: string
            minLength: 2
            maxLength: 64
      responses:
        '200':
          description: Structured Target search results.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TargetSearchResponse'
        '400':
          description: Invalid search or delivery parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Target dedicated endpoints require a Starter plan or higher.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Daily credit cap exceeded, or the upstream provider rate-limited the
            request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '502':
          description: Target upstream failed or returned an unusable response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Target execution backend unavailable or unconfigured.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-codeSamples:
        - lang: cURL
          label: cURL
          source: |-
            curl "https://api.scrapio.dev/v1/target/search?search=laptop" \
              -H "Authorization: Bearer $SCRAPIO_API_KEY"
components:
  schemas:
    TargetSearchResponse:
      type: object
      properties:
        provider:
          type: string
          enum:
            - target
        request_id:
          type: string
        query_context:
          type: object
          properties:
            search:
              type: string
          required:
            - search
          additionalProperties: false
        results:
          type: array
          items:
            type: object
            properties:
              product_id:
                type: string
              url:
                type: string
                format: uri
              title:
                type: string
              brand_name:
                anyOf:
                  - type: string
                  - type: 'null'
              brand_url:
                anyOf:
                  - type: string
                  - type: 'null'
              price:
                anyOf:
                  - type: number
                  - type: 'null'
              comparison_price:
                anyOf:
                  - type: number
                  - type: 'null'
              currency:
                anyOf:
                  - type: string
                  - type: 'null'
              rating:
                type: object
                properties:
                  count:
                    anyOf:
                      - type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      - type: 'null'
                  score:
                    anyOf:
                      - type: number
                      - type: 'null'
                required:
                  - count
                  - score
                additionalProperties: false
            required:
              - product_id
              - url
              - title
              - brand_name
              - brand_url
              - price
              - comparison_price
              - currency
              - rating
            additionalProperties: false
      required:
        - provider
        - request_id
        - query_context
        - results
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        request_id:
          type: string
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
        diagnostics:
          type: object
          properties:
            outcome:
              type: string
              enum:
                - failed
            retryable:
              type: boolean
            blocked:
              type: boolean
            timed_out:
              type: boolean
          required:
            - outcome
            - retryable
          additionalProperties: false
      required:
        - request_id
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````