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

# Search Temu by keyword

> Searches Temu for `keyword` and returns the matching product urls (~40 per page). This is discovery only - fetch each url's data (name, price, rating, reviews, images) through `POST /goods/temu-product`. Use `sort` to pick Temu's own result order (relevance, best_selling, recent, price_asc, price_desc). Response time is typically ~2s.



## OpenAPI

````yaml /api-reference/openapi.json post /goods/temu-search
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Three endpoints are
    documented here: page-source extraction, Google SERP scraping, and image
    fetch. All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /goods/temu-search:
    post:
      tags:
        - Plugins
      summary: Search Temu by keyword
      description: >-
        Searches Temu for `keyword` and returns the matching product urls (~40
        per page). This is discovery only - fetch each url's data (name, price,
        rating, reviews, images) through `POST /goods/temu-product`. Use `sort`
        to pick Temu's own result order (relevance, best_selling, recent,
        price_asc, price_desc). Response time is typically ~2s.
      operationId: temu_search_goods_temu_search_post
      parameters:
        - name: keyword
          in: query
          required: true
          schema:
            type: string
            description: Search phrase, e.g. 'kids toys' or 'phone case'.
            title: Keyword
          description: Search phrase, e.g. 'kids toys' or 'phone case'.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            description: Max product urls to return (one search page carries ~40).
            default: 40
            title: Limit
          description: Max product urls to return (one search page carries ~40).
        - name: sort
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/TemuSort'
            description: >-
              Result order, using Temu's own sort: `relevance` (default),
              `best_selling` (top sales), `recent` (most recent), `price_asc`
              (price low to high) or `price_desc` (price high to low).
            default: relevance
          description: >-
            Result order, using Temu's own sort: `relevance` (default),
            `best_selling` (top sales), `recent` (most recent), `price_asc`
            (price low to high) or `price_desc` (price high to low).
      responses:
        '200':
          description: Search succeeded - `urls` carries the product urls.
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '429':
          description: Temu fleet rate limit reached - retry shortly.
        '502':
          description: Search returned no urls (block or empty).
        '504':
          description: Search timed out.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    TemuSort:
      type: string
      enum:
        - relevance
        - best_selling
        - recent
        - price_asc
        - price_desc
      title: TemuSort
      description: Temu's own search sort order (maps to Temu's native `filter_items`).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````