API Documentation
The Quid Pro Quo Tracker provides a public REST API for journalists, researchers, and watchdog organizations to query the database programmatically. All endpoints require an API key passed in the x-api-key header and are rate-limited to 100 requests per minute.
Available Endpoints
GET /api/v1/entities
Paginated list of entities with optional type and search filters.
GET /api/v1/entities/[id]
Single entity with all connections embedded.
GET /api/v1/donations
Paginated donations with donor, recipient, amount, and date filters.
GET /api/v1/outcomes
Paginated policy outcomes with type, status, and date filters.
GET /api/v1/relationships
Paginated relationships with entity and type filters.
GET /api/v1/search
Cross-entity search with a query parameter.
Full documentation with example requests, response schemas, and curl commands will be added in a future update.