MalawiSongs API v1

Build with MalawiSongs

Integrate Malawi music, artists, albums, streaming and payments into your website or application using the MalawiSongs API.

Music API

Songs, albums, artists, genres and search.

Streaming

Playback and embeddable music experiences.

Payments

Build payment experiences for your application.

Webhooks

Receive events from MalawiSongs in real time.

Getting Started

Quick Start

Create a developer application, generate an API key and make your first request to the MalawiSongs API.

1

Create an application

Create your developer application from your MalawiSongs developer dashboard.

2

Generate an API key

Your API key identifies your application when making requests.

3

Make your first request

Request songs from the MalawiSongs Music API.

cURL
curl --request GET \
  --url https://api.malawisongs.com/v1/songs \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Accept: application/json"

Getting Started

Authentication

Authenticate API requests using the credentials issued to your developer application.

Keep credentials secure

Never expose secret server credentials in browser-side JavaScript, public repositories or mobile application source code.

Getting Started

Environments

Use test credentials while developing and live credentials when your integration is ready for production.

TEST

ms_test_••••••••••

Development and testing.

LIVE

ms_live_••••••••••

Production integrations.

Music API

Songs

Retrieve public song information from MalawiSongs.

GET/v1/songsList songs
GET/v1/songs/{song_id}Get song
GET/v1/songs/latestLatest songs
GET/v1/songs/trendingTrending songs

Music API

Albums

Retrieve albums, EPs, riddims and their associated songs.

GET/v1/albums
GET/v1/albums/{album_id}
GET/v1/albums/{album_id}/songs

Music API

Artists

Access public artist profiles, releases and performance information made available through the API.

GET/v1/artists/{artist_id}
GET/v1/artists/{artist_id}/songs
GET/v1/artists/{artist_id}/albums

Music API

Streaming

Build playback experiences while allowing MalawiSongs to securely manage stream access and tracking.

Recommended integration

Use an official MalawiSongs player or authorized playback endpoint instead of exposing private storage URLs directly.

Payments

Payments API

Create payment requests from your website or application.

Create payment
curl --request POST \
  --url https://api.malawisongs.com/v1/payments \
  --header "Authorization: Bearer YOUR_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
    "amount": 5000,
    "currency": "MWK",
    "provider": "AIRTEL_MWI",
    "phone": "0999123456",
    "reference": "ORDER-1001"
  }'

Payments

Payment Status

Retrieve the latest state of an existing payment.

GET/v1/payments/{payment_id}

Payments

Webhooks

Receive asynchronous events when the state of a MalawiSongs resource changes.

payment.completed

Payment completed successfully.

payment.failed

Payment could not be completed.

payment.pending

Payment is still processing.

payment.refunded

Payment has been refunded where supported.

Webhook payload
{
  "event": "payment.completed",
  "data": {
    "payment_id": "PAY123456",
    "reference": "ORDER-1001",
    "amount": 5000,
    "currency": "MWK"
  }
}

Resources

Errors

MalawiSongs uses standard HTTP status codes to indicate whether a request succeeded.

200Request successful
400Invalid request
401Authentication required
403Permission denied
404Resource not found
422Validation failed
429Too many requests
500Server error

Resources

Rate Limits

API requests may be rate limited to protect the stability and availability of MalawiSongs services. Exact limits should be documented here once your developer API policy is finalized.

Resources

SDKs & Examples

Provide integration examples for the technologies commonly used by MalawiSongs developers.

JavaScript

PHP

Laravel

Vue / Nuxt

React

Node.js

Resources

API Reference

The complete API reference can document every MalawiSongs endpoint, request parameter, response property, permission and error response.

MalawiSongs API v1

Base URL

https://api.malawisongs.com/v1

© 2026 MalawiSongs. Developer Documentation.

MalawiSongsAPI StatusSupport