From A to Z, you're covered — escrow through Escrow.com available for eligible transactions, your data kept private, and your orders on record until they're in your hands.Your money. Your data. Your orders. On eligible transactions, funds are held in escrow by Escrow.com and released after delivery is confirmed.Trade protected from A to Z: escrow-secured payments available for eligible transactions, private and secure data, and your orders on record from deposit to delivery.
Sentrick Foods — Global Wholesale Marketplace
Join Free
Anywhere. Anytime. One Team. Global B2B Trade.Your money & RFQs — in secure hands, with escrow on eligible orders.Free to join · No subscriptions for buyers & suppliers

Developers & AI Integration

Sentrick Developer Portal

API & MCP for verified partners — Phase 1, read-only. A REST API and an MCP server that let your business systems — or your AI agent — read your own organization's data across the Sentrick marketplaces. No other organization is ever visible, and nothing can be written.

Phase 1 · Live · Read-onlyPhase 2 — Coming Soon

01Sentrick API Family

One API design across all three Sentrick marketplaces: the same read-only endpoints, the same MCP tools and the same security rules. Each marketplace has its own base URL and issues its own tokens — a token only works on the marketplace that issued it, and only for your organization there.

Sentrick Foods

This site
Base URL
www.sentrickfoods.com/api/v1
MCP server
POST www.sentrickfoods.com/api/mcp
Token prefix
stk_foods_…
Access
Read-only · Phase 1

Sentrick Metals & Minerals

Base URL
www.sentrickmetalsandminerals.com/api/v1
MCP server
POST www.sentrickmetalsandminerals.com/api/mcp
Token prefix
stk_metals_…
Access
Read-only · Phase 1

Sentrick Petrochemical

Base URL
www.sentrickpetrochemical.com/api/v1
MCP server
POST www.sentrickpetrochemical.com/api/mcp
Token prefix
stk_petrochemical_…
Access
Read-only · Phase 1

02Who can access

  • Organizations that are verified and active on the marketplace whose API they use (here: Sentrick Foods): suppliers, manufacturers, buyers, logistics providers and customs brokers.
  • Tokens are created by the organization's owner on the API access page (sign in first).
  • Zero access for brokers, intermediaries or agents — the API is not available to brokers, intermediaries or agents on any Sentrick marketplace.
  • Not available to organizations that are pending, unverified or suspended. Access stops immediately if an organization stops being verified or active.

03Quickstart & Integration Guide

From zero to your first call in a few minutes.

  1. Sign in as your organization's owner and open API access.
  2. Create a read-only token and give it a name you will recognize (for example "ERP integration"). Copy it immediately — it is shown once.
  3. Store it as a secret (environment variable or secret manager), never in source code or a shared document.
  4. Call the API with Authorization: Bearer <token>. Start with /api/v1/me to confirm the token works.
  5. Connect your AI agent (optional): add the MCP server URL below with the same header.
export SENTRICK_TOKEN="stk_foods_…"   # from the API access page

# 1. Who am I?
curl -H "Authorization: Bearer $SENTRICK_TOKEN" https://www.sentrickfoods.com/api/v1/me

# 2. Read your data (endpoints depend on your organization type — see the table below)
curl -H "Authorization: Bearer $SENTRICK_TOKEN" https://www.sentrickfoods.com/api/v1/products
curl -H "Authorization: Bearer $SENTRICK_TOKEN" https://www.sentrickfoods.com/api/v1/matches

MCP client configuration (remote HTTP server):

{
  "mcpServers": {
    "sentrick-foods": {
      "type": "http",
      "url": "https://www.sentrickfoods.com/api/mcp",
      "headers": { "Authorization": "Bearer <your token>" }
    }
  }
}

Polling: stay under 60 requests per minute per token. On HTTP 429, wait for the number of seconds in Retry-After before retrying.

04REST endpoints

Base URL https://www.sentrickfoods.com/api/v1. JSON responses. Only GET is accepted; any other method returns 405.

EndpointReturnsAvailable to
GET /api/v1/meYour organization and token (no other organization is ever visible).Every verified partner
GET /api/v1/productsYour own products, with status and price tiers.Suppliers, Manufacturers
GET /api/v1/matchesRequests routed to your organization — anonymized snapshot only (no requester identity, no counts).Suppliers, Manufacturers, Logistics providers, Customs brokers
GET /api/v1/quotesQuotes your organization has sent.Suppliers, Manufacturers, Logistics providers, Customs brokers
GET /api/v1/rfqsYour own RFQs (no supplier identities, no counts of suppliers).Buyers

