Beta

The Partner Trading API v1 is in beta — endpoints and response shapes may still change.

Developers
Cru World Wine
API v1 · REST & MCP
Account

Your Cru account

Shows which Cru World Wine account this connection acts as (organisation), the app it came through (label), the market and currency its prices are quoted in, the permissions the customer granted (scopes) and when this access expires. Call it first when unsure what you can do for the customer: without bids:write you cannot stage bids.

READwhoamiLIVE
Needsmeta:readRESTGET /pingTry it
Reads, and changes nothing

Marked readOnlyHint, so an assistant may call it without asking the customer first.

Arguments

Takes no arguments.

Returns

STRUCTUREDCONTENT

client: environment, key_prefix, organisation, label, market, currency, scopes, expires_at — the same block /ping returns.

The same object also comes as JSON text in content, for hosts that read only that.

Errors

A refusal — a wine that is not on Cru, a price out of range — comes back as a result with isError: true and a message worded for the assistant to act on. A connection without meta:read is not offered this tool, and calling it anyway returns 403 with a JSON-RPC error naming the scope. Missing or invalid credentials return 401. Conventions every tool shares →

UP NEXT Cru warehouses

API credentials

Enter the client key and secret issued by Cru. They are kept for this browser tab’s session — a reload keeps them, closing the tab or clearing them ends them.

Credentials are never included in copied examples, and are redacted from anything the console prints back.

Request API access

Tell us who you are and what you want to build. Cru issues a client key and secret for your organisation, scoped to what you need.

Markets you trade in (choose one or more)

We use what you send here to reply about API access, and for nothing else. Cloudflare Turnstile checks the form for bots (privacy policy).