> For the complete documentation index, see [llms.txt](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/getting-started/readme.md). Agents can also search and read this documentation through its [MCP server](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/~gitbook/mcp).

# Introduction

{% hint style="info" %}
**Status:** The OCP API is currently in beta (v0.1). There are no maintenance downtimes currently planned.
{% endhint %}

Welcome to the Open Carbon Protocol (OCP) Partner API. This API lets partner platforms access carbon credit and project data from the OCP registry, and keep OCP up to date when credits are transferred between owners or are retired on your platform.

### About the OCP

The Open Carbon Protocol, built by oneshot.earth, is a registry for carbon credits. It issues OCP carbon credits, each representing one tonne of CO₂e avoided or removed, and tracks transfers and retirements. Credits are bought and sold on partner platforms, and OCP keeps the authoritative record of who holds them and what state they are in.

### What you can do with the API

| Capability                  | Description                                                                                       |
| --------------------------- | ------------------------------------------------------------------------------------------------- |
| Read project data           | Retrieve details for individual projects, or list approved projects on OCP.                       |
| Read credit data            | Retrieve details for a specific credit issuance, including its credit ranges and on-chain record. |
| View your holdings          | See which credits your sub-registry holds, and in what state.                                     |
| Update beneficial ownership | Tell OCP when credits you hold are sold to a sub-registry user on your platform.                  |
| Retire credits              | Retire credits on behalf of their beneficial owner.                                               |

### Who this API is for

* **Sub-registry organizations** that hold credits on behalf of project developers and other organizations and facilitate the sale and/or retirement of these credits. They can read data and send ownership and retirement updates.
* **Rating agencies, meta-registries, and other data consumers** that need read-only access to public project and credit data.

Each organization's access is determined by the scopes on their API credentials - see [Authentication](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/getting-started/authentication.md).

### Where to start

1. Read [Credit Lifecycle](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/core-concepts/credit-lifecycle.md) and [Project Status](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/core-concepts/project-status.md) to understand how projects and credits move through OCP.
2. Read [Account Owner vs Beneficial Owner](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/core-concepts/account-owner-vs-beneficial-owner.md), which explains the ownership model that the update and holdings endpoints are built around.
3. Ensure your organization has an OCP Registry Account that has passed KYB; if not, contact <rio@oneshot.earth>. All API partners need one.
4. Contact the OCP team to schedule onboarding. During beta, every integration is set up one-on-one with a team member.
5. Review [Environments](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/getting-started/environments.md) and [Authentication](https://open-carbon-protocol.gitbook.io/ocp-api-documentation/getting-started/authentication.md). Sandbox access will be available at launch.

### Getting help

For credentials, questions, or integration support, contact <jannat@oneshot.earth>.
