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

# Credit volumes by transaction date for a project

> Get credit quantities binned by transaction date for a specific project.

    Returns time-series data for building credit activity charts on project detail pages.
    Includes all transaction types (issuances, retirements, cancellations) summed by period.

    **Frequency:** `D` (daily), `W` (weekly), `M` (monthly), `Y` (yearly). Default: `Y`.

    **Filters:** Supports credit filters (transaction_type, vintage, date range)
    and beneficiary search.



## OpenAPI

````yaml https://api.vcm.fyi/v1/openapi.json get /v1/charts/credits_by_transaction_date/{project_id}
openapi: 3.1.0
info:
  title: VCM.fyi API
  version: 1.0.0
  description: >

    # VCM.fyi API


    Programmatic access to carbon market intelligence — covering

    11,000+ carbon credit projects across 6 major registries (Verra, Gold
    Standard,

    CAR, ACR, Isometric, Puro Earth).


    ## Resources


    | Resource | Description |

    |---|---|

    | **Projects** | Search, filter, and retrieve carbon credit project metadata
    |

    | **Credits** | Individual credit transactions (issuances, retirements,
    cancellations) |

    | **Buyers** | Aggregated buyer intelligence from retirement transaction
    data |

    | **Charts** | Pre-aggregated chart data for visualizations |

    | **Countries** | Country-level carbon market policy intelligence (Article
    6, CORSIA, carbon pricing) |

    | **Forensics** | AI-generated project risk analysis from weekly news
    scanning |

    | **Proponent Forensics** | Developer/proponent-level risk ratings and due
    diligence |

    | **Satellite** | Forest integrity and deforestation metrics |

    | **Supply & Demand** | Aggregated issuance vs. retirement volumes over time
    |

    | **API Keys** | Manage your API keys and view usage statistics |


    ## Authentication


    All endpoints require an API key passed in the `X-API-KEY` header:


    ```bash

    curl -H "X-API-KEY: vcm_live_your_key_here" https://api.vcm.fyi/v1/projects/

    ```


    Get your API key at
    [app.vcm.fyi/settings/api](https://app.vcm.fyi/settings/api).


    ## Rate Limits


    | Plan | Requests/min | Monthly Calls |

    |------|-------------|---------------|

    | Pro | 300 | 100,000 |

    | Enterprise | 1,000 | Unlimited |


    Rate limit headers are included in every response:

    - `X-RateLimit-Limit` — Your limit per minute

    - `X-RateLimit-Remaining` — Remaining requests in current window

    - `X-RateLimit-Reset` — Unix timestamp when the window resets


    ## Pagination


    List endpoints return paginated results:


    ```json

    {
      "pagination": {
        "total_entries": 11234,
        "current_page": 1,
        "total_pages": 113,
        "next_page": "/v1/projects/?current_page=2&per_page=100"
      },
      "data": [...]
    }

    ```
  contact:
    name: VCM.fyi Support
    email: support@vcm.fyi
    url: https://vcm.fyi
  termsOfService: https://vcm.fyi/terms
  x-logo:
    url: https://app.vcm.fyi/logo.svg
    altText: VCM.fyi
servers:
  - url: https://vcm-fyi-api.fly.dev
    description: Production
security: []
tags:
  - name: API Keys
    description: Create, list, revoke your API keys and view usage statistics.
  - name: Buyers
    description: >-
      Aggregated buyer intelligence derived from retirement transactions.
      Includes volume metrics, activity flags, category/country breakdowns, and
      analytics.
  - name: Charts
    description: >-
      Pre-aggregated chart data for visualizations: projects by listing date,
      credits by transaction date, category breakdowns, credit histograms, and
      top buyers.
  - name: Countries
    description: >-
      Country-level carbon market policy intelligence covering Article 6 status,
      CORSIA eligibility, carbon pricing, VCM regulation, and AI-generated
      policy summaries.
  - name: Credits
    description: >-
      Query individual credit transactions — issuances, retirements, and
      cancellations — with quantity, vintage, date, and beneficiary details.
  - name: Forensics
    description: >-
      AI-generated project risk analysis from weekly scanning of 100+ news
      sources. Includes entries, memos, weekly diffs, and legacy v1 endpoints.
  - name: Projects
    description: >-
      Search, filter, and retrieve metadata for 11,000+ carbon credit projects
      across Verra, Gold Standard, CAR, ACR, Isometric, and Puro Earth.
  - name: Proponent Forensics
    description: >-
      Developer/proponent-level risk ratings and due diligence analysis with
      governance, financial, legal, social, and institutional risk pillar
      scores.
  - name: Satellite
    description: >-
      Forest integrity and deforestation metrics from Global Forest Watch,
      including tree cover loss, GLAD alerts, fire alerts, and project boundary
      GeoJSON.
  - name: Supply & Demand
    description: >-
      Aggregated issuance (supply) vs. retirement (demand) volumes over time,
      with monthly, quarterly, or yearly aggregation.
paths:
  /v1/charts/credits_by_transaction_date/{project_id}:
    get:
      tags:
        - Charts
      summary: Credit volumes by transaction date for a project
      description: |-
        Get credit quantities binned by transaction date for a specific project.

            Returns time-series data for building credit activity charts on project detail pages.
            Includes all transaction types (issuances, retirements, cancellations) summed by period.

            **Frequency:** `D` (daily), `W` (weekly), `M` (monthly), `Y` (yearly). Default: `Y`.

            **Filters:** Supports credit filters (transaction_type, vintage, date range)
            and beneficiary search.
      operationId: >-
        get_credits_by_project_id_v1_charts_credits_by_transaction_date__project_id__get
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
        - name: freq
          in: query
          required: false
          schema:
            enum:
              - D
              - W
              - M
              - 'Y'
            type: string
            description: Frequency of bins
            default: 'Y'
            title: Freq
          description: Frequency of bins
        - name: current_page
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            description: Page number
            default: 1
            title: Current Page
          description: Page number
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: Items per page
            default: 100
            title: Per Page
          description: Items per page
        - name: transaction_type
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: Transaction type
            title: Transaction Type
          description: Transaction type
        - name: vintage
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: integer
                type: array
              - type: 'null'
            description: Vintage
            title: Vintage
          description: Vintage
        - name: transaction_date_from
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: string
                format: date
              - type: 'null'
            description: 'Format: YYYY-MM-DD'
            title: Transaction Date From
          description: 'Format: YYYY-MM-DD'
        - name: transaction_date_to
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: string
                format: date
              - type: 'null'
            description: 'Format: YYYY-MM-DD'
            title: Transaction Date To
          description: 'Format: YYYY-MM-DD'
        - name: quantity_min
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Minimum transaction quantity
            title: Quantity Min
          description: Minimum transaction quantity
        - name: quantity_max
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Maximum transaction quantity
            title: Quantity Max
          description: Maximum transaction quantity
        - name: beneficiary_search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Case insensitive search string. Currently searches on specified
              beneficiary_search_fields only.
            title: Beneficiary Search
          description: >-
            Case insensitive search string. Currently searches on specified
            beneficiary_search_fields only.
        - name: beneficiary_search_fields
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
            description: >-
              Beneficiary fields to search in. Valid fields are:
              `retirement_beneficiary_harmonized`, `retirement_beneficiary`,
              `retirement_beneficiary_account`, `retirement_beneficiary_note`,
              `retirement_beneficiary_reason`
            default:
              - retirement_beneficiary_harmonized
            title: Beneficiary Search Fields
          description: >-
            Beneficiary fields to search in. Valid fields are:
            `retirement_beneficiary_harmonized`, `retirement_beneficiary`,
            `retirement_beneficiary_account`, `retirement_beneficiary_note`,
            `retirement_beneficiary_reason`
      responses:
        '200':
          description: Time-binned credit totals for a single project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedProjectCreditTotals'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    PaginatedProjectCreditTotals:
      properties:
        pagination:
          $ref: '#/components/schemas/Pagination'
        data:
          anyOf:
            - items:
                $ref: '#/components/schemas/ProjectCreditTotals'
              type: array
            - items:
                additionalProperties: true
                type: object
              type: array
          title: Data
      type: object
      required:
        - pagination
        - data
      title: PaginatedProjectCreditTotals
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Pagination:
      properties:
        total_entries:
          type: integer
          title: Total Entries
        current_page:
          type: integer
          title: Current Page
        total_pages:
          type: integer
          title: Total Pages
        next_page:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Page
      type: object
      required:
        - total_entries
        - current_page
        - total_pages
      title: Pagination
    ProjectCreditTotals:
      properties:
        start:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Start
          description: Start date of bin
        end:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: End
          description: End date of bin
        value:
          anyOf:
            - type: integer
            - type: 'null'
          title: Value
      type: object
      required:
        - start
        - end
        - value
      title: ProjectCreditTotals
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-KEY

````