WardByWard Platform API
The public JSON API is served under /api/ and documented machine-readably in the OpenAPI 3.0 specification. Read-only endpoints need no credentials; write endpoints require a session issued by POST /login (see auth.md for agent authentication).
Service
GET | /health | Service health and database readiness |
Wards & Funding
GET | /api/wards/search?q= | Search wards by name, area or voting station |
GET | /api/wards/lookup?lat=&lng= | Resolve a ward from GPS coordinates |
GET | /api/wards/funding?ward= | Funding aggregates and targets for a ward |
POST | /api/wards/set-ward | Set the merchant home ward (session) |
Campaigns & Nominations
GET | /api/campaigns/featured | Featured campaigns |
GET | /api/campaigns/by-ward?ward= | Active campaigns for a ward |
GET | /api/campaigns/payment-options | Supported payment options |
GET | /api/nominations/list | List nominations |
POST | /api/nominations/sign | Sign a nomination (session) |
POST | /api/signatures/endorse | Endorse a nomination with an SA ID |
Marketplace
GET | /api/marketplace/requests | List marketplace requests |
Machine-readable catalog: /.well-known/api-catalog · specification: openapi.json