Niche Modules API

The modules API from Niche — 3 operation(s) for modules.

GitHub OpenAPI

Operations 3

GET /modules Get Modules #
POST /modules/{slug}/activate Activate Module #
POST /modules/{slug}/deactivate Deactivate Module #

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/nicheangle-com:nicheangle-com-modules-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

nicheangle-com-modules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Signal Modules API
  version: 0.1.0
tags:
- name: Modules
paths:
  /modules:
    get:
      tags:
      - Modules
      summary: Get Modules
      description: 'Single payload the /modules page reads: full catalog + which the user

        has, + their plan so the UI can render the Studio bypass state.'
      operationId: get_modules_modules_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:
                $ref: '#/components/schemas/ModulesCatalogResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /modules/{slug}/activate:
    post:
      tags:
      - Modules
      summary: Activate Module
      description: 'Unlock a module for the current user. Free grant today; Stripe checkout

        will sit in front of this once billing is live (the webhook will call the

        same `grant_module` underneath so the activation path is single-sourced).'
      operationId: activate_module_modules__slug__activate_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModuleActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /modules/{slug}/deactivate:
    post:
      tags:
      - Modules
      summary: Deactivate Module
      description: 'Cancel the user''s subscription to a module. Row stays around (status

        flipped to `canceled`) so re-activation later preserves the audit trail.

        Studio users can''t deactivate per-module — the whole bundle is the SKU.'
      operationId: deactivate_module_modules__slug__deactivate_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModuleActionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ModuleEntry:
      properties:
        slug:
          type: string
          title: Slug
        name:
          type: string
          title: Name
        monthly_price_usd:
          type: integer
          title: Monthly Price Usd
        state:
          type: string
          title: State
        entitled:
          type: boolean
          title: Entitled
        status:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
        checkout_available:
          type: boolean
          title: Checkout Available
      type: object
      required:
      - slug
      - name
      - monthly_price_usd
      - state
      - entitled
      - status
      - checkout_available
      title: ModuleEntry
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ModulesCatalogResponse:
      properties:
        plan:
          type: string
          title: Plan
        studio_includes_all:
          type: boolean
          title: Studio Includes All
        stripe_billing_enabled:
          type: boolean
          title: Stripe Billing Enabled
        modules:
          items:
            $ref: '#/components/schemas/ModuleEntry'
          type: array
          title: Modules
      type: object
      required:
      - plan
      - studio_includes_all
      - stripe_billing_enabled
      - modules
      title: ModulesCatalogResponse
    ModuleActionResponse:
      properties:
        slug:
          type: string
          title: Slug
        status:
          type: string
          title: Status
      type: object
      required:
      - slug
      - status
      title: ModuleActionResponse
    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