LoyaltyVIP Directory API

Public casino directory (no key).

GitHub OpenAPI

Operations 4

GET /v1/casinos Search casinos #
GET /v1/casinos/{slug} Casino detail + rewards program + tier ladder #
GET /v1/rewards-programs List rewards programs #
GET /v1/rewards-programs/{id} Rewards program + tier ladder #

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/loyaltyvip-com:loyaltyvip-com-directory-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

loyaltyvip-com-directory-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LoyaltyVIP Directory API
  version: 1.1.0
  summary: A player's casino loyalty data and features, plus the full public casino directory.
  description: 'Programmatic access for developers and AI agents.


    - **Public** (no key): the casino directory — casinos, casino detail with rewards program + tier ladder, and rewards programs.

    - **Account** (API key): the key owner''s tiers, trips, offers, and profile.

    - **Full action API**: `POST /v1/player` exposes the complete ~70-action player & host surface (trips, sessions, bankroll, offers, tiers, visits, vouchers, machines, W-2G/tax, optimizers, sharing, consent, social, notifications, host dashboard/leads). Plus standalone feature endpoints (comps, tier-match, predictions, responsible gaming, host discovery, tax reports).


    Authenticate with a personal API key as a Bearer token. Keys carry umbrella scopes: `read`, `write`, `tax`, `host`. Admin actions and API-key management are never available via API key. Create/manage keys at https://loyaltyvip.com/dashboard/developer.


    ## Conventions


    - **Errors** are JSON `{ "error": { code, message, status, docs } }`. Canonical codes: `invalid_token` (401), `insufficient_scope` (403), `not_found` (404), `rate_limited` (429), `internal_error` (500). A 401 also returns a `WWW-Authenticate` header with a `resource_metadata` pointer.

    - **Rate limits (planned)**: rate limiting is not yet enforced; when it ships, responses will carry `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` and 429s will include `Retry-After`. Always retry 5xx with exponential backoff (~1s, 2s, 4s; max 3 tries).

    - **Idempotency (planned)**: an `Idempotency-Key` header (UUID) on write requests is accepted for forward compatibility but is **not yet enforced** — treat writes as at-least-once for now.

    - **Pagination**: list endpoints use `limit` + `offset` and return `count`. Cursor pagination is planned.

    - **Versioning & deprecation**: the API is versioned in the path (`/v1`). Breaking changes ship under a new version; deprecations are announced with `Deprecation` and `Sunset` response headers and on https://loyaltyvip.com/developers.

    - **Streaming**: the NLWeb endpoint (`POST https://loyaltyvip.com/ask`) and the MCP server (`https://loyaltyvip.com/mcp`) support Server-Sent Events for incremental results.'
  contact:
    name: LoyaltyVIP Developers
    email: support@loyaltyvip.com
    url: https://loyaltyvip.com/developers
  termsOfService: https://loyaltyvip.com/terms
  license:
    name: Proprietary
    url: https://loyaltyvip.com/terms
servers:
- url: https://nbhagdwegk.execute-api.us-east-1.amazonaws.com
  description: Production API base
security:
- ApiKeyAuth: []
tags:
- name: Directory
  description: Public casino directory (no key).
