Skip to main content
AI Consumer Compliance

API reference (v1)

JSON REST API. Base URL: /api/v1/. Bearer-token authentication for authenticated endpoints. Rate-limited at 60/min/user-or-IP.

Download the OpenAPI 3 spec → — drop it into Stoplight, Postman, or Swagger UI.

Authentication

Public content (no auth)

MethodPathNotes
GET/countriesq, region, status, per_page, page
GET/countries/{slug}returns country + regulations + articles
GET/industriesq, risk
GET/industries/{slug}returns industry + regulations
GET/topics
GET/topics/{slug}returns topic + regulations
GET/regulationsq, country, industry, topic, status
GET/regulations/{slug}returns regulation detail
GET/articlesq, type, topic
GET/articles/{slug}returns article + body
GET/glossaryq
GET/glossary/{slug}
GET/search?q=cross-collection

Authenticated

MethodPathNotes
GET/mecurrent user
PATCH/mepartial update of profile and preferences
DELETE/meGDPR account deletion (requires confirm: "DELETE")
GET/watchlist
POST/watchlisttype, id, notify_email?, notify_push?
DELETE/watchlist/{id}
GET/alerts
POST/alerts/{id}/read
POST/alerts/read-all
GET/saved-searches
POST/saved-searcheslabel, query, scope, filters
DELETE/saved-searches/{id}

Response envelope

List endpoints return { data, links, meta }; single-resource endpoints return the resource directly. Errors use standard HTTP codes with { message, errors? }.

Example — fetch a country

GET /api/v1/countries/united-states
Accept: application/json

Example — login

POST /api/v1/auth/login
Content-Type: application/json

{
  "email": "you@example.com",
  "password": "...",
  "device": "iPhone",
  "platform": "iOS"
}