Webhooks
Prices
Price webhooks notify you whenever there is an update to the market pricing for Magic: The Gathering cards.
Supported Events
magicthegathering.expansions.prices.raw_updated: Triggered when raw card prices are updated.magicthegathering.expansions.prices.graded_updated: Triggered when graded card prices are updated.
Payload Structure
The payload contains an expansion_ids array, which lists the IDs of the expansions that had price updates.
id <string>
Unique identifier for the webhook event.
name <string>
The name of the event (e.g., magicthegathering.expansions.prices.raw_updated).
data <object>
The event data containing expansion_ids.
Sample Payload
{
"id": "evt_mtg_prices_123",
"name": "magicthegathering.expansions.prices.raw_updated",
"data": {
"expansion_ids": ["CNS", "PS14"]
}
}
curl -X POST 'https://your-app.com/webhooks' \
-H 'Content-Type: application/json' \
-H 'X-Scrydex-Signature: t=123,v1=abc' \
-d '{"id":"evt_mtg_prices_123","name":"magicthegathering.expansions.prices.raw_updated","data":{"expansion_ids":["CNS"]}}'
Pop Reports
Population report webhooks notify you whenever there is an update to the population data for Magic: The Gathering cards.
Supported Events
magicthegathering.expansions.pop_reports.updated: Triggered when population report data is updated.
Payload Structure
The payload contains an expansion_ids array, which lists the IDs of the expansions that had population report updates.
id <string>
Unique identifier for the webhook event.
name <string>
The name of the event (e.g., magicthegathering.expansions.pop_reports.updated).
data <object>
The event data containing expansion_ids.
Sample Payload
{
"id": "evt_mtg_pop_123",
"name": "magicthegathering.expansions.pop_reports.updated",
"data": {
"expansion_ids": ["CNS"]
}
}
curl -X POST 'https://your-app.com/webhooks' \
-H 'Content-Type: application/json' \
-H 'X-Scrydex-Signature: t=123,v1=abc' \
-d '{"id":"evt_mtg_pop_123","name":"magicthegathering.expansions.pop_reports.updated","data":{"expansion_ids":["CNS"]}}'
