Stream a sound

Returns a signed URL for streaming/playback. No download is counted.

PostmanPostman Collection
GET
/api/v1/sounds/{id}/stream

Returns a signed URL for streaming/playback. No download is counted.

x-api-key<token>

Your API key. Generate one from the dashboard. Keys are prefixed with los_.

In: header

Path Parameters

id*string

The sound ID

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.lotsofsounds.com/api/v1/sounds/a1b2c3d4-e5f6-7890-abcd-ef1234567890/stream"
{
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "name": "Thunder Rumble",
    "stream_url": "http://example.com"
  }
}
{
  "error": "Missing x-api-key header"
}
{
  "error": "API access requires a Pro or Enterprise subscription",
  "upgrade_url": "https://lotsofsounds.com/pricing"
}
{
  "error": "Sound not found"
}
{
  "error": "Rate limit exceeded",
  "limit": 2500,
  "reset": 1711411200
}
{
  "error": "Internal server error"
}