paths:
  /v1/casinos:
    get:
      tags:
      - Directory
      operationId: listCasinos
      summary: Search casinos
      description: Search the public U.S. casino directory by name, state, type, or rewards availability. Offset/limit pagination; returns a total count.
      security: []
      parameters:
      - name: q
        in: query
        schema:
          type: string
        description: Name search.
      - name: state
        in: query
        schema:
          type: string
        description: Two-letter state code.
      - name: type
        in: query
        schema:
          type: string
        description: casino_type (commercial|tribal|racino…).
      - name: has_rewards
        in: query
        schema:
          type: boolean
      - name: limit
        in: query
        schema:
          type: integer
          default: 24
          maximum: 100
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Casinos
          headers:
            X-RateLimit-Remaining:
              $ref: '#/components/headers/RateLimitRemaining'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Casino'
                  count:
                    type: integer
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
  /v1/casinos/{slug}:
    get:
      tags:
      - Directory
      operationId: getCasino
      summary: Casino detail + rewards program + tier ladder
      description: Full detail for one casino including its rewards/players-club program and tier ladder.
      security: []
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Casino detail
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    allOf:
                    - $ref: '#/components/schemas/Casino'
                    - type: object
                      properties:
                        rewards_program:
                          $ref: '#/components/schemas/RewardsProgram'
                        tiers:
                          type: array
                          items:
                            $ref: '#/components/schemas/Tier'
                        tier_ladder_freshness:
                          $ref: '#/components/schemas/TierLadderFreshness'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
  /v1/rewards-programs:
    get:
      tags:
      - Directory
      operationId: listRewardsPrograms
      summary: List rewards programs
      description: List casino rewards/players-club programs, optionally filtered by search term or brand.
      security: []
      parameters:
      - name: search
        in: query
        schema:
          type: string
      - name: brand
        in: query
        schema:
          type: string
      - name: limit
        in: query
        schema:
          type: integer
          default: 100
          maximum: 200
      responses:
        '200':
          description: Programs
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/RewardsProgram'
                  count:
                    type: integer
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
  /v1/rewards-programs/{id}:
    get:
      tags:
      - Directory
      operationId: getRewardsProgram
      summary: Rewards program + tier ladder
      description: One rewards program with its full tier ladder.
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Program + tiers
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    allOf:
                    - $ref: '#/components/schemas/RewardsProgram'
                    - type: object
                      properties:
                        tiers:
                          type: array
                          items:
                            $ref: '#/components/schemas/Tier'
                        tier_ladder_freshness:
                          $ref: '#/components/schemas/TierLadderFreshness'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - status
          properties:
            code:
              type: string
              description: 'Stable machine code: invalid_token | insufficient_scope | not_found | rate_limited | internal_error.'
            message:
              type: string
            status:
              type: integer
            docs:
              type: string
    RewardsProgram:
      type: object
      properties:
        id:
          type: string
          format: uuid
        program_name:
          type: string
        brand:
          type:
          - string
          - 'null'
        property:
          type:
          - string
          - 'null'
        region:
          type:
          - string
          - 'null'
        url:
          type:
          - string
          - 'null'
    Tier:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        level:
          type: integer
        qualification:
          type:
          - string
          - 'null'
        qualification_amount:
          type:
          - number
          - 'null'
        qualification_unit:
          type:
          - string
          - 'null'
        benefits:
          type: array
          items: {}
        verified:
          type: boolean
        source:
          type:
          - string
          - 'null'
          description: 'Provenance: ''seed'' (hand-authored), ''scraped'' (read from the program''s own page), ''bedrock'' (model-recalled; served only once a human has verified it).'
        confirmed_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When this tier was last confirmed, by a reviewer or by reading the program's own page. **Null means nobody has ever confirmed it** — the common case today. A hand-authored row's updated_at is the date the migration ran, not a confirmation, so it is not reported here.
        confirmed_by:
          type:
          - string
          - 'null'
          enum:
          - review
          - scrape
          - null
          description: 'What confirmed it: ''review'' (a human approved the row) or ''scrape'' (read off the program''s published page).'
    Casino:
      type: object
      properties:
        id:
          type: string
          format: uuid
        slug:
          type: string
        name_slug:
          type:
          - string
          - 'null'
        state_slug:
          type:
          - string
          - 'null'
        name:
          type: string
        city:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        county:
          type:
          - string
          - 'null'
        country:
          type:
          - string
          - 'null'
        lat:
          type:
          - number
          - 'null'
        lon:
          type:
          - number
          - 'null'
        casino_type:
          type:
          - string
          - 'null'
        tribal_nation:
          type:
          - string
          - 'null'
        nigc_license_type:
          type:
          - string
          - 'null'
        opened_year:
          type:
          - integer
          - 'null'
        gaming_floor_sqft:
          type:
          - integer
          - 'null'
        slot_machines:
          type:
          - integer
          - 'null'
        table_games:
          type:
          - integer
          - 'null'
        website:
          type:
          - string
          - 'null'
        brand:
          type:
          - string
          - 'null'
        has_hotel:
          type:
          - boolean
          - 'null'
        hotel_rooms:
          type:
          - integer
          - 'null'
        has_rewards_program:
          type: boolean
    TierLadderFreshness:
      type: object
      description: How old the whole published ladder is. A ladder is only as current as its OLDEST confirmed tier.
      properties:
        state:
          type: string
          enum:
          - confirmed
          - stale
          - partial
          - unconfirmed
          description: '''confirmed'' every tier confirmed within the last 365 days · ''stale'' every tier confirmed but the oldest is older than that · ''partial'' some tiers confirmed and some never · ''unconfirmed'' none confirmed, or no tiers. Do not state an unconfirmed or stale threshold as current fact.'
        confirmed_at:
          type:
          - string
          - 'null'
          format: date-time
          description: The OLDEST confirmation across the ladder, not the newest.
        confirmed_by:
          type:
          - string
          - 'null'
          enum:
          - review
          - scrape
          - null
        confirmed_count:
          type: integer
        total:
          type: integer
  responses:
    TooManyRequests:
      description: Rate limit exceeded. Honor Retry-After.
      headers:
        Retry-After:
          $ref: '#/components/headers/RetryAfter'
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/RateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/RateLimitReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: rate_limited
              message: Too many requests. Retry after the indicated delay.
              status: 429
              docs: https://loyaltyvip.com/developers
    ServerError:
      description: Unexpected server error. Retry with exponential backoff.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: internal_error
              message: Something went wrong on our end.
              status: 500
              docs: https://loyaltyvip.com/developers
    NotFound:
      description: Not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  headers:
    RateLimitLimit:
      description: Request quota for the current window.
      schema:
        type: integer
    RateLimitReset:
      description: Unix epoch seconds when the window resets.
      schema:
        type: integer
    RateLimitRemaining:
      description: Requests remaining in the current window.
      schema:
        type: integer
    RetryAfter:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: lvip_live_*
      description: 'Personal API key as a Bearer token. Scopes: read, write, tax, host. Create at https://loyaltyvip.com/dashboard/developer.'
externalDocs:
  description: Full agent & developer reference
  url: https://loyaltyvip.com/llms-full.txt