Beta

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

Developers
Cru World Wine
API v1 · Read access
Account

Test authentication

Confirm that your credentials work and see the account, permissions, and expiry associated with them.

GET/pingLIVE
Required scopemeta:readAuthentication requiredTry it
A simple first request

This authenticated check returns your credential details without exposing any trading data.

How this call works

3 STEPS
  1. Your server

    Send both credential headers

    GET/ping

    CLIENT-KEY and CLIENT-SECRET on an HTTPS request. There is no token exchange and no session to establish first.

  2. Cru

    Cru identifies the credential

    The hostname decides which market the credential is being used against, so a credential restricted to other markets is refused here too, with A009.

  3. Your server

    Check scopes and expiry before anything else

    A 200 means the credential works. Read scopes to confirm it can do what your integration needs, and expires_at to find out whether it will still work next month.

    KEEPscopes, expires_at, organisation

Request parameters

This endpoint takes no query or body parameters. Include the two authentication headers with your request.

Response fields

200 OK

Fields returned in the data object.

pongboolean

Always true on success.

client_keystring

The client key that authenticated this call.

organisationstring

The account associated with the credential.

labelstring | null

Label chosen when the credential was issued.

scopesarray<string>

The scopes granted to this credential.

expires_atdatetime | null

Null when this credential does not expire.

server_timedatetime

Server time in RFC 3339 UTC.

Errors

Missing credentials return A001 / 401. Insufficient scope returns A003 / 403. View all error codes →

UP NEXT List market bids

API credentials

Enter the client key and secret issued by Cru. They are kept in memory until you reload or clear 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.