LemMeBuyIt Promotions API

Promotional offers (coupons, sales, deals) sourced directly from retailer and brand promotion APIs into our unified data stack.

GitHub OpenAPI

Operations 3

GET /promotions Search/List Promotions (Cursor Paginated) #
GET /promotions/{promotion_id} Get a Promotion by ID #
GET /retailers/{retailer_id}/promotions List Promotions for a Retailer (Cursor Paginated) #

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/lemmebuyit-com:lemmebuyit-com-promotions-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

lemmebuyit-com-promotions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lemmebuyit Com Promotions API
  version: 1.0.0
  contact:
    name: LemMeBuyIt API Support
    url: https://www.lemmebuyit.com/developer
    email: support@lemmebuyit.com
  description: 'Operations tagged Promotions across 2 of this provider''s published API definitions: lemmebuyit-com-openapi.yaml, openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.lemmebuyit.com/v1
  description: Production server
tags:
- name: Promotions
  description: Promotional offers (coupons, sales, deals) sourced directly from retailer and brand promotion APIs into our unified data stack.
paths:
  /promotions:
    get:
      tags:
      - Promotions
      summary: Search/List Promotions (Cursor Paginated)
      operationId: listPromotions
      security:
      - ApiKeyAuth: []
      parameters:
      - name: search_query
        in: query
        schema:
          type: string
        description: Full-text over title, description, advertiser_name, coupon_code.
      - name: retailer_id
        in: query
        schema:
          type: string
        description: Comma-separated retailer IDs.
      - name: advertiser_name
        in: query
        schema:
          type: string
      - name: promotion_type
        in: query
        schema:
          type: string
      - name: category
        in: query
        schema:
          type: string
      - name: has_coupon_code
        in: query
        schema:
          type: boolean
      - name: active
        in: query
        schema:
          type: boolean
          default: true
        description: start_date<=now AND (end_date>=now OR end_date null).
      - name: expiring_within_days
        in: query
        schema:
          type: integer
      - name: sort_by
        in: query
        schema:
          type: string
          enum:
          - relevance
          - end_date_asc
          - start_date_desc
          - last_updated_desc
      - name: limit
        in: query
        schema:
          type: integer
          default: 25
          maximum: 1000
      - name: after
        in: query
        schema:
          type: string
        description: Opaque cursor from a previous next_cursor.
      responses:
        '200':
          description: A paginated list of promotions.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Promotion'
                  page_info:
                    $ref: '#/components/schemas/CursorPageInfo'
                  total_hits:
                    type: integer
                    example: 412
                  took_ms:
                    type: integer
                    example: 12
                required:
                - data
                - page_info
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    servers:
    - url: https://api.lemmebuyit.com/v1
      description: Production server
  /promotions/{promotion_id}:
    get:
      tags:
      - Promotions
      summary: Get a Promotion by ID
      operationId: getPromotion
      security:
      - ApiKeyAuth: []
      parameters:
      - name: promotion_id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The promotion.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Promotion'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          description: Not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Promotion not found
        '500':
          $ref: '#/components/responses/InternalServerError'
    servers:
    - url: https://api.lemmebuyit.com/v1
      description: Production server
  /retailers/{retailer_id}/promotions:
    get:
      tags:
      - Promotions
      summary: List Promotions for a Retailer (Cursor Paginated)
      operationId: listRetailerPromotions
      security:
      - ApiKeyAuth: []
      parameters:
      - name: retailer_id
        in: path
        required: true
        schema:
          type: string
      - name: search_query
        in: query
        schema:
          type: string
      - name: active
        in: query
        schema:
          type: boolean
          default: true
      - name: sort_by
        in: query
        schema:
          type: string
          enum:
          - relevance
          - end_date_asc
          - start_date_desc
          - last_updated_desc
      - name: limit
        in: query
        schema:
          type: integer
          default: 25
          maximum: 1000
      - name: after
        in: query
        schema:
          type: string
      responses:
        '200':
          description: A paginated list of promotions for the retailer.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Promotion'
                  page_info:
                    $ref: '#/components/schemas/CursorPageInfo'
                required:
                - data
                - page_info
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '403':
          $ref: '#/components/responses/ForbiddenError'
        '500':
          $ref: '#/components/responses/InternalServerError'
    servers:
    - url: https://api.lemmebuyit.com/v1
      description: Production server
components:
  responses:
    UnauthorizedError:
      description: Unauthorized (Invalid or missing API Key).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Invalid API key
    ForbiddenError:
      description: Forbidden (API Key lacks permission for the requested resource/retailer).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Access denied to this retailer
    InternalServerError:
      description: Internal Server Error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error: Failed to retrieve data
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: A human-readable error message.
      required:
      - error
      example:
        error: Invalid API key
    CursorPageInfo:
      type: object
      properties:
        limit_applied:
          type: integer
          description: The actual number of items requested (limit parameter value).
          example: 20
        next_cursor:
          type:
          - string
          - 'null'
          description: Base64-encoded cursor string containing sort values for search_after pagination. Null if there are no more results. Uses Elasticsearch search_after for efficient cursor-based pagination.
          example: WzEyMzQ1LDE2OTkwNjIwMDBd
      required:
      - limit_applied
    Promotion:
      type: object
      properties:
        id:
          type: string
          example: '9182736'
        retailer_id:
          type:
          - string
          - 'null'
          example: kohls
        advertiser_id:
          type: string
          example: '45210'
        advertiser_name:
          type: string
          example: Kohl's
        title:
          type: string
          example: Extra 20% off sitewide
        description:
          type: string
          example: Use code at checkout. Exclusions apply.
        promotion_types:
          type: array
          items:
            type: string
          example:
          - percentage-off
          - coupon
        coupon_code:
          type:
          - string
          - 'null'
          example: SAVE20
        categories:
          type: array
          items:
            type: string
          example:
          - Apparel
        start_date:
          type:
          - string
          - 'null'
          format: date-time
          example: '2026-07-25T00:00:00Z'
        end_date:
          type:
          - string
          - 'null'
          format: date-time
          example: '2026-08-01T23:59:59Z'
        last_updated:
          type: string
          format: date-time
          example: '2026-07-28T06:00:00Z'
        link_type:
          type: string
          example: textlink
        coupon_restrictions:
          type: string
          example: New customers only. Min spend $50.
        image_url:
          type: string
          example: https://img.example.com/banner.png
        dollar_off:
          type: number
          example: 20
        percentage_off:
          type: number
          example: 15
      required:
      - id
      - advertiser_id
      - advertiser_name
      - title
      - last_updated
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authenticating direct REST API requests.
x-refined-from:
- lemmebuyit-com-openapi.yaml
- openapi.yaml