---
openapi: 3.1.0
info:
  title: Reddit Ad Library — SearchApi
  version: 3.1.0
  description: Generated from the SearchApi engine catalog. Parameters marked in the
    catalog as unverified are described from its records rather than from the vendor's
    specification.
servers:
- url: https://www.searchapi.io/api/v1
paths:
  "/search":
    get:
      operationId: reddit_ad_library
      summary: Reddit Ad Library
      parameters:
      - name: engine
        in: query
        required: true
        description: Engine that retrieves the data; fixed per API (see Apis::BY_ENGINE
          keys).
        schema:
          type: string
          const: reddit_ad_library
      - name: api_key
        in: query
        required: true
        description: 'SearchApi.io API key; alternatively send ''Authorization: Bearer
          <key>''.'
        schema:
          type: string
      - name: zero_retention
        in: query
        required: false
        description: 'Enterprise-only: disables all logging and persistent storage
          of the search.'
        schema:
          type: boolean
          default: false
      - name: q
        in: query
        required: true
        description: Search query; most engines accept native operators and advanced
          filters.
        schema:
          type: string
      - name: next_page_token
        in: query
        required: false
        description: Opaque token from the previous response that fetches the next
          page.
        schema:
          type: string
      responses:
        '200':
          description: A Reddit Ad Library result envelope.