Requests routed to you are returned as the same anonymized snapshot you see in your portal: no requester identity, no contact details, and never a count of suppliers, buyers, logistics providers or customs brokers.

curl -H "Authorization: Bearer $SENTRICK_TOKEN" https://www.sentrickfoods.com/api/v1/me
{ "organizationId": "org_…", "organizationType": "supplier", "platform": "foods", "token": "stk_foods_AbC12x", "access": "read-only" }

OpenAPI specification

Available · OpenAPI 3.1

A machine-readable description of every endpoint above — read-only, GET only. Import it into Postman or Insomnia, or generate a client SDK with OpenAPI tooling. No token is needed to download it.

Download openapi.jsonhttps://www.sentrickfoods.com/api/v1/openapi.json

Sandbox — test data only

Available

Try the API and MCP server before your organization is verified. Any signed-in user can create a sandbox token on the API access page. Sandbox tokens start with stk_foods_sandbox_ and return fixed, fake sample data for a fictional "Sandbox Demo Supplier" or "Sandbox Demo Buyer" — never any real organization's data.

  • Same base URL, same read-only endpoints and MCP tools, same response shapes as the OpenAPI specification — swap in a live token when you are ready.
  • Every sandbox response carries the header X-Sentrick-Environment: sandbox; ids start with sbx_ and names with "SANDBOX SAMPLE". Prices in the sample data are placeholders, not market prices.
  • Read-only, rate-limited like live (60 requests per minute) and logged. Tokens expire after 30 days.

Responses

  • 200 — your data. 401 — missing, invalid, expired or revoked token, or your organization is no longer eligible. 403 — the endpoint is not available for your organization type. 404 — unknown endpoint. 405 — not a GET (read-only). 429 — rate limited. 503 — temporarily unavailable.

05Webhooks

New-request notifications

Available

Instead of polling GET /api/v1/matches, register an HTTPS endpoint and Sentrick will POST a signed event to it as soon as a request is routed to your organization. Webhooks only notify: they carry the same anonymized data your organization already reads through the API, and they cannot change anything on Sentrick.

Register an endpoint

  1. Sign in as your organization's owner and open API access. Same eligibility as tokens: verified, active suppliers, manufacturers, logistics providers and customs brokers (the organizations that receive routed requests) — never brokers or intermediaries.
  2. Add your endpoint URL. It must use HTTPS on the standard port and point to a public internet address. Up to 5 endpoints per organization.
  3. Copy the signing secret (whsec_…) — it is shown once. Store it like a password; to replace it, remove the endpoint and add it again.
  4. Press Send test event to receive a sample event ("environment": "test", ids starting with sbx_, names starting with "SANDBOX SAMPLE") and check the delivery log.

Events

  • request.matched — a new request was routed to your organization. data.match is exactly one item of GET /api/v1/matches: the anonymized request snapshot, with no requester identity, no contact details and never a count of suppliers, buyers, logistics providers or customs brokers.
  • Every event has an id (the same id on every retry — use it to ignore duplicates), a createdAt time (UTC) and an environment: live for real events, test for "Send test event".
  • Sandbox tokens have no webhooks; use "Send test event" to see the payload with sample data.
POST https://your-system.example.com/sentrick/webhooks
Content-Type: application/json
User-Agent: Sentrick-Webhooks/1.0
X-Sentrick-Event-Id: evt_3f9c…
X-Sentrick-Event-Type: request.matched
X-Sentrick-Delivery-Id: whd_…
X-Sentrick-Environment: live
X-Sentrick-Signature: t=1796133802,v1=5b0e…

{
  "id": "evt_3f9c…",
  "type": "request.matched",
  "createdAt": "2026-12-01T14:03:22.418Z",
  "environment": "live",
  "platform": "foods",
  "organizationId": "org_…",
  "data": {
    "match": {
      "ref": "RQ-7K2M9QXA",
      "type": "product_request",
      "routedAt": "2026-12-01T14:03:22.395Z",
      "request": { "ref": "RQ-7K2M9QXA", "category": "Rice", "product": "Parboiled rice, 5% broken",
                   "quantity": "2 x 20ft containers", "destination": "AE", "postedAt": "2026-12-01" }
    }
  }
}

