{"name": "Loopsmith API", "version": "1.1.0", "about": "Make beats with the Loopsmith browser beat maker from code or an AI agent. You send a small JSON spec; you get back a link that opens the finished, editable beat in the app, a readable summary of every part, a project file and a MIDI file. The music is written by the same code the app runs; the audio itself is synthesised in the listener's browser, so there is no audio file to download from this API.", "docs": "https://beats.thetempleofdoom.com/agents/", "openapi": "https://beats.thetempleofdoom.com/api/v1/openapi.json", "health": "https://beats.thetempleofdoom.com/api/v1/health", "mcp": "https://beats.thetempleofdoom.com/mcp", "mcp_card": "https://beats.thetempleofdoom.com/.well-known/mcp.json", "llms_txt": "https://beats.thetempleofdoom.com/llms.txt", "mcp_connect": {"mcpServers": {"loopsmith": {"type": "http", "url": "https://beats.thetempleofdoom.com/mcp"}}}, "errors": "Errors are {\"error\": {\"code\": \"...\", \"message\": \"...\"}} with a matching HTTP status.", "endpoints": {"GET /api/v1/health": "is it up, and which build", "GET /api/v1/billing": "accounts, free trial, payment methods and the export pass price", "GET /api/v1/catalog": "styles, kits, sounds, scales", "GET /api/v1/beats/{id}/export": "export links and whether MIDI needs the pass", "POST /api/v1/beats": "make a beat (body: spec)", "GET /api/v1/beats/{id}": "read a beat", "POST /api/v1/beats/{id}/remix": "same beat with changes (body: spec fields to change)", "GET /api/v1/beats/{id}/midi": "MIDI file", "GET /api/v1/beats/{id}/project": "project .json", "GET /b/{id}": "open in the app", "GET /api/v1/me": "account (API key)", "GET /api/v1/songs": "saved songs (API key)", "GET /api/v1/songs/{slot}": "read a saved song (API key)", "PUT /api/v1/songs/{slot}": "save a beat to the profile (API key)"}, "auth": "None needed to make and read beats. An API key (account page, free) raises limits and lets you read and save profile songs: \"X-API-Key: ls_...\" (or \"Authorization: Bearer ls_...\").", "limits": {"new_beats_per_hour": {"no_key": 30, "free_account_key": 120, "export_pass": 600}, "beats_kept_days": 90}, "export_needs_pass": true, "examples": [{"start": "sketch", "style": "lofi", "key": "D"}, {"start": "track", "style": "dubstep", "name": "Night Bus"}, {"style": "techno", "bpm": 132, "drums": {"kick": "x...x...x...x..."}, "bass": [{"pitch": "A1", "step": 0, "len": 2}, {"pitch": "A1", "step": 3}, {"pitch": "C2", "step": 6, "len": 2}], "full_track": true}]}