Skip to main content

API Introduction

Build applications on top of Visita’s ward intelligence, directory, and tender data.

Base URL

https://visita.co.za/api/v1

Authentication

All API requests require an API key passed in the header:
curl -H "x-api-key: your_api_key" https://visita.co.za/api/v1/wards
Get your API key from your account settings at visita.co.za/account

Rate Limits

TierRequests/MonthCost
Free1,000Free
Starter10,000R99/month
Pro100,000R499/month
EnterpriseUnlimitedContact us

Available Endpoints

Response Format

All endpoints return JSON:
{
  "success": true,
  "data": [...],
  "meta": {
    "total": 100,
    "page": 1,
    "limit": 20
  }
}

Error Handling

CodeMeaning
401Invalid or missing API key
403Tier limit exceeded
429Rate limited
500Server error