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

# Get Scholar Citation Formats

> Return MLA, APA, Chicago, Harvard, and Vancouver citation formats for a paper.



## OpenAPI

````yaml GET /v1/google/scholar/cite
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/cite:
    get:
      tags:
        - Google Scholar
      summary: Get citation formats for a Scholar paper
      description: |-
        Return MLA, APA, Chicago, Harvard, and Vancouver citation formats.

        **Currently returns HTTP 501.** Google's cite-dialog endpoint
        (``/scholar?q=info:<cluster>:scholar.google.com/&output=cite``)
        returns ``HTTP 403 Forbidden`` for every unauthenticated client as of
        late 2026 — the dialog is only served to browsers that have an
        active Scholar JS session established via a prior `/scholar` page
        load. Working around that requires a stateful browser session which
        is not cost-effective for a single citation lookup.

        **Recommended workaround:** call ``/v1/google/scholar/search`` for
        the paper and build a citation string client-side from the fields
        it already returns: ``title``, ``authors`` (list), ``publication_info``
        (which contains journal + year), and ``link``. That's enough to
        assemble MLA / APA / Chicago / Harvard / Vancouver formats without
        making a second HTTP hop.

        Tracked in scrape-badger/scrapebadger#135 follow-up work; this
        endpoint will be re-enabled when we add a browser-session-backed
        fetch path.
      operationId: scholar_cite_api_v1_scholar_cite_get
      parameters:
        - name: q
          in: query
          required: true
          schema:
            type: string
            description: Cluster ID from a search result (e.g. '5Gohgn6QFikJ')
            title: Q
          description: Cluster ID from a search result (e.g. '5Gohgn6QFikJ')
        - name: hl
          in: query
          required: false
          schema:
            type: string
            description: Language code
            default: en
            title: Hl
          description: Language code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScholarCiteResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ScholarCiteResponse:
      properties:
        citations:
          items:
            $ref: '#/components/schemas/ScholarCitationFormat'
          type: array
          title: Citations
        links:
          items:
            $ref: '#/components/schemas/ScholarCitationLink'
          type: array
          title: Links
      type: object
      title: ScholarCiteResponse
      description: Response for GET /api/v1/scholar/cite.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ScholarCitationFormat:
      properties:
        style:
          type: string
          title: Style
        citation:
          type: string
          title: Citation
      type: object
      required:
        - style
        - citation
      title: ScholarCitationFormat
      description: A single citation-style rendering (MLA, APA, Chicago, etc.).
    ScholarCitationLink:
      properties:
        name:
          type: string
          title: Name
        link:
          type: string
          title: Link
      type: object
      required:
        - name
        - link
      title: ScholarCitationLink
      description: Export link shown at the bottom of the cite dialog (BibTeX, RIS, ...).
    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

````