This API is currently in closed beta and not publicly available

Project Details

GET /v1/projects/offset/{project_id}

Description

Retrieves detailed information for a single carbon offset project, including all available project data and metrics.

Path Parameters

ParameterTypeDescriptionRequired
project_idstringUnique identifier for the projectYes

Example Request

Using curl

curl "https://api.onetribe.com/v1/projects/offset/abc123" \
  -H "Authorisation: API-Key YOUR_API_KEY_HERE"

Using TypeScript

interface ProjectDetails {
  project_id: string
  title: string
  description: string
  primary_image: string
  images: Array<{
    src: string
    alt: string
  }>
  url: string
  category: string
  country: string
  location_name: string
  project_status: string
  estimated_annual_emissions: number
  registry_type: string
  crediting_term_start_date: string
  crediting_term_end_date: string
  min_volume: number
  pricing: {
    base_price_per_ton: number
    partner_margin_percentage: number
    partner_profit_per_ton: number
    end_customer_price_per_ton: number
    vat_rate: number
    total_price: number
  }
  createdAt: string
  updatedAt: string
}

async function getProjectDetails(projectId: string): Promise<ProjectDetails> {
  const response = await fetch(
    `https://api.onetribe.com/v1/projects/offset/${projectId}`,
    {
      headers: {
        Authorisation: 'API-Key YOUR_API_KEY_HERE',
      },
    },
  )

  if (!response.ok) {
    throw new Error(`HTTP error! status: ${response.status}`)
  }

  return response.json()
}

// Example usage
const project = await getProjectDetails('abc123')

Response Fields

FieldTypeDescription
project_idstringUnique identifier for the project
titlestringName of the carbon offset project
descriptionstringRich text description of the project's goals and implementation
primary_imagestringURL to the project's primary image
imagesarrayCollection of project images
images[].srcstringURL of the image
images[].altstringAlt text description of the image
urlstringProject's website or information page
categorystringType of carbon offset project (e.g., Reforestation, Renewable Energy)
countrystringCountry where the project is located
location_namestringHuman-readable location where the project is being implemented
project_statusstringCurrent status of the project (active, pending, archived)
estimated_annual_emissionsnumberEstimated annual carbon emissions offset in tonnes
registry_typestringThe carbon registry standard the project follows
crediting_term_start_datestringISO 8601 date when the project's crediting period begins
crediting_term_end_datestringISO 8601 date when the project's crediting period ends
min_volumenumberMinimum volume of carbon credits that can be purchased
pricingobjectDetailed pricing information
pricing.base_price_per_tonnumberThe base price per tonne in £ (OT Price)
pricing.partner_margin_percentagenumberPartner margin as a percentage
pricing.partner_profit_per_tonnumberPartner profit per tonne in £
pricing.end_customer_price_per_tonnumberFinal sale price per tonne for end customers in £
pricing.vat_ratenumberVAT rate as a decimal (e.g., 0.2 for 20%)
pricing.total_pricenumberTotal project cost in £
createdAtstringISO 8601 timestamp of when the project was created
updatedAtstringISO 8601 timestamp of the last project update

Error Responses

Status CodeError CodeDescription
401UnauthorizedMissing or invalid API key
403ForbiddenValid API key but insufficient permissions to access this project
404NotFoundProject with the specified ID does not exist
429TooManyRequestsRate limit exceeded - please wait before making more requests
500ServerErrorInternal server error - please contact support if the issue persists

Example Response

{
  "project_id": "abc123",
  "title": "Rainforest Preservation",
  "description": "A rich text description of the project...",
  "primary_image": "https://example.com/images/rainforest.jpg",
  "images": [
    {
      "src": "https://example.com/images/rainforest.jpg",
      "alt": "Aerial view of Amazon rainforest"
    },
    {
      "src": "https://example.com/images/project-site.jpg",
      "alt": "Project conservation site"
    }
  ],
  "url": "https://example.com/rainforest-preservation",
  "category": "Reforestation",
  "country": "Brazil",
  "location_name": "Amazon Rainforest, Brazil",
  "project_status": "active",
  "estimated_annual_emissions": 100000,
  "registry_type": "Gold Standard",
  "crediting_term_start_date": "2022-01-01",
  "crediting_term_end_date": "2032-01-01",
  "min_volume": 1000,
  "pricing": {
    "base_price_per_ton": 8.5,
    "partner_margin_percentage": 15,
    "partner_profit_per_ton": 1.275,
    "end_customer_price_per_ton": 9.775,
    "vat_rate": 0.2,
    "total_price": 1000000.0
  },
  "createdAt": "2022-01-01T12:34:56Z",
  "updatedAt": "2022-01-15T08:12:10Z"
}