RealPing Account API

The Account API from RealPing — 3 operation(s) for account.

GitHub OpenAPI

Operations 4

POST /account/keys 登入後發一把金鑰 #
GET /account/keys 列出自己的金鑰 #
POST /account/keys/{key_id}/revoke 撤銷自己的金鑰 #
GET /account/subscription 查自己的訂閱狀態 #

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/realping-tw:realping-tw-account-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

realping-tw-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: RealPing 實坪 Account API
  description: 去車位、去公設修正後的台灣不動產實坪每坪成交資料。資料來源:內政部不動產交易實價查詢服務網
  version: 0.1.0
tags:
- name: Account
paths:
  /account/keys:
    post:
      summary: 登入後發一把金鑰
      description: 'OAuth 登入者領一把帶免費額度的金鑰(綁定本人)。金鑰只回一次。

        每人最多 MAX_KEYS_PER_USER 把有效金鑰,達上限需先撤銷舊的(防無限領、疊加免費額度)。'
      operationId: account_create_key_account_keys_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Account
    get:
      summary: 列出自己的金鑰
      description: 'dashboard:列出本人持有的金鑰(prefix/用量/狀態,不含明文)。


        每把 key 的 `used` 只是**這把的貢獻**;配額按「人」算,故另回帳號層的

        `used_total`(所有金鑰加總、含已撤銷)與共用的 `quota_monthly`——

        dashboard 要顯示這一組,否則會出現「新 key 顯示 0 卻被 429」。'
      operationId: account_list_keys_account_keys_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Account
  /account/keys/{key_id}/revoke:
    post:
      summary: 撤銷自己的金鑰
      description: 停用一把金鑰(僅限本人持有的)。key_id 為 dashboard 列出的不可逆 id。
      operationId: account_revoke_key_account_keys__key_id__revoke_post
      parameters:
      - name: key_id
        in: path
        required: true
        schema:
          type: string
          title: Key Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Account
  /account/subscription:
    get:
      summary: 查自己的訂閱狀態
      description: 'dashboard:回本人訂閱狀態(status / provider / quota_monthly),無訂閱回 Free。


        ⚠️ `provider` 必須一起回:免費試用(`provider="trial"`)的 status 也是 `"active"`

        (`entitled_quota` 認 status,不能換值)。dashboard 若只看 status,試用中的人會被

        顯示成 Pro、升級鈕還被藏起來——**正想付錢的人反而按不到付款**。

        `paid` 直接把「是不是真的付費客戶」算好給前端,別讓判斷邏輯散在兩邊。'
      operationId: account_subscription_account_subscription_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Account
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError