> ## 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.

# /dailymotion/videos/search

> Search Dailymotion videos by keyword

**Price:** 1 credit per 20 results



## OpenAPI

````yaml /openapi/social-media.json post /api/dailymotion/videos/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/dailymotion/videos/search:
    post:
      tags:
        - /dailymotion
      summary: /dailymotion/videos/search
      description: |-
        Search Dailymotion videos by keyword

        **Price:** 1 credit per 20 results
      operationId: __api_dailymotion_videos_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DailymotionVideosSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DailymotionVideoBrief'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    DailymotionVideosSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        keyword:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        upload_date:
          anyOf:
            - $ref: '#/components/schemas/DailymotionUploadDate'
            - type: 'null'
        duration:
          anyOf:
            - $ref: '#/components/schemas/DailymotionVideoDuration'
            - type: 'null'
        sort:
          $ref: '#/components/schemas/DailymotionVideoSort'
          default: relevance
      type: object
      required:
        - keyword
        - count
    DailymotionVideoBrief:
      properties:
        '@type':
          type: string
          default: DailymotionVideoBrief
        id:
          type: string
        video_title:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        duration_seconds:
          anyOf:
            - type: integer
            - type: 'null'
        view_count:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        creator:
          anyOf:
            - $ref: '#/components/schemas/DailymotionChannelBrief'
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    DailymotionUploadDate:
      type: string
      enum:
        - today
        - past_week
        - past_month
        - past_year
    DailymotionVideoDuration:
      type: string
      enum:
        - under_1_min
        - 1_to_5_min
        - 5_to_30_min
        - 30_to_60_min
        - over_60_min
    DailymotionVideoSort:
      type: string
      enum:
        - relevance
        - most_recent
        - most_viewed
    DailymotionChannelBrief:
      properties:
        '@type':
          type: string
          default: DailymotionChannelBrief
        id:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        follower_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_artist:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
      required:
        - id
    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

````