惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog RSS Feed
Jina AI
Jina AI
雷峰网
雷峰网
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
博客园 - 司徒正美
罗磊的独立博客
J
Java Code Geeks
Engineering at Meta
Engineering at Meta
WordPress大学
WordPress大学
Vercel News
Vercel News
A
About on SuperTechFans
I
InfoQ
D
DataBreaches.Net
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享
P
Proofpoint News Feed
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Introducing the Tenders-SA Developer API v2.1.0 — Live So...
mobius-crypt · 2026-06-15 · via DEV Community

The Tenders-SA Developer API gives developers structured, real-time access to South African public sector tenders, contract awards, supplier intelligence, forensic risk checks, and CIPC data — all from a single REST API.

South African government procurement is fragmented across dozens of portals — National Treasury eTenders, Eskom, Transnet, SANRAL, nine provincial systems, and hundreds of municipal platforms. Each publishes data in different formats, on different schedules, with inconsistent structure.

The Tenders-SA Developer API v2.1.0 solves this. It aggregates, normalises, and enriches all of that data into a single, consistent REST API that developers can integrate in minutes.

This post covers what's available, how the data pipeline works, and how to make your first API call.


What the API covers

The API is versioned at https://api.tenders-sa.org and organises data across these core domains:

Domain What you get
Tenders Live notices, search, filters, amendments, OCDS identifiers
Awards & Contracts Awarded supplier, value, contract dates, status
Organisations Government departments and issuing entities
Suppliers Contractor profiles and contract history
Directors & CIPC Company registrations, director lookups, enriched profiles
Forensic National Treasury restricted supplier checks with fuzzy matching
Documents Tender document metadata and secure download URLs
Intelligence Market alerts, sector insights, curated intel items
Provinces & Categories Reference data, health scores, industry benchmarks
OCDS Open Contracting Data Standard party data

Authentication

Every endpoint requires a Bearer token:

GET /v2/tenders
Authorization: Bearer YOUR_TSA_API_KEY

Get your key at tenders-sa.org/developers.


Making your first request

Fetch active tenders filtered by province and category:

curl -G https://api.tenders-sa.org/v2/tenders \
  -H "Authorization: Bearer YOUR_TSA_API_KEY" \
  --data-urlencode "province=gauteng" \
  --data-urlencode "status=active" \
  --data-urlencode "limit=10"

A typical tender response includes:

{
  "id": "tnd_01j...",
  "title": "Supply and Delivery of ICT Equipment",
  "source_organization": "Department of Basic Education",
  "province": "Gauteng",
  "closing_date": "2025-08-15T12:00:00Z",
  "estimated_value": 4500000,
  "bbbee_requirements": "Level 1-2 preferred",
  "ai_summary": "Procurement of laptops, tablets, and networking equipment for school connectivity programme.",
  "ai_key_requirements": "CIPC registration, valid tax clearance, minimum 3 years supply experience",
  "ai_confidence": 0.94,
  "status": "active"
}

Notice the ai_* fields — these are not raw scraped data. Every tender passes through an enrichment pipeline before it reaches the API.


The enrichment pipeline

Raw government procurement data is rarely usable as-is. Before any record is available through the API, it goes through the following stages:

1. Ingestion — OCDS feeds are pulled from all major government sources on a continuous sync schedule.

2. Normalisation — Fields are standardised across sources: dates into ISO 8601, values into ZAR floats, provinces into canonical slugs, categories into a consistent taxonomy.

3. AI Enrichment — Each tender is processed by an AI pipeline that extracts:

  • ai_summary — plain-language description of what's being procured
  • ai_key_requirements — eligibility and submission requirements
  • ai_title_enriched — corrected/expanded title where the original is vague
  • ai_confidence — model confidence score (0–1)
  • analysis_quality_score — overall data quality rating

4. Document Analysis — Where tender documents are available, they're fetched, extracted, and analysed. The document_analyzed flag and ai_key_points field indicate when document-level intelligence is present.

5. Deduplication — Cross-source duplicates are detected and flagged via is_duplicate and duplicate_of fields, so your application doesn't surface the same opportunity twice.


Forensic & compliance checks

One of the most requested capabilities for procurement platforms is supplier risk screening. The API exposes the National Treasury restricted suppliers register with two endpoints:

Fuzzy match — returns ranked candidates:

curl "https://api.tenders-sa.org/v2/forensic/restricted-suppliers/match?q=Acme+Construction" \
  -H "Authorization: Bearer YOUR_TSA_API_KEY"

Point-in-time check — returns a boolean clearance result:

curl "https://api.tenders-sa.org/v2/forensic/restricted-suppliers/check?q=Acme+Construction" \
  -H "Authorization: Bearer YOUR_TSA_API_KEY"

Combined with CIPC director lookups (/v2/cipc/directors), this enables full entity due diligence without leaving the API.


CIPC & director intelligence

The /v2/cipc/enrichments and /v2/cipc/directors endpoints surface Companies and Intellectual Property Commission data linked to suppliers in the procurement dataset. This is useful for:

  • Verifying company registration status before bid submission
  • Identifying director overlaps across multiple supplier entities
  • Enriching CRM or compliance records with structured CIPC data

Province health scores

Each province has a health score endpoint that surfaces aggregated procurement health metrics:

GET /v2/provinces/{id}/health-scores

This is useful for building regional procurement dashboards or benchmarking spend patterns across provinces.


OCDS compliance

All tender records carry an ocid field conforming to the Open Contracting Data Standard. The /v2/ocds/parties endpoint exposes structured party data for interoperability with other OCDS-compliant systems — useful if you're building on top of global procurement transparency tooling.


JavaScript quick-start

const BASE = 'https://api.tenders-sa.org/v2';
const KEY = process.env.TSA_API_KEY;

async function fetchTenders(province = 'gauteng', limit = 20) {
  const params = new URLSearchParams({ province, status: 'active', limit });
  const res = await fetch(`${BASE}/tenders?${params}`, {
    headers: { Authorization: `Bearer ${KEY}` }
  });
  if (!res.ok) throw new Error(`API error ${res.status}`);
  return res.json();
}

async function checkSupplier(name) {
  const params = new URLSearchParams({ q: name });
  const res = await fetch(`${BASE}/forensic/restricted-suppliers/check?${params}`, {
    headers: { Authorization: `Bearer ${KEY}` }
  });
  return res.json();
}


Python quick-start

import os, httpx

BASE = "https://api.tenders-sa.org/v2"
HEADERS = {"Authorization": f"Bearer {os.environ['TSA_API_KEY']}"}

def fetch_tenders(province="gauteng", limit=20):
    r = httpx.get(f"{BASE}/tenders", headers=HEADERS,
                  params={"province": province, "status": "active", "limit": limit})
    r.raise_for_status()
    return r.json()

def check_supplier(name: str):
    r = httpx.get(f"{BASE}/forensic/restricted-suppliers/check",
                  headers=HEADERS, params={"q": name})
    r.raise_for_status()
    return r.json()


Resources


What's next

The v2.1.0 release stabilises the core data model and enrichment pipeline. Upcoming work includes webhook support for real-time tender alerts, expanded SDK coverage, and additional AI matching endpoints for supplier-to-opportunity recommendations.

If you're building on the API or have questions, open an issue on GitHub or reach out via the developer portal.


Built for developers who want to work with South African procurement data — without the scraping, cleaning, and normalisation overhead.