Zambia.net Marketplace API

Access marketplace data programmatically. Search listings, browse categories, and integrate our marketplace into your applications.

Quick Start

# Get your API key from the dashboard, then:

curl -H "x-api-key: YOUR_API_KEY" \
  https://marketplace.zambia.net/api/v1/listings?limit=10

Authentication

All API requests require an API key passed via the x-api-key header.

x-api-key: zmkt_your_api_key_here

Get your API key from the API Dashboard.

Endpoints

GET/api/v1/listings

Search and browse active listings with filtering and pagination.

Query Parameters

ParameterTypeDescription
categorystringFilter by category slug
searchstringSearch listings by title
minPricenumberMinimum price filter
maxPricenumberMaximum price filter
limitnumberResults per page (max 50, default 20)
offsetnumberPagination offset (default 0)

Example Request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://marketplace.zambia.net/api/v1/listings?category=electronics&search=laptop&limit=10"

Example Response

{
  "data": [
    {
      "id": "abc123",
      "title": "Dell Laptop 16GB RAM",
      "price": 8500,
      "priceType": "NEGOTIABLE",
      "location": "Lusaka",
      "condition": "USED",
      "viewsCount": 42,
      "createdAt": "2026-04-01T10:00:00Z",
      "category": { "name": "Electronics", "slug": "electronics" },
      "image": { "url": "...", "thumbnailUrl": "..." },
      "seller": { "name": "John", "isVerified": true }
    }
  ],
  "pagination": { "total": 145, "limit": 10, "offset": 0 }
}
GET/api/v1/categories

Get all categories with subcategories and listing counts.

Example Request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://marketplace.zambia.net/api/v1/categories"

Example Response

{
  "data": [
    {
      "id": "cat123",
      "name": "Electronics",
      "slug": "electronics",
      "icon": "...",
      "listingCount": 234,
      "subcategories": [
        { "id": "sub1", "name": "Phones", "slug": "electronics-phones" }
      ]
    }
  ]
}

Rate Limits

API rate limits depend on your plan. Exceeding your rate limit will return a 429 status code.

PlanCalls/MonthPrice
Starter API1,000 API calls/monthK500/mo
Business API10,000 API calls/monthK2,000/mo
Enterprise APIUnlimited API callsK10,000/mo

API Plans

Starter API

K500/month

  • 1,000 API calls/month
  • Read-only access
  • Listing search & browse
  • Category data
Get Started
Most Popular

Business API

K2,000/month

  • 10,000 API calls/month
  • Read + Write access
  • Bulk listing upload
  • Inventory sync
  • Webhook notifications
Get Started

Enterprise API

K10,000/month

  • Unlimited API calls
  • Full read/write access
  • Real-time webhooks
  • Dedicated support
  • Custom endpoints
  • SLA guarantee
Get Started

Ready to integrate?

Get your API key from your dashboard and start building.

Get API Key