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

# List campaigns from every source

> Visible active campaigns, with amounts raised through Donate only. Omitted source includes every source.



## OpenAPI

````yaml https://api.donate.gg/api/openapi get /v2/campaigns
openapi: 3.1.1
info:
  title: Donate Developer API
  version: 1.0.0
  description: >-
    Public JSON API for charities, configs, campaigns, tokens, and related
    catalog reads. Operations are grouped by version (`/v1` and `/v2`). V2
    supports named charity and campaign beneficiaries; v1 preserves user/charity
    config shapes. GET/HEAD catalog routes may omit `donate-api-key` and are IP
    rate-limited for anonymous callers (~20 req/min). Authenticated keys share
    one organization rate-tier bucket. Create/list configs and project analytics
    require an API key. Configs are permanent; the retained authenticated DELETE
    endpoint rejects deletion. Unpublished internal routes are omitted. Spec
    routes (`/api/openapi`, `/api/postman`) are unauthenticated and unmetered.
servers:
  - url: /api
    description: API origin. Version prefixes live on each operation path.
security:
  - {}
  - ApiKeyAuth: []
paths:
  /v2/campaigns:
    get:
      summary: List campaigns from every source
      description: >-
        Visible active campaigns, with amounts raised through Donate only.
        Omitted source includes every source.
      operationId: v2.campaigns.list
      parameters:
        - name: limit
          in: query
          schema:
            type: number
            description: Page size (min 1, max 200)
          allowEmptyValue: true
          allowReserved: true
        - name: cursor
          in: query
          schema:
            type: string
            description: Cursor for next page (from previous pageKey)
          allowEmptyValue: true
          allowReserved: true
        - name: source
          in: query
          schema:
            enum:
              - donate
              - tiltify
            type: string
          allowEmptyValue: true
          allowReserved: true
        - name: categorySlug
          in: query
          schema:
            type: string
          allowEmptyValue: true
          allowReserved: true
        - name: orderMode
          in: query
          schema:
            enum:
              - newest
              - oldest
              - total
            type: string
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  pageKey:
                    anyOf:
                      - type: string
                      - type: 'null'
                  response:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        slug:
                          type: string
                        title:
                          type: string
                        source:
                          enum:
                            - donate
                            - tiltify
                          type: string
                        sourceUrl:
                          anyOf:
                            - type: string
                            - type: 'null'
                        goalUsdAmount:
                          anyOf:
                            - type: number
                            - type: 'null'
                        status:
                          enum:
                            - active
                            - pending
                            - completed
                            - cancelled
                            - deactivated
                          type: string
                        category:
                          anyOf:
                            - type: object
                              properties:
                                id:
                                  type: string
                                name:
                                  type: string
                                slug:
                                  type: string
                              required:
                                - id
                                - name
                                - slug
                              additionalProperties: false
                            - type: 'null'
                        media:
                          type: array
                          items:
                            type: object
                            properties:
                              url:
                                type: string
                              mediaType:
                                enum:
                                  - image
                                  - video
                                  - audio
                                  - document
                                  - youtube
                                  - other
                                type: string
                            required:
                              - url
                              - mediaType
                            additionalProperties: false
                        stats:
                          type: object
                          properties:
                            pendingUsdE6:
                              type: string
                            finalizedUsdE6:
                              type: string
                            displayedUsdE6:
                              type: string
                            pendingCount:
                              type: number
                            finalizedCount:
                              type: number
                            donationCount:
                              type: number
                            firstDonationAt:
                              anyOf:
                                - type: string
                                - type: 'null'
                            lastDonationAt:
                              anyOf:
                                - type: string
                                - type: 'null'
                          required:
                            - pendingUsdE6
                            - finalizedUsdE6
                            - displayedUsdE6
                            - pendingCount
                            - finalizedCount
                            - donationCount
                            - firstDonationAt
                            - lastDonationAt
                          additionalProperties: false
                          description: >-
                            Amounts attributed to this campaign through Donate
                            only.
                      required:
                        - id
                        - slug
                        - title
                        - source
                        - sourceUrl
                        - goalUsdAmount
                        - status
                        - category
                        - media
                        - stats
                      additionalProperties: false
                required:
                  - pageKey
                  - response
                additionalProperties: false
        '400':
          description: '400'
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      defined:
                        const: true
                      code:
                        const: VALIDATION_ERROR
                      status:
                        const: 400
                      message:
                        type: string
                        default: Validation failed
                      data:
                        type: object
                        properties:
                          error:
                            type: string
                          code:
                            const: VALIDATION_ERROR
                          issues:
                            type: array
                            items:
                              anyOf:
                                - {}
                                - type: 'null'
                        required:
                          - error
                          - code
                        additionalProperties: false
                    required:
                      - defined
                      - code
                      - status
                      - message
                  - type: object
                    properties:
                      defined:
                        const: false
                      code:
                        type: string
                      status:
                        type: number
                      message:
                        type: string
                      data: {}
                    required:
                      - defined
                      - code
                      - status
                      - message
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: donate-api-key
      description: >-
        Developer API key. Required for config create/list and project
        analytics. The disabled config DELETE endpoint also requires
        authentication. Optional on public GET reads (anonymous callers are IP
        rate-limited). Obtain from the Developer dashboard.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.