MemeSwap Research API

Read-only token, chain, and public-address observations.

GitHub OpenAPI

Operations 4

GET /api/tokens List the current token research set #
GET /api/token/{chain}/{address} Read a token profile #
GET /api/chains List network metadata #
GET /api/portfolio Read holdings for a public address #

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/memeswap-fun:memeswap-fun-research-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

memeswap-fun-research-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MemeSwap Public Research API
  version: 0.1.0-beta
  description: 'Public beta HTTP twin of MemeSwap meme-coin research, quotes, and unsigned swap construction. For AI agents prefer live MCP: https://mcp.memeswap.fun/mcp (Fee 0.85%. NFA. Wallet signs. Does not launch tokens). The service does not sign or custody transactions. Provider availability and returned fields can change during the beta.'
  contact:
    name: Agentic Labs LLC
    url: https://memeswap.fun/contact.html
servers:
- url: https://memeswap.fun
  description: MemeSwap beta
security: []
tags:
- name: Research
  description: Read-only token, chain, and public-address observations.
paths:
  /api/tokens:
    get:
      operationId: listTokens
      tags:
      - Research
      summary: List the current token research set
      description: Returns currently listed token market and risk-context rows. The server rebuilds this representation at most once every 10 seconds; source timestamps in each row may be older.
      security: []
      responses:
        '200':
          description: Current token rows and source update context.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenList'
  /api/token/{chain}/{address}:
    get:
      operationId: getToken
      tags:
      - Research
      summary: Read a token profile
      description: Returns the stored market, holder, trade, and risk-research record for one listed token. Observations carry their own timestamps and are not real-time guarantees.
      security: []
      parameters:
      - name: chain
        in: path
        required: true
        description: MemeSwap chain key from GET /api/chains.
        schema:
          type: string
      - name: address
        in: path
        required: true
        description: Token address or chain-specific token identifier.
        schema:
          type: string
      responses:
        '200':
          description: Stored token profile and observations.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenProfile'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/chains:
    get:
      operationId: listChains
      tags:
      - Research
      summary: List network metadata
      description: Returns the network identifiers, native asset metadata, public RPC candidates, explorers, and available route provider labels used by the browser.
      security: []
      responses:
        '200':
          description: Configured network metadata.
          content:
            application/json:
              schema:
                type: object
                required:
                - chains
                properties:
                  chains:
                    type: array
                    items:
                      $ref: '#/components/schemas/Chain'
  /api/portfolio:
    get:
      operationId: readPortfolio
      tags:
      - Research
      summary: Read holdings for a public address
      description: Reads on-chain holdings for a caller-supplied EVM or Solana public address and attaches available MemeSwap or provider prices. At least address or sol is required. Missing prices remain unpriced. Identical requests may reuse a response for 30 seconds. Cache misses share a fixed 60-second budget of 12 requests per client address and 300 globally.
      security: []
      parameters:
      - name: address
        in: query
        required: false
        description: Public EVM address. Required when sol is omitted.
        schema:
          type: string
          pattern: ^0x[0-9a-fA-F]{40}$
      - name: sol
        in: query
        required: false
        description: Public Solana address. Required when address is omitted.
        schema:
          type: string
          minLength: 32
          maxLength: 44
      - name: chains
        in: query
        required: false
        description: Comma-separated EVM chain keys. Defaults to chains represented in the current token set.
        schema:
          type: string
      - name: dust
        in: query
        required: false
        description: USD display threshold for unlisted holdings. Defaults to 0.01.
        schema:
          type: number
          minimum: 0
          default: 0.01
      responses:
        '200':
          description: Holdings, available prices, and aggregate totals as observed by the server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Portfolio'
        '400':
          $ref: '#/components/responses/BadRequest'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    TokenRow:
      type: object
      required:
      - chain
      - address
      - symbol
      - name
      properties:
        chain:
          type: string
        address:
          type: string
        symbol:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
        price:
          type:
          - number
          - 'null'
        priceTs:
          type:
          - integer
          - 'null'
        priceStale:
          type: boolean
        mcap:
          type:
          - number
          - 'null'
        liq:
          type:
          - number
          - 'null'
        vol24:
          type:
          - number
          - 'null'
        holders:
          type:
          - number
          - 'null'
        security:
          type:
          - object
          - 'null'
          additionalProperties: true
        lp:
          type:
          - object
          - 'null'
          additionalProperties: true
        book:
          type: string
        metaTs:
          type:
          - integer
          - 'null'
        profileTs:
          type:
          - integer
          - 'null'
      additionalProperties: true
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
        scope:
          type: string
      additionalProperties: true
    TokenList:
      type: object
      required:
      - tokens
      - books
      - updatedAt
      properties:
        tokens:
          type: array
          items:
            $ref: '#/components/schemas/TokenRow'
        books:
          type: array
          items:
            type: object
            additionalProperties: true
        gated:
          type: integer
        updatedAt:
          type: integer
          description: Unix epoch milliseconds when the cached representation was built.
    Chain:
      type: object
      required:
      - key
      - name
      - native
      - decimals
      - explorer
      properties:
        key:
          type: string
        evm:
          type: boolean
        sui:
          type: boolean
        ton:
          type: boolean
        chainId:
          type:
          - integer
          - 'null'
        chainIdHex:
          type:
          - string
          - 'null'
        name:
          type: string
        native:
          type: string
        decimals:
          type: integer
        rpc:
          type: array
          items:
            type: string
            format: uri
        explorer:
          type: string
          format: uri
        aggregator:
          type:
          - string
          - 'null'
        lifiChainId:
          type:
          - integer
          - 'null'
    TokenProfile:
      type: object
      required:
      - chain
      - token
      - updatedAt
      properties:
        chain:
          type: string
        token:
          type: string
        updatedAt:
          type: integer
        row:
          oneOf:
          - $ref: '#/components/schemas/TokenRow'
          - type: 'null'
        profile:
          type:
          - object
          - 'null'
          additionalProperties: true
        holders:
          type: array
          items:
            type: object
            additionalProperties: true
        early:
          type: array
          items:
            type: object
            additionalProperties: true
        candles:
          type: array
          items:
            type: object
            additionalProperties: true
        trades:
          type: array
          items:
            type: object
            additionalProperties: true
      additionalProperties: true
    Portfolio:
      type: object
      required:
      - chains
      - totalUsd
      - tokenCount
      - unpriced
      - at
      properties:
        address:
          type:
          - string
          - 'null'
        sol:
          type:
          - string
          - 'null'
        chains:
          type: array
          items:
            type: object
            additionalProperties: true
        totalUsd:
          type: number
        tokenCount:
          type: integer
        unpriced:
          type: integer
        at:
          type: string
          format: date-time
  responses:
    BadRequest:
      description: The request failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: The requested token was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: The current fixed-window client or global budget is exhausted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'