GMX

GMX Paxos Transit API

The Paxos Transit API from GMX — 6 operation(s) for paxos transit.

Operations 6

GET /paxos/transit/routes Get routes #
GET /paxos/transit/fee-tier Get fee tier #
GET /paxos/transit/authorization Get authorization #
GET /paxos/transit/orders/quote Get quote #
GET /paxos/transit/orders/{orderId} Get order #
GET /paxos/transit/orders Get orders #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/gmx:gmx-paxos-transit-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

gmx-paxos-transit-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: '@gmx-io/gmx-public-api Paxos Transit API'
  version: 1.0.0
  license:
    name: Copyright
  contact: {}
servers:
- url: /v1
tags:
- name: Paxos Transit
paths:
  /paxos/transit/routes:
    get:
      operationId: GetRoutes
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaxosResponseBody'
        '404':
          description: Not Found - Paxos Transit is not enabled on this chain
        '502':
          description: Bad Gateway - Paxos request failed
      description: 'Conversion routes available in Paxos Transit.

        minOrderSize differs per fee tier, pass feeTier=zeroFee for the zero fee minimums.'
      tags:
      - Paxos Transit
      security: []
      parameters:
      - in: query
        name: filter
        required: false
        schema:
          type: string
      - in: query
        name: feeTier
        required: false
        schema:
          $ref: '#/components/schemas/TransitFeeTier'
      summary: Get routes
      x-summary-source: derived
  /paxos/transit/fee-tier:
    get:
      operationId: GetFeeTier
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransitFeeTierResponse'
        '404':
          description: Not Found - Paxos Transit is not enabled on this chain
      description: 'zeroFee for whitelisted addresses, standardFee for everyone else.

        zeroFeeCapacity: max USDC to USDG zero fee amount (USDG base units), refreshed every minute; 0 for standardFee.'
      tags:
      - Paxos Transit
      security: []
      parameters:
      - in: query
        name: userAddress
        required: true
        schema:
          type: string
      summary: Get fee tier
      x-summary-source: derived
  /paxos/transit/authorization:
    get:
      operationId: GetAuthorization
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaxosResponseBody'
        '404':
          description: Not Found - Paxos Transit is not enabled on this chain
        '502':
          description: Bad Gateway - Paxos request failed
      description: Whether the offer token needs a permit signature or an approval before the quote.
      tags:
      - Paxos Transit
      security: []
      parameters:
      - in: query
        name: userAddress
        required: true
        schema:
          type: string
      - in: query
        name: tokenAddress
        required: true
        schema:
          type: string
      - in: query
        name: spenderAddress
        required: true
        schema:
          type: string
      - in: query
        name: amount
        required: true
        schema:
          type: string
      - in: query
        name: chainId
        required: true
        schema:
          format: double
          type: number
      summary: Get authorization
      x-summary-source: derived
  /paxos/transit/orders/quote:
    get:
      operationId: GetQuote
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaxosResponseBody'
        '400':
          description: Bad Request - zero fee is not available for this route
        '403':
          description: Forbidden - userAddress is not whitelisted for zero fee
        '404':
          description: Not Found - Paxos Transit is not enabled on this chain
        '409':
          description: Conflict - zero fee capacity is not available now
        '502':
          description: Bad Gateway - Paxos request failed
      description: Signed submitOrder calldata. feeTier=zeroFee needs a whitelisted address, the USDC/USDG route on this chain and enough capacity.
      tags:
      - Paxos Transit
      security: []
      parameters:
      - in: query
        name: userAddress
        required: true
        schema:
          type: string
      - in: query
        name: offerAsset
        required: true
        schema:
          type: string
      - in: query
        name: wantAsset
        required: true
        schema:
          type: string
      - in: query
        name: offerAmount
        required: true
        schema:
          type: string
      - in: query
        name: sourceChainId
        required: true
        schema:
          format: double
          type: number
      - in: query
        name: destinationChainId
        required: true
        schema:
          format: double
          type: number
      - in: query
        name: permitSignature
        required: false
        schema:
          type: string
      - in: query
        name: permitDeadline
        required: false
        schema:
          format: double
          type: number
      - in: query
        name: responseFormat
        required: false
        schema:
          $ref: '#/components/schemas/TransitResponseFormat'
      - in: query
        name: feeTier
        required: false
        schema:
          $ref: '#/components/schemas/TransitFeeTier'
      summary: Get quote
      x-summary-source: derived
  /paxos/transit/orders/{orderId}:
    get:
      operationId: GetOrder
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaxosResponseBody'
        '404':
          description: Not Found - Paxos Transit is not enabled on this chain
        '502':
          description: Bad Gateway - Paxos request failed
      description: Status of one Paxos Transit order.
      tags:
      - Paxos Transit
      security: []
      parameters:
      - in: path
        name: orderId
        required: true
        schema:
          type: string
      summary: Get order
      x-summary-source: derived
  /paxos/transit/orders:
    get:
      operationId: GetOrders
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaxosResponseBody'
        '404':
          description: Not Found - Paxos Transit is not enabled on this chain
        '502':
          description: Bad Gateway - Paxos request failed
      description: Paxos Transit order history of a user.
      tags:
      - Paxos Transit
      security: []
      parameters:
      - in: query
        name: userAddress
        required: true
        schema:
          type: string
      - in: query
        name: pageSize
        required: false
        schema:
          format: double
          type: number
      - in: query
        name: pageToken
        required: false
        schema:
          type: string
      - in: query
        name: filter
        required: false
        schema:
          type: string
      summary: Get orders
      x-summary-source: derived
components:
  schemas:
    TransitFeeTier:
      type: string
      enum:
      - zeroFee
      - standardFee
    PaxosResponseBody:
      $ref: '#/components/schemas/Record_string.unknown_'
    TransitResponseFormat:
      type: string
      enum:
      - encoded
      - full
      - structured
    Record_string.unknown_:
      properties: {}
      additionalProperties: {}
      type: object
      description: Construct a type with a set of properties K of type T
    TransitFeeTierResponse:
      properties:
        zeroFeeCapacity:
          type: string
        feeTier:
          $ref: '#/components/schemas/TransitFeeTier'
      required:
      - zeroFeeCapacity
      - feeTier
      type: object