Verify the signature

X-Sentrick-Signature is t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of <t>.<raw request body> keyed with your signing secret. Compute it over the raw body (before parsing JSON), compare in constant time, and reject events whose t is more than 5 minutes from your clock (replay protection).

// Node.js
import { createHmac, timingSafeEqual } from "node:crypto";

function verify(rawBody, header, secret) {
  const p = Object.fromEntries(header.split(",").map((kv) => kv.split("=")));
  if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
  const want = createHmac("sha256", secret).update(`${p.t}.${rawBody}`).digest("hex");
  return want.length === p.v1.length && timingSafeEqual(Buffer.from(want), Buffer.from(p.v1));
}

Delivery & retries

  • Answer with any 2xx status within 10 seconds; do the work afterwards. Redirects are not followed and your response body is ignored.
  • Otherwise the event is retried after 1 min, 5 min, 30 min, 2 h, 8 h — up to 6 attempts in total — and then marked failed. Each attempt is re-signed with a fresh timestamp.
  • Events can arrive more than once or out of order: de-duplicate on the event id, and use GET /api/v1/matches to reconcile.
  • Every delivery is logged (time, event, status, attempts, response code) and shown to the owner on the API access page. Deliveries stop as soon as an endpoint is removed or your organization stops being verified or active.

06ERP / CRM sync

Connect your ERP or CRM

Available · one-way

Keep your ERP or CRM in sync with your Sentrick data using two pieces that are live today: the read-only REST API and webhooks. Data flows one way — from Sentrick into your systems. Sending changes back (products, price tiers, quotes) needs write access, which is coming soon; until then, make those changes on the website. There is no separate connector to install: your integration calls the API directly.

What you can sync

DataHowAvailable toStatus
New requests routed to you → leads / opportunities in your CRMrequest.matched webhook, reconciled with GET /api/v1/matchesSuppliers, manufacturers, logistics providers, customs brokersLive
Your products, status and price tiers → items / price lists in your ERPGET /api/v1/productsSuppliers, manufacturersLive
Quotes you sent → quotes / activities in your CRMGET /api/v1/quotesSuppliers, manufacturers, logistics providers, customs brokersLive
Your RFQs → purchase requisitions in your ERPGET /api/v1/rfqsBuyersLive
Create products, set price tiers, submit for review — from your ERP / PIMWrite access (catalog) — not available yetSuppliers, manufacturersComing soon
Send quotes from your ERP / CRMQuote submission via API — not available yetSuppliers, manufacturers, logistics providers, customs brokersComing soon

Recommended setup

  1. One token per integration. The organization owner creates a read-only token named after the system (for example "Salesforce sync") on API access and stores it in your secret manager. Tokens last 90 days — plan the rotation, and revoke a token the moment it is no longer used.
  2. Webhooks for speed. Register your HTTPS endpoint so new requests reach your CRM within seconds (request.matched). Acknowledge with a 2xx within 10 seconds; each event is attempted up to 6 times until your endpoint answers.
  3. Polling to reconcile. Every few minutes, read the endpoints for your organization type and upsert into your system. Webhooks can arrive twice or out of order and a down endpoint can miss events — the poll catches everything. Lists return the newest items first, at most 200 per endpoint, so poll often enough that nothing new falls off the end between two runs.
  4. Upsert on Sentrick's ids. Store Sentrick's ref / id as an external ID on your record and update in place. Re-reading the same data then never creates duplicates, and the webhook and the poll update the same record.
  5. Respect the limits. 60 requests per minute per token; on HTTP 429 wait the number of seconds in Retry-After. On 401 stop and alert someone: the token expired or was revoked, or your organization is no longer verified and active.

Field mapping

Sentrick fieldTypical ERP / CRM fieldNotes
matches[].refLead / opportunity external ID (unique key)Stable reference of the routed request — the same value in the webhook and in GET /matches.
matches[].request.*Lead description fieldsAnonymized snapshot: category, product, quantity, destination, dates. Never a requester name, company or contact.
matches[].routedAtLead created dateUTC, ISO 8601.
products[].idItem external ID (unique key)Keep your own item number in a separate field; sku is your code on Sentrick.
products[].priceTiers[]Price list / quantity breaksminimumQuantity + unitPrice in the product currency — your own list prices, as entered on Sentrick.
quotes[].id · quoteId · refQuote external IDid for RFQ quotes, quoteId for service-request quotes, ref + createdAt for product-request quotes.
rfqs[].idRequisition external IDBuyers only.

