Wagyu Swap Points API

Read public Wagyu points balances and rankings.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /v2/points/{address} Read an address points balance #
GET /v2/points/leaderboard List the points leaderboard #

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/wagyu-xyz:wagyu-xyz-points-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

wagyu-xyz-points-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wagyu Consumer Points API
  version: v2
  contact:
    name: Wagyu API documentation
    url: https://docs.wagyu.xyz
  description: 'Public HTTP contract for building a Wagyu swap and native-bridge client. Order IDs are not credentials; retain the returned session ID privately. WebSocket updates are documented separately because REST remains the durable source of truth. An order status is final only when it is completed or refunded: failed and expired are not final, because a recovery or a late deposit can still complete or refund the order.'
  x-final-order-statuses:
  - completed
  - refunded
servers:
- url: https://api.wagyu.xyz
  description: Production
tags:
- name: Points
  description: Read public Wagyu points balances and rankings.
paths:
  /v2/points/{address}:
    get:
      operationId: getPoints
      summary: Read an address points balance
      tags:
      - Points
      parameters:
      - schema:
          type: string
          minLength: 1
        in: path
        name: address
        required: true
        description: Address whose points balance to read.
      security: []
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PointsBalance'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '504':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /v2/points/leaderboard:
    get:
      operationId: getPointsLeaderboard
      summary: List the points leaderboard
      tags:
      - Points
      parameters:
      - schema:
          default: 25
          type: integer
          minimum: 1
          maximum: 200
        in: query
        name: limit
        required: false
        description: Number of ranked rows to return.
      security: []
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PointsLeaderboard'
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '504':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    PointsLeaderboard:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              address:
                type: string
              volumeUsd:
                type: number
              eligibleOrderVolumeUsd:
                type: number
              bonusVolumeUsd:
                type: number
              wagyu:
                type: number
              tradeCount:
                type: number
              lastOrderAt:
                type:
                - string
                - 'null'
              rank:
                type: number
              totalVolume:
                type: number
            required:
            - address
            - volumeUsd
            - eligibleOrderVolumeUsd
            - bonusVolumeUsd
            - wagyu
            - tradeCount
            - lastOrderAt
            - rank
            - totalVolume
            additionalProperties: false
      required:
      - data
      additionalProperties: false
    ApiErrorCode:
      type: string
      enum:
      - invalid_request
      - unauthorized
      - forbidden
      - not_found
      - conflict
      - amount_below_minimum
      - no_route
      - paused
      - rate_limited
      - unavailable
      - request_failed
      - integration_not_approved
      - human_check_failed
    PointsBalance:
      type: object
      properties:
        address:
          type: string
        volumeUsd:
          type: number
        eligibleOrderVolumeUsd:
          type: number
        bonusVolumeUsd:
          type: number
        wagyu:
          type: number
        rank:
          type:
          - number
          - 'null'
        tradeCount:
          type: number
        lastOrderAt:
          type:
          - string
          - 'null'
        formula:
          type: object
          properties:
            pointsPerUsd:
              type: number
            label:
              type: string
          required:
          - pointsPerUsd
          - label
          additionalProperties: false
      required:
      - address
      - volumeUsd
      - eligibleOrderVolumeUsd
      - bonusVolumeUsd
      - wagyu
      - rank
      - tradeCount
      - lastOrderAt
      - formula
      additionalProperties: false
    ApiError:
      type: object
      properties:
        code:
          $ref: '#/components/schemas/ApiErrorCode'
        error:
          type: string
        minAmountUsd:
          type: number
          exclusiveMinimum: 0
        retryAfter:
          type: number
          minimum: 0
      required:
      - code
      - error
      additionalProperties: false
  securitySchemes:
    orderSession:
      type: apiKey
      in: header
      name: x-session-id
      description: Owner credential returned when an order is created. Keep it private and send it only in this header, never in a URL.
    destinationProof:
      type: apiKey
      in: query
      name: verify
      description: 'Read-only proof for one order: its exact destination address. Missing or invalid proof intentionally returns the same 404 as a missing order.'
    integratorKey:
      type: apiKey
      in: header
      name: x-integrator-key
      description: Optional integration credential. It does not unlock the API — quoting, creating and tracking all work without it. It attributes the order to your integration, collects your integrator fee, and is what permits a caller-supplied sessionId at creation. A confidential (server-side) key may also end the deposit wait of the orders created by its own integration. `x-api-key` is accepted as an alias; a key in the query string is refused even when valid, so a credential can never reach a proxy log. Sending no key is anonymous, never an error. A key that is present but invalid, revoked, or belongs to a suspended integration is refused with 401 on every route rather than silently downgraded to anonymous, and that 401 carries the generic unauthorized body — the reason stays in our logs.