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

# Benefits Sharing Data

> Get benefit-sharing data related to a project



## OpenAPI

````yaml get /benefits-sharing/v0
openapi: 3.0.0
info:
  title: Terraspect API
  version: 0.0.2
servers:
  - url: https://api.terraspect.earth
    description: Production server
security: []
tags:
  - name: Projects
    description: Endpoints for retrieving project and developer information
  - name: Impact
    description: Endpoints for accessing impact and community metrics
  - name: Financials
    description: Endpoints for accessing financial data (some require extended permissions)
paths:
  /benefits-sharing/v0:
    get:
      summary: Get benefits sharing data for the project
      parameters:
        - name: project_id
          in: query
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BenefitsSharingResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    BenefitsSharingResponse:
      type: object
      properties:
        project_id:
          type: string
          format: uuid
        totalCommunityIncome:
          type: string
        revenueSharePercent:
          type: string
        totalParticipants:
          type: number
        menPercentage:
          type: string
        womenPercentage:
          type: string
        averagePaymentFrequency:
          type: string
      required:
        - project_id
        - totalCommunityIncome
        - revenueSharePercent
        - totalParticipants
        - menPercentage
        - womenPercentage
        - averagePaymentFrequency
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
      required:
        - message
  responses:
    BadRequest:
      description: Submitted request is not valid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Auth required endpoint was called without auth token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: User cannot perform requested action
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Something went wrong and there was not specific mapper for the exception
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'

````