Magic Moment Sales API

The sales API from Magic Moment — 2 operation(s) for sales.

Operations 2

GET /reports/sales/contract #
GET /reports/sales/mrr #

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/magic-moment-sales-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

magic-moment-sales-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 集計基盤連携API仕様
  title: 集計基盤連携アプリケーション Sales API
  version: 1.0.0
servers:
- url: https://report.magicmoment.co.jp/
tags:
- name: sales
paths:
  /reports/sales/contract:
    get:
      security:
      - accessToken: []
      tags:
      - sales
      operationId: getContractSalesReport
      parameters:
      - $ref: '#/components/parameters/requiredStartDateInQuery'
      - $ref: '#/components/parameters/requiredEndDateInQuery'
      - $ref: '#/components/parameters/requiredSalesValueGroupType'
      - name: contractedUnitIds[]
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: contractedUserIds[]
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: productIds[]
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SalesValue'
  /reports/sales/mrr:
    get:
      security:
      - accessToken: []
      tags:
      - sales
      operationId: getMrrSalesReport
      parameters:
      - $ref: '#/components/parameters/requiredStartDateInQuery'
      - $ref: '#/components/parameters/requiredEndDateInQuery'
      - $ref: '#/components/parameters/requiredSalesValueGroupType'
      - name: contractedUnitIds[]
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: contractedUserIds[]
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      - name: productIds[]
        in: query
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SalesValue'
components:
  parameters:
    requiredEndDateInQuery:
      description: 検索範囲(終了)
      name: endDate
      in: query
      required: true
      schema:
        type: string
        format: date
    requiredSalesValueGroupType:
      name: groupType
      in: query
      required: true
      schema:
        type: string
        enum:
        - product
        - plan
        - unit
        - user
    requiredStartDateInQuery:
      description: 検索範囲(開始)
      name: startDate
      in: query
      required: true
      schema:
        type: string
        format: date
  schemas:
    UUID:
      type: string
      format: uuid
      example: 550e8400-e29b-41d4-a716-446655440000
    SalesValue:
      type: object
      required:
      - date
      - groupId
      - groupType
      - value
      properties:
        date:
          type: string
        groupId:
          $ref: '#/components/schemas/UUID'
        groupType:
          type: string
          enum:
          - product
          - plan
          - unit
          - user
        value:
          type: integer
          format: int64
  securitySchemes:
    accessToken:
      type: apiKey
      name: x-access-token
      in: header
    apiKey:
      type: apiKey
      name: x-api-key
      in: header