T3 API
The best way to talk to Metrc

The T3 API is the developer-friendly way to work with Metrc—one modern REST interface for every Metrc state, with 490+ documented endpoints covering inventory, cultivation, manufacturing, transfers, lab testing, and labels.

GETRequest
URL
api.trackandtrace.tools/v2/packages/active/super
Query parameters
?licenseNumber=LIC-000123
&include=labResults
200 OKResponse
{
  "data": [
    {
      "label": "1A4000000000000000000001",
      "item": {
        "name": "Pineapple Express Flower"
      },
      "quantity": 1130.7,
      "unitOfMeasureAbbreviation": "g",
      "metadata": {
        "indexedLabResults": {
          "totalTHC": {
            "full": "Total THC: 22.4 %",
            "name": "Total THC",
            "value": 22.4,
            "unit": "%"
          },
          "totalCBD": {
            "full": "Total CBD: 0.1 %",
            "name": "Total CBD",
            "value": 0.1,
            "unit": "%"
          },
          "topTerpene1": {
            "full": "Myrcene: 1.2 %",
            "name": "Myrcene",
            "value": 1.2,
            "unit": "%"
          }
        }
      }
    }
  ]
}

Lab result keys are normalized across every state: "Total THC" and "Total Delta-9 THC" both come back as totalTHC.

490+
Documented endpoints
8,000+
Licenses using T3
25
States with businesses using T3
4
Report formats: JSON, CSV, Excel, Google Sheets

Case study

Nuthera logo

How Nuthera Calculates the True Cost of Every Metrc Tag with the T3 API

When a data-entry role went unfilled, Nuthera automated its Metrc reconciliation with the T3 API and Google Sheets. Then it went further, tracing the true cost of every Metrc tag it has ever created, down to the batch.

Read the Nuthera case study →
“With T3, I completed something no other ERP company in cannabis has shown me: the true input and output cost of every Metrc tag we have ever made.”
Taylor McKnight
Taylor McKnight
Director of Information Technology, Nuthera

The raw Metrc API vs. the T3 API

Building directly on the Metrc API means handling per-state differences, credentials, and data stitching yourself. The T3 API gives you programmatic access to the same Metrc data without any of that.

Endpoints
Metrc: A separate API host for each state
T3: One base URL for every Metrc state
Authentication
Metrc: A vendor API key plus a user API key on every request
T3: One T3 secret key or bearer token
Bulk data
Metrc: Date-filtered queries limited to short time windows, paged by hand
T3: Entire datasets in a single report request
Related data
Metrc: Separate calls per resource, joined in your own code
T3: Super Reports join related records with include=
Lab results
Metrc: Test names vary by lab and by state
T3: Normalized keys like totalTHC in every state
Output formats
Metrc: JSON
T3: JSON, CSV, Excel, or straight to Google Sheets
Labels
Metrc: No label generation
T3: Print-ready compliance label PDFs
Documentation
Metrc: Separate documentation for each state
T3: One interactive OpenAPI reference

The T3 API is independent of the Metrc API: it does not use Metrc API keys and is not affiliated with Metrc.

Make your first call in minutes

The T3 API is plain REST and JSON, so it works from any language. Python developers can also use the t3api and t3api-utils libraries.

  1. 1

    Create an account

    Sign up on the T3 dashboard at dash.trackandtrace.tools.

  2. 2

    Generate a secret key

    Create a T3 secret key and store it as T3_API_KEY.

  3. 3

    Make a request

    Call any endpoint. Responses are paginated JSON with page, pageSize, total, and data.

curl "https://api.trackandtrace.tools/v2/packages/active?licenseNumber=LIC-000123" \
  -H "X-T3-API-Key: $T3_API_KEY"

Why build on the T3 API

Metrc's own API is difficult to work with: inconsistent across states, thin on documentation, and tedious to page through. The T3 API is an independent alternative that makes working with your Metrc data fast and predictable.

