Brian Booms Sleep API

The Sleep API from Brian Booms — 2 operation(s) for sleep.

Operations 2

GET /api/v1/sleep/recommend Sleep-track recommendations (x402 $0.05 USDC Base) #
GET /api/v1/sleep/queue Multi-hour sleep-audio queue (x402 $0.10 USDC Base) #

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/brianbooms-com:brianbooms-com-sleep-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

brianbooms-com-sleep-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Brianbooms Com Sleep API
  contact:
    email: SyntheticUniverse@outlook.com
  version: '1.0'
  description: 'Operations tagged Sleep across 2 of this provider''s published API definitions: brianbooms-com-openapi.json, pay-brianbooms-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://pay.brianbooms.com
tags:
- name: Sleep
paths:
  /api/v1/sleep/recommend:
    get:
      x-payment-info:
        protocols:
        - x402
        pricingMode: fixed
        price: '0.05'
        currency: USD
      summary: Sleep-track recommendations (x402 $0.05 USDC Base)
      description: 'Curated sleep-track picks by mood + minutes with public listen links. Data only: not a license, not a download. Unpaid requests receive HTTP 402.'
      parameters:
      - name: mood
        in: query
        required: false
        schema:
          type: string
        description: deep | wind-down | focus | travel
      - name: minutes
        in: query
        required: false
        schema:
          type: string
        description: 5-600, default 60
      responses:
        '200':
          description: Paid JSON response
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  mood:
                    type: string
                  minutes:
                    type: number
                  picks:
                    type: array
                    items:
                      type: object
                      properties:
                        title:
                          type: string
                        why:
                          type: string
                        listen_spotify:
                          type: string
                          format: uri
                        more:
                          type: string
                          format: uri
                  session_tip:
                    type: string
                  disclosure:
                    type: string
                  note:
                    type: string
        '402':
          description: Payment Required (x402)
      tags:
      - Sleep
      operationId: getApiV1SleepRecommend
      x-operation-id-source: derived
    servers:
    - url: https://pay.brianbooms.com
  /api/v1/sleep/queue:
    get:
      x-payment-info:
        protocols:
        - x402
        pricingMode: fixed
        price: '0.10'
        currency: USD
      summary: Multi-hour sleep-audio queue (x402 $0.10 USDC Base)
      description: 'Ordered track list + runtimes filling the requested hours, drawn from Brian''s sleep catalog metadata. For wellness apps and radio builders. Data only: not audio, not a license. Unpaid requests receive HTTP 402.'
      parameters:
      - name: mood
        in: query
        required: false
        schema:
          type: string
        description: sleep | focus | meditate | calm | deep (default sleep)
      - name: hours
        in: query
        required: false
        schema:
          type: string
        description: 0.25-12, default 1
      responses:
        '200':
          description: 'Paid JSON response: ordered queue + runtimes'
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  queue:
                    type: array
                    items:
                      type: object
                  total_runtime_s:
                    type: integer
                  price_paid_usdc:
                    type: string
        '402':
          description: Payment Required (x402)
      tags:
      - Sleep
      operationId: getApiV1SleepQueue
      x-operation-id-source: derived
    servers:
    - url: https://pay.brianbooms.com
x-refined-from:
- brianbooms-com-openapi.json
- pay-brianbooms-com-openapi.json