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

# Format Citation

> Generate a formatted citation for any Urantia Book passage. Supports APA, MLA, Chicago, and BibTeX styles.

Reference formats accepted:
- **standardReferenceId**: "196:2.1" (paperId:sectionId.paragraphId)
- **globalId**: "1:196.2.1" (partId:paperId.sectionId.paragraphId)
- **paperSectionParagraphId**: "196.2.1" (paperId.sectionId.paragraphId)



## OpenAPI

````yaml GET /cite
openapi: 3.1.0
info:
  title: Urantia Papers API
  version: 1.0.0
  description: >-
    A developer and AI-agent friendly API for the Urantia Papers. Provides
    full-text search, structured content access, and audio URLs for all 17,000+
    paragraphs across 197 papers.
servers:
  - url: https://api.urantia.dev
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
paths:
  /cite:
    get:
      tags:
        - Citation
      summary: Format a citation for a passage
      description: >-
        Generate a formatted citation for any Urantia Book passage. Supports
        APA, MLA, Chicago, and BibTeX styles.


        Reference formats accepted:

        - **standardReferenceId**: "196:2.1" (paperId:sectionId.paragraphId)

        - **globalId**: "1:196.2.1" (partId:paperId.sectionId.paragraphId)

        - **paperSectionParagraphId**: "196.2.1" (paperId.sectionId.paragraphId)
      operationId: getCitation
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: ref
          in: query
        - schema:
            type: string
            enum:
              - apa
              - mla
              - chicago
              - bibtex
            default: apa
          required: false
          name: style
          in: query
      responses:
        '200':
          description: Formatted citation
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      ref:
                        type: string
                      style:
                        type: string
                        enum:
                          - apa
                          - mla
                          - chicago
                          - bibtex
                      citation:
                        type: string
                    required:
                      - ref
                      - style
                      - citation
                required:
                  - data
        '400':
          description: Invalid reference format
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                  title:
                    type: string
                  status:
                    type: integer
                  detail:
                    type: string
                required:
                  - type
                  - title
                  - status
                  - detail

````