Full field lists: the OpenAPI specification. Endpoints per organization type: /products, /matches, /quotes, /rfqs (see REST endpoints).

Worked example: a sync loop

A complete one-way sync in plain Node.js. erp stands for your own ERP / CRM client — the only part you write.

// sentrick-sync.mjs — one-way sync, Sentrick → your ERP / CRM (Node.js 18+, no dependencies)
const BASE = "https://www.sentrickfoods.com/api/v1";
const TOKEN = process.env.SENTRICK_TOKEN;              // a read-only token from /api-access (secret manager, never in code)
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));

async function get(path) {
  for (;;) {
    const res = await fetch(`${BASE}/${path}`, { headers: { Authorization: `Bearer ${TOKEN}` } });
    if (res.status === 429) { await sleep(Number(res.headers.get("Retry-After") ?? 60) * 1000); continue; }
    if (!res.ok) throw new Error(`${path}: HTTP ${res.status}`);  // 401 = token expired / revoked, or org no longer eligible
    return res.json();
  }
}

// Which endpoints your organization type can call (GET /me tells you).
const ENDPOINTS = {
  supplier: ["matches", "products", "quotes"], manufacturer: ["matches", "products", "quotes"],
  logistics: ["matches", "quotes"], customs_broker: ["matches", "quotes"], buyer: ["rfqs"],
};

// Every write to YOUR system is an upsert keyed on Sentrick's ids — running the loop twice never creates duplicates.
async function syncOnce(erp) {
  const { organizationType } = await get("me");
  for (const ep of ENDPOINTS[organizationType]) {
    const body = await get(ep);                         // newest first, at most 200 items
    for (const item of body[ep]) {
      if (ep === "matches")  await erp.upsertLead(item.ref, { type: item.type, routedAt: item.routedAt, ...item.request });
      if (ep === "products") await erp.upsertItem(item.id, item);
      if (ep === "quotes")   await erp.upsertQuote(item.id ?? item.quoteId ?? `${item.ref}@${item.createdAt}`, item);
      if (ep === "rfqs")     await erp.upsertRequisition(item.id, item);
    }
  }
}

// Webhooks deliver new requests within seconds; this loop reconciles everything else.
for (;;) { await syncOnce(myErp); await sleep(5 * 60_000); }   // e.g. every 5 minutes — well under 60 requests / minute
// webhook receiver — new requests reach your CRM as soon as they are routed to you
import http from "node:http";

http.createServer((req, res) => {
  let raw = "";
  req.on("data", (c) => (raw += c)).on("end", async () => {
    // verify() = the signature check from the Webhooks section above (raw body, constant-time compare, 5-minute window)
    if (!verify(raw, req.headers["x-sentrick-signature"] ?? "", process.env.SENTRICK_WEBHOOK_SECRET)) return res.writeHead(400).end();
    res.writeHead(200).end();                         // answer within 10 s, do the work afterwards
    const evt = JSON.parse(raw);
    if (evt.environment !== "live" || await crm.seenEvent(evt.id)) return;   // retries reuse the same event id
    const m = evt.data.match;                         // exactly one GET /matches item
    await crm.upsertLead(m.ref, { type: m.type, routedAt: m.routedAt, ...m.request });
  });
}).listen(8080);                                      // behind your HTTPS reverse proxy / load balancer

Generate a client from the OpenAPI spec

The OpenAPI 3.1 document describes every endpoint and response, so you can generate typed models instead of writing them by hand:

# TypeScript types
npx openapi-typescript https://www.sentrickfoods.com/api/v1/openapi.json -o sentrick-api.d.ts

# A client in another language (Python, Java, C#, Go, …)
npx @openapitools/openapi-generator-cli generate -i https://www.sentrickfoods.com/api/v1/openapi.json -g python -o sentrick-client

Two-way sync · Coming soon

