How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lighter referral API

The referral API from Lighter — 6 operation(s) for referral.

Lighter referral API is one of 13 APIs that Lighter publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Referral. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, API documentation, and an API reference.

This API exposes 6 operations across 6 paths, and defines 10 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

Requests are made against a single base URL, https://mainnet.zklighter.elliot.ai.

6 operations 6 paths 10 schemas 2 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0
Base URL
https://mainnet.zklighter.elliot.ai
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Lighter referral API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (apiKey).

  • apiKey — Enter JWT Bearer token only

Paths & Operations 6

Across 6 paths, the API surfaces 6 operations — 2 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

referral 6
GET
/api/v1/referral/points
referralpoints
referral_points 2 params → 200400
POST
/api/v1/referral/create
referralcreate
referral_create 1 param body → 200400
GET
/api/v1/referral/get
referralget
referral_get 3 params → 200400
POST
/api/v1/referral/kickback/update
referralkickbackupdate
referral_kickback_update 1 param body → 200400
POST
/api/v1/referral/update
referralupdate
referral_update 1 param body → 200400
POST
/api/v1/referral/use
referraluse
referral_use 1 param body → 200400

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are ReqUseReferralCode (7 properties), ReferralPointEntry (6 properties), ReferralPoints (6 properties), ReferralCode (4 properties). Each schema is shown below with its type and property counts.

RespUpdateReferralCode
object
3 properties 2 required
ReqUseReferralCode
object
7 properties 3 required
RespUpdateKickback
object
3 properties 2 required
ReqUpdateReferralCode
object
3 properties 2 required
ReqCreateReferralCode
object
2 properties 1 required
ReferralCode
object
4 properties 3 required
ReferralPoints
object
6 properties 6 required
ResultCode
object
2 properties 1 required
ReqUpdateKickback
object
3 properties 2 required
ReferralPointEntry
object
6 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lighter-referral-api-openapi.yml Raw ↑

Other APIs Lighter publishes across the network.

Lighter account API
Lighter announcement API
Lighter block API
Lighter bridge API
Lighter candlestick API
Lighter funding API
Lighter info API
Lighter notification API
Lighter order API
Lighter root API
Lighter tokenlist API
Lighter transaction API
Where this information came from

This is an independent, third-party profile of Lighter referral API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.