Alpha Bazaar Referrals API

Referral codes and partner revenue

Operations 3

GET /api/referrals/my-code Get My Referral Code #
GET /api/referrals/leaderboard Get Top Referrers #
GET /api/referrals/my-stats Get My Referral Stats #

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/alphabazaar-ai:alphabazaar-ai-referrals-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

alphabazaar-ai-referrals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Alphabazaar Ai Referrals API
  version: 2.2.0-socketio
  contact:
    name: Alpha Bazaar
    url: https://alphabazaar.ai/
    email: support@alphabazaar.ai
  license:
    name: Proprietary
  termsOfService: https://www.alphabazaar.ai/legal/terms
  description: 'Operations tagged Referrals across 2 of this provider''s published API definitions: alphabazaar-ai-openapi.yml, openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://alpha-bazaar-signal-server.onrender.com
  description: Production
- url: https://dev-alpha-bazaar-signal-server.onrender.com
  description: Staging
security:
- HTTPBearer: []
tags:
- name: Referrals
  description: Referral codes and partner revenue
paths:
  /api/referrals/my-code:
    get:
      tags:
      - Referrals
      summary: Get My Referral Code
      description: Get or generate user's referral code
      operationId: get_my_referral_code_api_referrals_my_code_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferralCodeResponse'
      security:
      - HTTPBearer: []
    servers:
    - url: https://alpha-bazaar-signal-server.onrender.com
      description: Production
    - url: https://dev-alpha-bazaar-signal-server.onrender.com
      description: Staging
  /api/referrals/leaderboard:
    get:
      tags:
      - Referrals
      summary: Get Top Referrers
      description: 'Get top referrers by successful referral count (public: usernames only, no user ids)'
      operationId: get_top_referrers_api_referrals_leaderboard_get
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 10
          title: Limit
        description: Results per page
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security: []
    servers:
    - url: https://alpha-bazaar-signal-server.onrender.com
      description: Production
    - url: https://dev-alpha-bazaar-signal-server.onrender.com
      description: Staging
  /api/referrals/my-stats:
    get:
      tags:
      - Referrals
      summary: Get My Referral Stats
      description: Get current user's referral statistics
      operationId: get_my_referral_stats_api_referrals_my_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
    servers:
    - url: https://alpha-bazaar-signal-server.onrender.com
      description: Production
    - url: https://dev-alpha-bazaar-signal-server.onrender.com
      description: Staging
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
    ReferralCodeResponse:
      properties:
        referral_code:
          type: string
          title: Referral Code
        referral_link_web:
          type: string
          title: Referral Link Web
        referral_link_mobile:
          type: string
          title: Referral Link Mobile
      type: object
      required:
      - referral_code
      - referral_link_web
      - referral_link_mobile
      title: ReferralCodeResponse
      description: GET /api/referrals/my-code
      example:
        referral_code: TRADER123
        referral_link_mobile: alphabazaar://signup?ref=TRADER123
        referral_link_web: https://alphabazaar.ai/signup?ref=TRADER123
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
externalDocs:
  description: Agent integration guide and full API docs
  url: https://www.alphabazaar.ai/llms-full.txt
x-refined-from:
- alphabazaar-ai-openapi.yml
- openapi.json