Pushing changes from your ERP / CRM back to Sentrick is part of Phase 2 and not available yet — today's tokens cannot write anything. When it is announced it will work like this:

  • Separate tokens that the owner creates on purpose — read-only tokens are never upgraded.
  • Catalog (suppliers and manufacturers): add a product as a draft, set its price tiers and submit it for Sentrick review — the same actions as the website's Products & pricing page. Sentrick still reviews every product before it is listed.
  • Quotes: send a quote on a request routed to your organization, with the same rules as on the website.
  • Idempotency: every change carries an Idempotency-Key header, so a retry from your integration never applies twice. Writes are limited to 10 per minute per token.

These operations will be added to the OpenAPI specification when they become available.

07MCP Integration

Endpoint POST https://www.sentrickfoods.com/api/mcp — JSON-RPC 2.0 over HTTP (protocol 2025-06-18), same token and the same rules as the REST API. Every method, including initialize and tools/list, requires the token. Tools take no arguments and are all read-only:

  • sentrick_me — Your organization and token (no other organization is ever visible).
  • sentrick_products — Your own products, with status and price tiers.
  • sentrick_matches — Requests routed to your organization — anonymized snapshot only (no requester identity, no counts).
  • sentrick_quotes — Quotes your organization has sent.
  • sentrick_rfqs — Your own RFQs (no supplier identities, no counts of suppliers).
# list the tools
curl -X POST https://www.sentrickfoods.com/api/mcp \
  -H "Authorization: Bearer $SENTRICK_TOKEN" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# call one
curl -X POST https://www.sentrickfoods.com/api/mcp \
  -H "Authorization: Bearer $SENTRICK_TOKEN" -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"sentrick_me"}}'

In an MCP client, add a remote (HTTP) server with the URL above and the header Authorization: Bearer <token> (see the Integration Guide). The tools only read; an AI agent connected this way cannot send quotes, place orders or change anything.

08Authentication & Security

  • Bearer tokens. Format stk_foods_…, sent as Authorization: Bearer <token> over HTTPS. Shown once when created — Sentrick stores only a SHA-256 hash, so a lost token cannot be recovered, only replaced.
  • Lifetime. Valid for 90 days; up to 5 active tokens per organization; the owner can revoke any token at any time on the API access page, effective on the next call.
  • Your organization only. Each request runs as a dedicated database role with read access to a fixed set of tables, inside a read-only transaction, with row-level security bound to the token's organization. Another organization's rows are never returned, and nothing can be written.
  • Eligibility checked on every call. If your organization stops being verified or active, its tokens stop working immediately.
  • Rate limit. 60 requests per minute per token (HTTP 429 with Retry-After when exceeded). After 20 failed authentication attempts from one address within 10 minutes, that address is temporarily blocked.
  • Audit. Every call is logged — token prefix, organization, endpoint, time (UTC) and IP address — as described in the Privacy Policy.
  • If a token leaks, revoke it on the API access page and create a new one.

09API Status

Operational· read-only Phase 1 · REST API and MCP server

Checked when this page loads.

10Roadmap · Phase 2 — Coming Soon

Phase 1 (live now) is read-only access to your own organization's data. Everything below is Phase 2 and not available yet; it will be announced here before it ships.

  • Write accessComing soon

    Tokens that can make changes, not only read. Phase 1 tokens cannot write anything.

  • Quote submission via APIComing soon

    Send a quote on a request routed to you from your own system or agent.

11Developer Support

Questions, integration help or a suspected security issue: email contact@sentrickfoods.com with the subject "API & MCP support", or use the contact page. Include your token's prefix (for example stk_foods_AbC12x) — never the full token.

Versioning & deprecation

The API version is in the path (/api/v1) and the OpenAPI document is the contract. Within v1, changes are additive only — new endpoints, new optional fields, new error codes on new features — so a client that ignores fields it does not know keeps working. A change that would break existing clients is released as a new version (/api/v2); v1 then stays available for at least 6 months, with migration notes on this page and an email to the owners of active tokens. Security fixes may take effect sooner when needed to protect organizations' data.

The API gives read access to data your organization already sees in its Sentrick portal. It does not place orders, send quotes, select providers or move money, and webhooks only send notifications to your own endpoint. Use is subject to the Marketplace Terms and the API & MCP Terms of Service.

Trade protected from A to Z: escrow-secured payments available for eligible transactions, private and secure data, and your orders on record from deposit to delivery.

Trade protected from A to Z: escrow-secured payments available for eligible transactions, private and secure data, and your orders on record from deposit to delivery.