Skip to Content
API reference

API reference

The backend receives verification, content, analytics, and earnings events from the widget, package, and dashboard.

Endpoint names can still move while the backend settles. Treat this page as the intended public shape and keep implementation docs updated as routes stabilize.

Base URL

https://api.nibgate.xyz

API groups

Status

Use the status endpoint to confirm the service is online.

GET /api/nibgate/status

Site registration

Dashboard APIs create sites, issue verification tokens, recheck widget health, and archive removed sites.

POST /api/hub/sites GET /api/hub/sites POST /api/hub/sites/:siteId/verify DELETE /api/hub/sites/:siteId

Event ingestion

Widget and package event routes should reject unknown origins, removed sites, stale verification, and malformed content ids.

POST /api/hub/events/page POST /api/hub/events/content POST /api/hub/events/unlock POST /api/hub/events/receipt

Explore content

Explore reads verified content metadata from the backend.

GET /api/hub/explore/content?q=music&type=music&sort=trending
Last updated on