LegendTrade · OpenAPI Overlay 1.0.0

API Evangelist enhancements for the Legend Info API

7 actions 7 updates update extends openapi/legendtrade-info-openapi.yml
Derived by API Evangelist Built from the contracts LegendTrade publishes. LegendTrade did not publish this file.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-agentic-accessx-apievangelist-notex-apievangelist-enrichedx-apievangelist-spec-provenancex-apievangelist-artifactsx-apievangelist-upstream

Targets 6

$.info
$.paths['/info'].post
$.paths['/health'].get
$.paths['/sparklines'].get
$.paths['/wallets/register'].post
$.paths['/wallets/{address}'].delete

OpenAPI Overlay

Raw ↑
overlay: 1.0.0
info:
  title: API Evangelist enhancements for the Legend Info API
  version: 1.0.0
extends: openapi/legendtrade-info-openapi.yml
x-api-evangelist:
  generated: '2026-07-19'
  method: generated
  source: >-
    API Evangelist enrichment pipeline. Records the provenance and caveats that
    apply to the generated Legend spec, so consumers can tell provider-published
    facts from pipeline-derived ones. Note that the base spec is itself
    generated from Legend's self-describing API root — Legend publishes no
    OpenAPI of its own.
actions:
- target: $.info
  update:
    x-apievangelist-enriched: '2026-07-19'
    x-apievangelist-spec-provenance: >-
      Generated from the API's self-describing root document (GET
      https://api.legend.trade) and verified with live probes of every
      endpoint. Legend's linked openapi.json is an unmodified Mintlify sample
      scaffold and was not used.
    x-apievangelist-artifacts:
      conventions: conventions/legendtrade-conventions.yml
      errors: errors/legendtrade-problem-types.yml
      authentication: authentication/legendtrade-authentication.yml
      lifecycle: lifecycle/legendtrade-lifecycle.yml
      conformance: conformance/legendtrade-conformance.yml
      data_model: data-model/legendtrade-data-model.yml
      events: asyncapi/legendtrade-ws-asyncapi.yml
      mcp: mcp/legendtrade-mcp.yml
      skills: skills/_index.yml
- target: $.info
  update:
    x-apievangelist-upstream:
      name: Hyperliquid
      url: https://hyperliquid.xyz
      relationship: >-
        Legend is a builder on Hyperliquid. Orders execute on Hyperliquid's
        order book and this API deliberately mirrors Hyperliquid's info and
        WebSocket conventions, so Hyperliquid's docs are the authority for
        per-request-type payload shapes.
- target: $.paths['/info'].post
  update:
    x-apievangelist-note: >-
      Multiplexed endpoint — the response schema varies by request type and is
      not modelled per type, because Legend publishes no payload reference.
      Only the `meta` response was observed live.
    x-agentic-access:
      action-class: connected
      consequence: read
      audience: null
- target: $.paths['/health'].get
  update:
    x-agentic-access:
      action-class: connected
      consequence: read
      audience: null
- target: $.paths['/sparklines'].get
  update:
    x-agentic-access:
      action-class: connected
      consequence: read
      audience: null
- target: $.paths['/wallets/register'].post
  update:
    x-apievangelist-note: >-
      Authenticated operator surface. Credential format is not published by
      Legend; the securityScheme in the base spec records observed 401
      behaviour, not a provider claim.
    x-agentic-access:
      action-class: acting
      consequence: write
      audit: required
      audience: null
- target: $.paths['/wallets/{address}'].delete
  update:
    x-agentic-access:
      action-class: acting
      consequence: write
      audit: required
      audience: null

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/legendtrade-info-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.