HiMarket API

HiMarket API as documented publicly: 2 operations. Contract generated from the documentation by API Evangelist (2026-11-11); not the provider's own document.

GitHub OpenAPI

Operations 2

GET /api/public/v1/history Price history #
GET /api/public/v1/market Market snapshot #

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/himarket-hk:himarket-hk-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

himarket-hk-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: HiMarket API
  version: '2026-11-11'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-11: 2 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; HiMarket has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 0
    documentation: 2
    pages-with-code: 0
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-11'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://www.himarket.hk/docs/market-data
paths:
  /api/public/v1/history:
    get:
      operationId: get_api_public_v1_history
      tags:
      - Api
      summary: Price history
      description: Daily history for one printing, with optional finish filter and lookback window.
      x-source: https://www.himarket.hk/docs/market-data
      parameters:
      - name: printingId
        in: query
        required: true
        schema:
          type: string
        description: Stable identifier of the printing
      - name: finish
        in: query
        required: false
        schema:
          type: string
        description: 'nonfoil|foil|etched (default: every finish the printing exists in)'
      - name: days
        in: query
        required: false
        schema:
          type: string
        description: Lookback window (default 365, maximum 5 years)
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiPublicV1HistoryResponse'
      x-evidence:
        kind: documentation
  /api/public/v1/market:
    get:
      operationId: get_api_public_v1_market
      tags:
      - Api
      summary: Market snapshot
      description: One row per printing × language × finish × condition combination that currently has a live ask or a standing bid.
      x-source: https://www.himarket.hk/docs/market-data
      parameters:
      - name: game
        in: query
        required: true
        schema:
          type: string
        description: 'Required: riftbound or mtg'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetApiPublicV1MarketResponse'
      x-evidence:
        kind: documentation
components:
  schemas:
    GetApiPublicV1HistoryResponse:
      type: object
      properties:
        reference:
          type: array
          description: Series Points reference { date, usd, hkd } — English‑market reference price
        market:
          type: array
          description: market { date, lowestAskHkd, highestBidHkd } — HiMarket's own lowest ask and highest bid, Near‑Mint equivalent
        trades:
          type: array
          description: trades { date, priceHkd, nmEquivalentHkd, condition, language, finish } — anonymised completed sales
    GetApiPublicV1MarketResponse:
      type: object
      properties:
        version:
          type: string
          description: API version
        game:
          type: string
          description: Game identifier
        currency:
          type: string
          description: Currency, HKD
        snapshotAt:
          type: string
          description: When the snapshot behind the rows was last refreshed (ISO 8601)
        generatedAt:
          type: string
          description: When this response was generated (ISO 8601)
        printingId:
          type: string
          description: 'HiMarket printing id: set code + collector number, prefixed rb- for Riftbound'
        cardName:
          type: string
          description: Canonical English card name
        set:
          type: string
          description: Set code part of printingId
        collectorNumber:
          type: string
          description: Collector number part of printingId
        language:
          type: string
          description: Language code (en, zht, zhs, ja, ko, fr, de, es, pt, it, ru, …)
        finish:
          type: string
          description: nonfoil, foil or etched
        condition:
          type: string
          description: NM (Near Mint), SP (Slightly Played) or MP (Moderately Played)
        lowestAskHkd:
          type: number
          description: Lowest live asking price in HK$, or null if none
        highestBidHkd:
          type: number
          description: Highest standing buy offer in HK$, or null if none
        updatedAt:
          type: string
          description: When this printing's aggregate was last recomputed (ISO 8601)
        url:
          type: string
          description: HiMarket card page URL for this printing
        preorder:
          type: boolean
          description: True while the set is an active preorder set
tags:
- name: Api