One API, every Metrc state

Metrc behaves differently in every state it operates in. The T3 API normalizes those differences behind a single, consistent REST interface, so the integration you build works the same whether a license lives in California, Michigan, or anywhere else Metrc runs.

Documentation built for developers

Interactive OpenAPI documentation with real request and response examples for every endpoint, predictable JSON shapes, consistent pagination, and standard bearer or secret-key authentication. Developers can go from reading a page to a working call in minutes.

Complete Metrc coverage

Hundreds of endpoints spanning the entire Metrc data model—not just the handful most tools expose. Read inventory, write transfers, generate labels, pull lab results, and automate workflows that previously required manual data entry in the Metrc UI.

Bulk export and Super Reports

Pull entire Metrc datasets in a single request instead of paging through hundreds of calls. Super Reports join related records—packages with items, harvests with their packages—into clean, flat tables ready for analysis, and Spreadsheet Sync keeps Google Sheets and Excel up to date automatically.

Full coverage of the Metrc data model

If Metrc tracks it, the T3 API can reach it. Endpoints span every major area of the platform:

Cultivation

Plants, plant batches, and harvests across every growth phase.

Manufacturing

Processing jobs, package creation, and testing workflows.

Transfers

Incoming, outgoing, rejected, and hub transfers with manifests.

Lab Testing

Lab results, testing states, and result documents.

Inventory

Active, inactive, in-transit, and on-hold packages.

Items & Strains

Full product catalog and strain database.

Tags

Available, used, and voided tags, plus tag orders.

Labels

Generate print-ready label PDFs on demand.

Built to solve business problems

The T3 API turns Metrc from a compliance chore into programmable infrastructure. A few of the things teams build with it:

Automate compliance reporting

Pull the exact datasets auditors ask for on a schedule, instead of exporting spreadsheets by hand.

Sync inventory with other systems

Keep ERP, POS, and internal databases in step with Metrc inventory in near real time.

Power dashboards and BI

Feed live Metrc data into reporting tools to track yield, sales, and movement across licenses.

Build custom integrations

Create transfers, generate labels, and write back to Metrc from the tools teams already use.

API access comes with T3+

A limited set of endpoints is free for anyone with a Metrc login. Full API access, Super Reports, and Spreadsheet Sync are included with a T3+ subscription. Explore the tiers to find the right fit.

View T3+ Plans

Metrc API FAQ

Common questions about working with the Metrc API.

What is the Metrc API?

The Metrc API is the programmatic interface for reading and writing cannabis track-and-trace data in Metrc. The T3 API is a separate, developer-friendly alternative: it gives you programmatic access to the Metrc data available to you on metrc.com, with consistent JSON responses and interactive documentation across every Metrc state. It does not use Metrc API keys and is not affiliated with Metrc.

Does Metrc have a REST API?

Metrc offers its own API for third-party software integrators. The T3 API is an independent REST API that reaches the same Metrc data without Metrc API keys, so one integration works the same regardless of which state a license operates in.

How do I connect to Metrc programmatically?

Generate a T3 secret key and send it in the X-T3-API-Key header, or exchange your credentials for a short-lived bearer token. From there you can pull inventory, create transfers, generate labels, and read lab results with a single REST call. Full examples are in the interactive API documentation.

Does the T3 API work in every Metrc state?

Yes. The T3 API covers every state where Metrc operates and normalizes per-state differences behind one consistent interface, so your code does not change from state to state.

What can I build with the Metrc API?

Teams use the T3 API to automate compliance reporting, sync Metrc inventory with ERP and POS systems, power BI dashboards, generate compliance labels, and build custom integrations that read from and write back to Metrc.

Is the T3 API free?

A limited set of T3 API endpoints is free for anyone with a Metrc login. Full access to the T3 API, Super Reports, and Spreadsheet Sync is included with a T3+ subscription.


Get Started