0xArchive · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for 0xArchive Lighter - Trades API

3 actions 3 updates phrasing extends openapi/0xarchive-lighter-trades-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for 0xArchive's API. It is a proposal applied on top of the contract, not a document 0xArchive publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/v1/lighter/trades/{symbol}'].get
$.paths['/v1/lighter/trades/{symbol}/recent'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for 0xArchive Lighter - Trades API
  version: 1.0.0
extends: openapi/0xarchive-lighter-trades-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/v1/lighter/trades/{symbol}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get historical Lighter trades
      effect: read
      questions:
      - Can I get every fill on a Lighter market over a time range?
      - When does Lighter fill history begin?
      instructions:
      - text: Get Lighter trades for {symbol} from {start} to {end}.
        slots:
          symbol: path.symbol
          start: query.start
          end: query.end
      - text: Page Lighter fills for {symbol} with cursor {cursor}.
        slots:
          symbol: path.symbol
          cursor: query.cursor
      method: generated
      generated: '2026-09-26'
- target: $.paths['/v1/lighter/trades/{symbol}/recent'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the latest Lighter trades
      effect: read
      questions:
      - What were the last trades on a Lighter market?
      - Can I get the newest Lighter fills without giving a time range?
      instructions:
      - text: Get the most recent Lighter trades for {symbol}.
        slots:
          symbol: path.symbol
      - text: Show the last {limit} Lighter fills on {symbol}.
        slots:
          limit: query.limit
          symbol: path.symbol
      method: generated
      generated: '2026-09-26'