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

# Search Google Scholar

> Search Google Scholar for scholarly articles.



## OpenAPI

````yaml GET /v1/google/scholar/search
openapi: 3.1.0
info:
  title: ScrapeBadger Google Scraper
  description: >-
    Dedicated API for scraping Google products (SERP, Maps, News, Hotels,
    Trends, Jobs, Shopping, Patents, Scholar, Autocomplete, Images, Videos,
    Finance, AI Mode, Lens, Products).
  version: 1.0.0
servers:
  - url: https://scrapebadger.com
    description: Production
security:
  - apiKeyAuth: []
paths:
  /v1/google/scholar/search:
    get:
      tags:
        - Google Scholar
      summary: Search Google Scholar
      description: Search Google Scholar for scholarly articles using direct HTTP.
      operationId: search_scholar_api_v1_scholar_search_get
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            description: Search query for scholarly articles
            title: Q
          description: Search query for scholarly articles
        - name: hl
          in: query
          required: false
          schema:
            type: string
            description: Language code
            default: en
            title: Hl
          description: Language code
        - name: as_ylo
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Year from (e.g. 2020)
            title: As Ylo
          description: Year from (e.g. 2020)
        - name: as_yhi
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Year to (e.g. 2024)
            title: As Yhi
          description: Year to (e.g. 2024)
        - name: as_sdt
          in: query
          required: false
          schema:
            type: string
            description: 'Search type: 0=exclude patents, 7=include patents'
            default: '0'
            title: As Sdt
          description: 'Search type: 0=exclude patents, 7=include patents'
        - name: page
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Page number (0-based)
            default: 0
            title: Page
          description: Page number (0-based)
        - name: num
          in: query
          required: false
          schema:
            type: integer
            maximum: 20
            minimum: 1
            description: Results per page (max 20)
            default: 10
            title: Num
          description: Results per page (max 20)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScholarSearchResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ScholarSearchResponse:
      properties:
        results:
          items:
            $ref: '#/components/schemas/ScholarResult'
          type: array
          title: Results
        query:
          type: string
          title: Query
        language:
          type: string
          title: Language
          default: en
        total_results:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Results
      type: object
      required:
        - query
      title: ScholarSearchResponse
      description: Response for GET /api/v1/scholar/search.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ScholarResult:
      properties:
        position:
          anyOf:
            - type: integer
            - type: 'null'
          title: Position
        title:
          type: string
          title: Title
        link:
          anyOf:
            - type: string
            - type: 'null'
          title: Link
        snippet:
          anyOf:
            - type: string
            - type: 'null'
          title: Snippet
        authors:
          items:
            type: string
          type: array
          title: Authors
        publication_info:
          anyOf:
            - type: string
            - type: 'null'
          title: Publication Info
        cited_by_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Cited By Count
        cited_by_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Cited By Link
        related_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Related Link
        versions_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Versions Count
        pdf_link:
          anyOf:
            - type: string
            - type: 'null'
          title: Pdf Link
      type: object
      required:
        - title
      title: ScholarResult
      description: A single scholarly article result.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````