/v1/random
A random card
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/marvelsnap-api/v1/random" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/marvelsnap-api/v1/random", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/marvelsnap-api/v1/random");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/marvelsnap-api/v1/random",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"card": {
"key": "DoctorStrange",
"url": "/cards/DoctorStrange/",
"cost": 2,
"name": "Doctor Strange",
"image": "https://game-assets.snap.fan/card_variant_images/DoctorStrange-b05d7d9c7f09c8981d5800833bbfe8f8d27777917e7907e15d0f3586ba484f1e.webp",
"power": 4,
"series": "Series 1 (Collection Level 18-214)",
"ability": "On Reveal: Move your highest-Power card(s) to this location.",
"variants": 21,
"card_type": 0,
"turn_drawn": null,
"is_released": true,
"series_short": "Series 1",
"is_collectable": true,
"starts_in_hand": false
}
},
"meta": {
"timestamp": "2026-06-08T01:18:26.325Z",
"request_id": "8deefc4e-ab46-4485-b0b8-9d41cda06710"
},
"status": "ok",
"message": "Random card retrieved successfully",
"success": true
}