Skip to content

Example API Marketplace Integration

What a client can build on the Carbonmark API: a small carbon credit marketplace with five projects, their prices and the tonnes for sale, read from the API every 15 minutes. Open a project for its full details, a price estimate, and the exact API calls behind it.

Example integration

Example storefront

Every figure on these cards comes from the Carbonmark API. Buying happens in the Carbonmark app; a client’s own marketplace would place the order through the API instead.

Prices as of 3 Dec 2026, 23:48 UTCRefreshed every 15 minutes

Showing 5 of 5 projects

  • Blue Carbon

    Carbonmark · CMARK-2

    CO2 storage following the application of Limenet technology in Augusta site

    Italy

    Limenet is an Italian climate tech startup pioneering carbon removal through its patented pH-equilibrated Ocean Alkalinization technology. By mimicking natural processes, Limenet permanently stores CO₂ in seawater as calcium bicarbonates. In addition to carbon removal, this solution combats ocean acidification and helps restore marine ecosystems—delivering scalable, transparent, and scientifically verified results.

    Price per tonne
    From $392.65
    Tonnes available
    8.99 t
    Vintages
    Vintage 2024
  • Biochar

    Puro.earth · PUR-244045

    Wakefield Biochar Facility 2

    United States of America

    Wakefield Biochar is a minority-owned company in Valdosta, Georgia, built on a "Better Soil. Better World." philosophy. Employing 23 people, it transforms pulp and paper mill waste into resources, producing branded biochar products and compost blends sold at Walmart, Lowe's, Amazon, and Sam's Club. It also supplies local farmers to boost pasture yields and supports land remediation, using pine bark feedstock from FSC-certified forests. Carbon credits are central to scaling its carbon sequestration, with CORCs expected following a rigorous audit.

    Price per tonne
    From $92.42
    Tonnes available
    155 t
    Vintages
    Vintage 2024
  • Forestry

    International Carbon Registry · ICR-349

    Forestal Río Aquidabán

    Paraguay

    Forestal Río Aquidabán restores 301 ha of degraded land in Paraguay through silvopastoral agroforestry, combining reforestation with sustainable cattle grazing. Verified under ICR, it has sequestered over 200,000 tCO₂ by 2025 while boosting biodiversity and rural livelihoods.

    Price per tonne
    From $6.95
    Tonnes available
    70,515 t
    Vintages
    Vintage 2000–2020 (15 vintages)
  • Forestry

    Regen Network · REGEN-C02006

    St. Elmo Preservation Project

    Chattanooga, United States of America

    Lookout Mountain is one of the most biologically diverse and critically imperiled ecoregions in the world stretching 90+ miles across three states; Tennessee, Alabama, and Georgia. The 58 acre oak-pine forest is situated between the Chickamauga & Chattanooga National Military Park and the historic St. Elmo neighborhood. By protecting this property, the Conservancy ensures connectivity between habitat corridors and provides essential wildlife habitat for several species including eastern box turtles, red tailed hawks, black bears, and spotted salamanders.

    Price per tonne
    From $17.31
    Tonnes available
    1,953 t
    Vintages
    Vintage 2022
  • Forestry

    EcoRegistry · ECO-114

    PROYECTO REDD+ PAZCÍFICO SUR

    Colombia

    The PAZcífico Sur REDD+ Project protects 371,748 ha of forest in Nariño, Colombia. Led by 18 Afro-Colombian communities, it will cut 9.3M tCO₂e in 20 years while enhancing governance, livelihoods, and biodiversity.

    Price per tonne
    From $5.04
    Tonnes available
    505 t
    Vintages
    Vintage 2018–2022 (2 vintages)

Build this yourself

The storefront above uses the first two calls. A client’s marketplace adds the last three to sell and retire credits without sending buyers anywhere else.

  1. Step 1

    Show the projects

    GET /carbonProjects/{id} returns everything a project page needs: name, description, images, methodology, vintages, location and documents. To browse the whole catalog instead, GET /carbonProjects lists projects.

    Get one project
    curl https://v20.api.carbonmark.com/carbonProjects/ICR-349
  2. Step 2

    Show what is for sale

    GET /prices returns one row per price source. Keep the rows with a purchasePrice and liquidSupply above zero, and set aside any with under 1 t left unless nothing else remains. The cheapest purchasePrice is the “From” price and the sum of liquidSupply is the tonnes available; no rows means sold out. Re-read it often; it changes with every purchase.

    Get its price sources
    curl "https://v20.api.carbonmark.com/prices?projectIds=ICR-349"
  3. Step 3

    Quote the buyer

    POST /quotes fixes the price for a quantity from one source: pass the row’s sourceId as asset_price_source_id. This is the first call that needs your API key.

    Request a quote
    curl -X POST https://v20.api.carbonmark.com/quotes \
      -H "Authorization: Bearer $CARBONMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "asset_price_source_id": "<sourceId from /prices>",
        "quantity_tonnes": 10
      }'
  4. Step 4

    Submit the order

    POST /orders submits the quote for retirement. The beneficiary name and the message are permanent public records, shown on the retirement certificate. Send an Idempotency-Key so a retried request cannot place a second order. Some registries need more: certain Puro.earth retirements also require consumption_metadata; see the retirement guide.

    Place the order
    curl -X POST https://v20.api.carbonmark.com/orders \
      -H "Authorization: Bearer $CARBONMARK_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: <your order id>" \
      -d '{
        "quote_uuid": "<uuid from /quotes>",
        "beneficiary_name": "Example Co.",
        "retirement_message": "Retired through our marketplace"
      }'
  5. Step 5

    Confirm the retirement

    The order comes back SUBMITTED: accepted, not yet retired. Check GET /orders with the quote’s uuid until its status is COMPLETED, then show the buyer the certificate at view_retirement_url. If it is FAILED, nothing was retired; tell the buyer, and don’t confirm the order until one completes.

    Check the order
    curl -G https://v20.api.carbonmark.com/orders \
      -H "Authorization: Bearer $CARBONMARK_API_KEY" \
      --data-urlencode "quote_uuid=<uuid from /quotes>"

Test API keys for a sandbox environment are free from the Developer Dashboard; production keys need onboarding with our Solutions team. The API documentation covers every endpoint.

Building for AI agents rather than people? The x402 quickstart retires credits with one signed USDC payment and no API key.

Want a marketplace like this?

Talk to our Solutions team about building carbon credits into your product, from a storefront like this one to retirement at checkout.