AfriSecMaster — Fixed Income Security Master API

AfriSecMaster Public API Contract (v1)

Canonical fixed-income reference data across all 54 African sovereign markets and U.S. Treasuries — covering Treasury Bills, Fixed Coupon Bonds, Sovereign Eurobonds, FRNs, Inflation-Linked Bonds, Sukuk, and Zero-Coupon Notes.

Base URL (v1)
https://afrisecmaster.io/api/v1
Sovereign Coverage
55 Markets
Active Master Records
2,097
Free Sandbox Auto-Key
Admin Approval

1. Machine-Readable Specification & Discovery

2. Authentication Format

Every protected /api/v1/* endpoint requires an active API key issued to your account:

3. Sandbox Access Provisioning (Free Tier)

New developers or platforms can obtain a Free Sandbox key programmatically or via the portal at https://afrisecmaster.io:

curl -X POST "https://afrisecmaster.io/api/v1/auth/request-access" \
  -H "Content-Type: application/json" \
  -d '{
    "fullName": "Integration Engineering",
    "email": "[email protected]",
    "organization": "Your Platform",
    "password": "StrongPassword2026!",
    "useCase": "Fixed Income Security Master integration",
    "requestedPlan": "FREE"
  }'

When automatic free-tier approval is enabled, HTTP 201 immediately returns status: "APPROVED" along with rawApiKey (ak_free_...) and sessionToken.

4. Rate Limits & Commercial Plans

PlanPriceBurst LimitDaily Quota (UTC)Max KeysEntitlement Scopes
FREE $0/mo 30 req/min 1,000 req/day 1 markets:read, securities:read, isin_lookup:read
PRO $199/mo 300 req/min 50,000 req/day 5 markets:read, securities:read, isin_lookup:read, eurobonds:read, export:bulk
INSTITUTIONAL $950/mo 2000 req/min 1,000,000 req/day 25 markets:read, securities:read, isin_lookup:read, eurobonds:read, export:bulk, securities:write, ingestion:trigger, webhooks:alerts

Authenticated responses return X-RateLimit-Limit, X-RateLimit-Remaining, and X-Plan-Tier headers (plus Retry-After on HTTP 429).

5. Search & Reference Endpoints

EndpointAuth / ScopeParameters & Purpose
GET /api/v1/health Public Service health, total securities, market count, storage mode.
GET /api/v1/public/stats Public Regional breakdown, plan catalog, sandbox auto-approval status.
POST /api/v1/auth/request-access Public Self-service registration & instant Free Sandbox API key provisioning.
GET /api/v1/securities securities:read Query by marketCode, country, isin, region, instrumentType, status, q.
GET /api/v1/securities/by-isin/{isin} isin_lookup:read Direct lookup by 12-char ISO 6166 ISIN (returns { security, market }).
GET /api/v1/securities/{id} securities:read Retrieve single security & market conventions by UUID.
GET /api/v1/markets markets:read List all 55 market conventions (region, q filters).
GET /api/v1/markets/{iso2} markets:read Market conventions for a sovereign ISO2 code (e.g. KE, CI, NG, US).
GET /api/v1/securities/export export:bulk (PRO+) Bulk JSON export across all 55 markets or a single ?marketCode=.

6. Sample Query & Response Schema

curl -H "X-API-Key: ak_free_YOUR_KEY" \
  "https://afrisecmaster.io/api/v1/securities?marketCode=KE&instrumentType=T_BILL"
{
  "count": 94,
  "securities": [
    {
      "id": "8e3b2f41-6b19-4a2b-9f11-2a0e1d4c5b6a",
      "isin": "KE9910008433",
      "cusip": null,
      "localCode": "TB-2653-182D",
      "ticker": "KETB 182D 05/27",
      "issuerName": "Republic of Kenya — Central Bank of Kenya (DhowCSD)",
      "marketCode": "KE",
      "instrumentType": "T_BILL",
      "currency": "KES",
      "issueDate": "2026-11-16",
      "datedDate": "2026-11-16",
      "firstCouponDate": null,
      "maturityDate": "2027-05-17",
      "couponRatePct": 0,
      "dayCount": "ACT/365",
      "couponFrequency": "ZERO",
      "settlementDays": 2,
      "minDenomination": 50000,
      "authorizedAmount": 7500000000,
      "outstandingAmount": 7500000000,
      "indicativeYieldPct": 7.45,
      "cleanPrice": 96.412,
      "status": "ACTIVE",
      "sourceSystem": "AFRICAN_CSD_FEED",
      "tranches": [
        {
          "trancheNumber": 1,
          "trancheType": "ORIGINAL",
          "auctionDate": "2026-11-16",
          "issuedAmount": 7500000000,
          "awardedYieldPct": 7.45,
          "stopOutPrice": 96.412
        }
      ]
    }
  ]
}

7. Market Coverage (55 Sovereign Markets)

Includes U.S. Treasury (US), North Africa (MA, EG, TN, DZ, LY, SD), West Africa UEMOA (BJ, BF, CI, GW, ML, NE, SN, TG), West Africa Non-UEMOA (NG, GH, GM, GN, LR, SL, CV, MR), East Africa (KE, UG, TZ, RW, BI, ET, DJ, ER, SO, SS), Southern Africa (ZA, NA, BW, LS, SZ, ZM, MW, MZ, AO, ZW), Central Africa CEMAC (CM, CF, TD, CG, GQ, GA), and Central & Island Africa (CD, MU, SC, MG, KM, ST).