Skip to content

Developers · Version 1

Mazin Intelligence API

Structured access to Mazin Intel's published African security incidents and risk scores, plus port, chokepoint and maritime advisory data. Every incident carries its source, licence and confidence. Only records the founder has reviewed and published are returned; raw third-party data is never resold.

Coverage is still being built. Endpoints return only the records that exist, and planned datasets say so rather than returning placeholders. See also the open country and feed endpoints.

Endpoints

Base URL: https://mazinintel.com/api/public

EndpointAccessReturns
GET /v1/healthPublicService status and server time.
GET /v1/incidentsKeyPublished incidents. Filters: country, category, severity_min, confidence, from, to, bbox, limit (≤200), cursor.
GET /v1/incidents/{id}KeyOne published incident.
GET /v1/risk-scoresKeyPublished risk scores (0–100). Filters: entity_type, entity_name.
GET /v1/countriesPublicAll 54 countries with region, coverage_tier and risk ratings.
GET /v1/countries/{iso2}KeyCountry detail: coverage_tier, notes, last_reviewed_at, status (assessed or not_yet_assessed) and the latest published risk profile per category.
GET /v1/countries/{iso2}/incidentsKeyPublished incidents for one country, same filters as /v1/incidents, each with coverage_tier and verification_level.
GET /v1/regions/{region}/incidentsKeyPublished incidents for a region: north, west, sahel, central, east, horn, southern, indian_ocean.
GET /v1/portsKeyAfrican port register with verification status.
GET /v1/chokepoints/transitsKeyDaily Bab el-Mandeb and Suez transit counts from IMF PortWatch (days ≤365).
GET /v1/maritime/advisoriesKeyGDACS disaster alerts and US Federal Register sanctions notices for Africa.
GET /v1/corridors, /trade/flows, /companies, /sanctionsPlannedReturn 404 with error code not_implemented until authorised data exists.

Authentication

Send your key in the Authorization header. Missing, invalid or deactivated keys receive a 401 JSON error.

curl -H "Authorization: Bearer mzi_your_key" \
  "https://mazinintel.com/api/public/v1/incidents?country=Somalia&severity_min=3&limit=50"

Rate limits

  • Free: 100 requests per day
  • Pro: 10,000 requests per day
  • Enterprise: by agreement

Limits reset at 00:00 UTC. Over the limit returns 429 with a Retry-After header. Pricing for paid plans is agreed on request.

Response format

Every response has data, meta (count, next_cursor, api_version) and data_updated_at. Errors use { error: { code, message } }. The samples below are illustrative examples, not real records.

Example · incidents

{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "incident_date": "2026-01-01",
      "country": "Somalia",
      "region": "Gulf of Aden",
      "location_name": "Example location",
      "lat": 11.5, "lng": 49.0,
      "category": "maritime_piracy",
      "severity": 3,
      "confidence": "medium",
      "summary": "Example summary",
      "mazin_assessment": "Example assessment",
      "source_name": "Example source",
      "source_url": "https://example.org/report",
      "source_licence": "link_only",
      "verified_by": "Mazin Intel"
    }
  ],
  "meta": { "api_version": "v1", "count": 1, "next_cursor": null },
  "data_updated_at": "2026-01-01T00:00:00Z"
}

Example · port

{
  "data": {
    "id": "port_example_001",
    "type": "port",
    "name": "Example Port",
    "country_code": "DJ",
    "source_status": "awaiting_verification",
    "last_verified_at": null
  },
  "meta": { "api_version": "v1" }
}

Data, licences and freshness

  • Incidents are entered and reviewed by the founder from named public sources. Records marked internal-only are never served.
  • Port register entries are curated reference points marked awaiting_verification until checked.
  • Transit counts come from IMF PortWatch and arrive several days late. Advisories come from GDACS and the US Federal Register.
  • Nothing is real-time. Check data_updated_at on each response.

Terms

API data is licensed for the client's internal use. It may not be resold, redistributed or republished in bulk. Attribute Mazin Intel when citing individual records. Access may be suspended for misuse or excessive load. Mazin Intel provides analysis, not emergency or legal advice.

Request API access

Mazin Intel

Independent African security & maritime intelligence

Original analysis is distinguished from source reporting. Publication alone does not establish analyst review. Machine-assisted drafts remain unreviewed until an actual review is recorded.

For shipowners, insurers and risk teams

Need a decision-ready briefing on this risk?

Country, port and voyage briefings with named sources, stated confidence and clear evidence limits.