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

# /kleinanzeigen/listings/search

> Search Kleinanzeigen ads by keyword: for each result returns title, price, location, image, posting date and shipping availability. Supports filters by category, price range, condition, offer type, seller type, shipping and sort order.

**Price:** 20 credits per 25 results



## OpenAPI

````yaml /openapi/e-commerce-marketplaces.json post /api/kleinanzeigen/listings/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/kleinanzeigen/listings/search:
    post:
      tags:
        - /kleinanzeigen
      summary: /kleinanzeigen/listings/search
      description: >-
        Search Kleinanzeigen ads by keyword: for each result returns title,
        price, location, image, posting date and shipping availability. Supports
        filters by category, price range, condition, offer type, seller type,
        shipping and sort order.


        **Price:** 20 credits per 25 results
      operationId: __api_kleinanzeigen_listings_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KleinanzeigenListingsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/KleinanzeigenAdCard'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    KleinanzeigenListingsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        keyword:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        category_id:
          anyOf:
            - type: string
            - type: 'null'
        min_price:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        max_price:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        condition:
          anyOf:
            - $ref: '#/components/schemas/KleinanzeigenCondition'
            - type: 'null'
        offer_type:
          anyOf:
            - $ref: '#/components/schemas/KleinanzeigenOfferType'
            - type: 'null'
        seller_type:
          anyOf:
            - $ref: '#/components/schemas/KleinanzeigenSellerType'
            - type: 'null'
        shipping:
          anyOf:
            - $ref: '#/components/schemas/KleinanzeigenShipping'
            - type: 'null'
        carrier:
          anyOf:
            - $ref: '#/components/schemas/KleinanzeigenCarrier'
            - type: 'null'
        buy_now:
          type: boolean
          default: false
        sort:
          $ref: '#/components/schemas/KleinanzeigenSort'
          default: newest
      type: object
      required:
        - keyword
        - count
    KleinanzeigenAdCard:
      properties:
        '@type':
          type: string
          default: KleinanzeigenAdCard
        id:
          type: string
        url:
          type: string
        price:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          type: string
          default: EUR
        is_negotiable:
          type: boolean
          default: false
        is_free:
          type: boolean
          default: false
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        posted_at:
          anyOf:
            - type: string
            - type: 'null'
        shipping_available:
          type: boolean
          default: false
        image:
          anyOf:
            - type: string
            - type: 'null'
        image_count:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    KleinanzeigenCondition:
      type: string
      enum:
        - new_with_tag
        - new
        - like_new
        - good
        - ok
        - defect
    KleinanzeigenOfferType:
      type: string
      enum:
        - offer
        - wanted
    KleinanzeigenSellerType:
      type: string
      enum:
        - private
        - commercial
    KleinanzeigenShipping:
      type: string
      enum:
        - shipping
        - pickup
    KleinanzeigenCarrier:
      type: string
      enum:
        - dhl
        - hermes
    KleinanzeigenSort:
      type: string
      enum:
        - newest
        - price_asc
        - price_desc
        - distance
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````