FxSocket Subscription API

The Subscription API from FxSocket, for subscription.

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 /subscription Get subscription, seats and balance #
GET /v1/subscription Plan and status, how many account seats are paid for and how many are in use… #

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/fxsocket-com:fxsocket-com-subscription-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

fxsocket-com-subscription-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fxsocket Com Subscription API
  x-refined-note:
  - x-authored-by differs across the merged source definitions and was not carried
  - x-engine differs across the merged source definitions and was not carried
  - x-evidence-tiers differs across the merged source definitions and was not carried
  - x-generated differs across the merged source definitions and was not carried
  - x-generated-from differs across the merged source definitions and was not carried
  - x-generator differs across the merged source definitions and was not carried
  - x-provenance differs across the merged source definitions and was not carried
  - x-sources differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Subscription across 3 of this provider''s published API definitions: fxsocket-com-openapi-original.yml, fxsocket-com-openapi-generated.yml, fxsocket-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.fxsocket.com/v1
- url: https://api.fxsocket.com
tags:
- name: Subscription
paths:
  /subscription:
    get:
      operationId: subscription_retrieve
      description: 'Plan and status, how many account seats are paid for and how many are in use, when the current period ends, and (for balance-funded accounts) the prepaid balance with the next charge it has to cover.


        Seats do not share one renewal date: each seat renews a calendar month after it was bought, so `seat_details` lists them individually. `wallet` is null unless the subscription is paid from balance.'
      summary: Get subscription, seats and balance
      tags:
      - Subscription
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1Subscription'
          description: ''
        '401':
          description: Missing or invalid API key.
    servers:
    - url: https://api.fxsocket.com/v1
  /v1/subscription:
    get:
      operationId: get_v1_subscription
      tags:
      - Subscription
      summary: Plan and status, how many account seats are paid for and how many are in use…
      x-source: https://fxsocket.com/docs/api/wallet
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetV1SubscriptionResponse'
      x-evidence:
        kind: documentation
      security:
      - apiKey: []
    servers:
    - url: https://api.fxsocket.com
components:
  schemas:
    V1Wallet:
      type: object
      description: 'Prepaid balance state.


        Present for every caller while the wallet is switched on, whatever

        they pay their plan with: a card customer can hold credit and can

        owe for a balance-funded private server. Null only when the wallet

        is off for the deployment.


        ``next_charge_*`` is what the BALANCE owes, across account seats and

        private servers. It is null when the balance owes nothing, including

        for a card plan whose next charge belongs to the provider instead.'
      properties:
        balance_eur_cents:
          type: integer
          readOnly: true
        next_charge_eur_cents:
          type:
          - integer
          - 'null'
          readOnly: true
        next_charge_at:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
        covers_next_charge:
          type: boolean
          readOnly: true
      required:
      - balance_eur_cents
      - covers_next_charge
      - next_charge_at
      - next_charge_eur_cents
    V1Seat:
      type: object
      description: 'One paid account slot and its own expiry.


        Seats do not share a renewal date: each one renews a calendar month

        after it was bought, so a seat added on the 15th renews on the 15th

        while one added on the 1st renews on the 1st. ``account_id`` is null

        for a slot that is paid for but not currently in use.'
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        paid_until:
          type: string
          format: date-time
          readOnly: true
        status:
          type: string
          readOnly: true
        account_id:
          type:
          - string
          - 'null'
          format: uuid
          readOnly: true
      required:
      - account_id
      - id
      - paid_until
      - status
    V1Subscription:
      type: object
      description: 'Plan, seats, period and balance in one response.


        Everything here is derived from state the dashboard already reads, so

        there is no second source of truth to keep correct: ``seats.total``

        is ``Subscription.account_cap`` (the enforced connect limit, bonus

        accounts included), ``seats.used`` is the real count of connected

        accounts, and ``paid_access`` / ``grace_ends_at`` are the same model

        properties that gate the app.'
      properties:
        plan:
          type: string
          readOnly: true
        status:
          type: string
          readOnly: true
        paid_access:
          type: boolean
          readOnly: true
        billing_provider:
          type:
          - string
          - 'null'
          readOnly: true
        cancel_at_period_end:
          type: boolean
          readOnly: true
        seats:
          type: object
          additionalProperties: {}
          readOnly: true
        seat_details:
          type: array
          items:
            $ref: '#/components/schemas/V1Seat'
          readOnly: true
        current_period_end:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
        grace_ends_at:
          type:
          - string
          - 'null'
          format: date-time
          readOnly: true
        wallet:
          allOf:
          - $ref: '#/components/schemas/V1Wallet'
          readOnly: true
      required:
      - billing_provider
      - cancel_at_period_end
      - current_period_end
      - grace_ends_at
      - paid_access
      - plan
      - seat_details
      - seats
      - status
      - wallet
    GetV1SubscriptionResponse:
      type: object
      properties:
        plan:
          type: string
        status:
          type: string
        paid_access:
          type: boolean
        billing_provider:
          type: string
        cancel_at_period_end:
          type: boolean
        seats:
          type: object
        seat_details:
          type: array
        current_period_end:
          type: string
          description: ISO8601 datetime
        grace_ends_at:
          type: string
          description: ISO8601 datetime or null
        wallet:
          type: object
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Your fxsocket API key, e.g. `fxs_live_…`. `Authorization: Bearer <key>` is also accepted. A read-only key (`fxs_ro_…`) authenticates too, but only for GET endpoints — mutating requests return 403. Read-only keys you created with a name can additionally be scoped to specific accounts: everything outside the scope is invisible to them (absent from lists, `404` by id), including the private servers those accounts sit on.'
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
x-refined-from:
- fxsocket-com-openapi-original.yml
- fxsocket-com-openapi-generated.yml
- fxsocket-com-openapi.yml