Card Sentinel API
Up-to-date API documentation
Authentication
Use the Authorization
header with the Bearer scheme.
Authorization: Bearer <token>
Endpoints
Cards
GET
/cards/:id
Retrieves a card by its ID with associated set information from Scryfall.
Alerts
POST
/alerts
Creates a new alert for a user. Requires authentication token.
GET
/alerts/:id
Retrieves an alert by its ID. Requires authentication token.
Query: hydrate=true to include related card details.
DELETE
/alerts/:id
Deletes an alert by its ID. Requires authentication token.
GET
/alerts/:id/metrics
Retrieves blueprint metrics for a specific alert. Requires authentication token.
Blueprints
POST
/blueprints
Triggers polling and persistence of blueprint metrics. Intended for internal use.
Query: offset (number, default 0), pageSize (number).
Users
GET
/users/:id/alerts
Retrieves all alerts for a specific user. Requires authentication token.
Query: card_id (filter by card), hydrate=true to include related card details.