CoinRebate Referral Check API

The Referral Check API from CoinRebate — 1 operation(s) for referral check.

Operations 1

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/coinrebate-vip:coinrebate-vip-referral-check-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

coinrebate-vip-referral-check-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CoinRebate Fee Optimization Referral Check API
  description: 'Free, open API for querying crypto exchange fee data and compliance-filtered recommendations. No authentication is required. Breaking changes follow the published 90-day deprecation policy: https://www.coinrebate.vip/en/developers#deprecation'
  version: 4.1.0
  contact:
    name: CoinRebate
    url: https://www.coinrebate.vip/en/contact
    email: support@coinrebate.vip
  license:
    name: Free to use
    url: https://www.coinrebate.vip/for-agents
servers:
- url: https://www.coinrebate.vip
  description: Production
tags:
- name: Referral Check
paths:
  /api/v4/referral-check:
    get:
      operationId: checkReferralLink
      summary: Check a configured referral link
      description: 'Checks whether a URL carries CoinRebate''s own current referral code (allowlisted exchange hosts only). This is a self-check for CoinRebate links: a link carrying someone else''s code is reported as stale_code even though it may be perfectly valid. For a neutral inspection of any exchange link, use inspect_exchange_link.'
      parameters:
      - name: url
        in: query
        required: true
        description: Exchange referral URL to validate.
        schema:
          type: string
          format: uri
      responses:
        '200':
          description: Referral link validation result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferralCheckResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      tags:
      - Referral Check
components:
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            invalidCountry:
              summary: Unassigned country code
              value:
                error: Invalid country. Expected an assigned ISO 3166-1 alpha-2 code.
                code: invalid_country
                docs: https://www.coinrebate.vip/openapi.json
            invalidPurpose:
              summary: Unsupported trading purpose
              value:
                error: Invalid purpose. Expected 'spot' or 'futures'.
                code: invalid_purpose
                docs: https://www.coinrebate.vip/openapi.json
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    ReferralCheckResponse:
      type: object
      required:
      - url
      - exchange
      - known_host
      - carries_current_code
      - code_expected
      - http_status
      - final_url
      - verdict
      - official_link
      properties:
        url:
          type: string
        exchange:
          type:
          - string
          - 'null'
        known_host:
          type: boolean
        carries_current_code:
          type: boolean
        code_expected:
          type:
          - string
          - 'null'
        http_status:
          type:
          - integer
          - 'null'
        final_url:
          type:
          - string
          - 'null'
          format: uri
        verdict:
          type: string
          enum:
          - valid
          - stale_code
          - unknown_host
          - unreachable
        official_link:
          type:
          - string
          - 'null'
          format: uri
        code_owner:
          type: string
          enum:
          - coinrebate_current
          - coinrebate_retired
          - other_or_none
        scope_note:
          type: string
        reachability_note:
          type:
          - string
          - 'null'
          enum:
          - waf_challenge
          - null
    Error:
      type: object
      required:
      - error
      - code
      properties:
        error:
          type: string
        code:
          type: string
        docs:
          type: string
          format: uri