API v1.0

API Documentation

Access global regulatory intelligence data through our REST API. Query country profiles, search regulations semantically, and check compliance.

Base URL

https://aireg.nimvector.cc/api

All API endpoints are relative to this base URL. The API currently does not require authentication.

Available Endpoints

GET/api/countries

List all countries with regulatory scores and risk classifications.

?region=Europe?limit=50?offset=0
GET/api/countries/[iso2]

Get detailed regulatory profile for a specific country by ISO 3166-1 alpha-2 code.

POST/api/search/semantic

Search regulatory content using natural language queries with AI embeddings.

{
  "query": "AI training data licensing",
  "domain": "copyright",  // or "crypto"
  "limit": 10
}
POST/api/compliance/stablecoin

Check if stablecoin payments are allowed between two jurisdictions.

{
  "origin": "CH",
  "destination": "US"
}
GET/api/analytics/scorecard

Get regulatory scorecards with combined scores and risk classifications.

Example Response

GET /api/countries/ch

{
  "country": {
    "iso2": "CH",
    "iso3": "CHE",
    "name": "Switzerland",
    "region": "Europe",
    "income_level": "High income"
  },
  "scores": {
    "copyright_enforcement_score": 9.2,
    "crypto_clarity_score": 9.0,
    "combined_regulatory_score": 9.1,
    "risk_classification": "low_risk"
  },
  "copyright_profile": {
    "legal_family": "Civil Law",
    "ai_training_exception": false,
    "enforcement_mechanisms": "Strong judicial system..."
  },
  "crypto_profile": {
    "legal_status": "Regulated",
    "stablecoin_allowed": true,
    "licensing_required": true,
    "regulatory_body": "FINMA"
  }
}

Rate Limits

The API currently has generous rate limits for research and development purposes:

  • 100 requests per minute per IP
  • 10,000 requests per day per IP
  • Semantic search limited to 20 requests per minute