Complete documentation for government officials to access business intelligence data with military-grade security protocols
Enterprise-grade API designed specifically for government agencies to access business intelligence data with military-grade security.
Access comprehensive business listings, sector data, and industry analytics for informed decision-making.
Get detailed user statistics, demographics, and engagement metrics to understand your constituency.
Deep dive into business sectors, subsectors, and industry trends for economic analysis.
API Key + Secret required for all requests with encrypted transmission
Restrict access to specific networks with flexible CIDR and wildcard support
Configurable request limits per hour with real-time monitoring
Contact admin to receive your API Key and Secret
Verify your setup with a health check
Start retrieving business and user data
# Health check
curl -X GET "https://your-domain.com/api/government/v1/health"
# Get your states
curl -X GET "https://your-domain.com/api/government/v1/states" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"
Parameters:
state (required) - State namesector (optional) - Business sectorsubsector (optional) - Business subsectorExample:
curl -X GET "https://your-domain.com/api/government/v1/businesses?state=Lagos" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"
Parameters:
state (required) - State nameExample:
curl -X GET "https://your-domain.com/api/government/v1/users?state=Ogun" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"
Parameters:
state (required) - State nameExample:
curl -X GET "https://your-domain.com/api/government/v1/analytics?state=Ondo" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"
Your API access is protected by multiple security layers to ensure data privacy and prevent unauthorized access.
192.168.1.100
10.0.0.0/24
192.168.*.*
Here are practical examples of how to use the API for different scenarios.
Goal: Get all technology businesses in Lagos
curl -X GET "https://your-domain.com/api/government/v1/businesses?state=Lagos§or=Technology" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"
Goal: Generate user statistics report for Ogun State
curl -X GET "https://your-domain.com/api/government/v1/users?state=Ogun" \
-H "X-API-Key: YOUR_API_KEY" \
-H "X-API-Secret: YOUR_API_SECRET"