Authenticate to the Metrc API using vendor and user API keys

domain: api-ca.metrc.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Create packages from a harvest in Metrc — endpoint, tag rules, and the 10-object cap — the full failure-mode walkthrough related to api-ca.metrc.com, checked against official docs, with linked verified routes.

Steps

  1. Obtain a Software/Integrator API key by registering as a vendor with Metrc.
  2. Have each licensee generate a User API key inside their own Metrc account and share it with you.
  3. Concatenate the software key and user key as "softwareKey:userKey" and Base64-encode the result.
  4. Send the encoded value in an Authorization: Basic header on every HTTPS request.
  5. Set Content-Type: application/json on POST and PUT requests.
  6. Target the correct state-specific subdomain, since keys are not portable across states.

Known gotchas

Related routes

Authenticate to the Current RMS API using OAuth2 or an API key
api.current-rms.com · 5 steps · unrated
Authenticate to the Splynx ISP billing API using API keys or HMAC signatures
splynx.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans