Getting started

Introduction to the Lise GraphQL and FIX APIs

Getting started

Lise exposes two partner integrations:

  • GraphQL — HTTP API for trading, account, and compliance operations
  • FIX 4.4 — market-data feed for secondary-market order books (read-only)

Most integrations start with GraphQL. Use FIX when you need a live Level-2 book over a FIX session.

GraphQL endpoint

All GraphQL operations are sent as HTTP POST requests with a JSON body containing your query or mutation.

EnvironmentURL
Productionhttps://www.lise.com/graphql
Sandboxhttps://sandbox.lise.com/graphql
📘

Replace the URLs above with the endpoints provided by your account manager. The default local development server runs at http://localhost:8080/graphql.

Quick example

Fetch a single account by ID:

curl -X POST https://sandbox.lise.com/graphql \
  -H "Content-Type: application/json" \
  -H "X-Token-Auth: lise-apikey_<login>_<secret>" \
  -d '{
    "query": "query Account($id: String!) { account(id: $id) { id status createdAt } }",
    "variables": { "id": "account|abc123" }
  }'

What you need

  1. API credentials — an API key issued for your integration account (see Authentication). The same key authenticates GraphQL and FIX Logon.
  2. GraphQL client — any HTTP client works; we recommend a GraphQL-aware client (Apollo, urql, Relay) for production integrations.
  3. Schema reference — browse the auto-generated API Reference for all available types, queries, and mutations.
  4. FIX session (optional) — host, port, and CompIDs from your account manager if you consume market data over FIX. See FIX market data.

GraphQL basics

  • Queries read data. They can be called without authentication for public fields, but most partner operations require an API key.
  • Mutations change state. They always require authentication and an idempotency key.
  • Relay pagination is used for list endpoints. See Pagination.

Next steps


Did this page help you?