| title | Quickstart |
|---|---|
| description | Make your first request in 2 minutes |
Contact us at contact@rxradar.xyz to get your API key.
Your key looks like: rx_ROJemN_xle5h6-BT7fcSqKFepySPJj...
curl -X GET "https://api.rxradar.xyz/v1/stores" \
-H "Authorization: Bearer rx_YOUR_API_KEY"import requests
response = requests.get(
"https://api.rxradar.xyz/v1/stores",
headers={"Authorization": "Bearer rx_YOUR_API_KEY"}
)
stores = response.json()
print(stores)const response = await fetch(
"https://api.rxradar.xyz/v1/stores",
{
headers: {
"Authorization": "Bearer rx_YOUR_API_KEY"
}
}
);
const stores = await response.json();
console.log(stores);The /v1/snapshots/compare endpoint compares prices for a product (by EAN) across all stores:
curl -X GET "https://api.rxradar.xyz/v1/snapshots/compare?gtin=0020714002527" \
-H "Authorization: Bearer rx_YOUR_API_KEY"Response:
{
"gtin": "0020714002527",
"product_name": "Clinique Take The Day Off Cleansing Balm 125 ml",
"stats": {
"min_price": 29.40,
"max_price": 39.00,
"avg_price": 33.85,
"snapshot_count": 16
},
"data": [
{
"id": 98765,
"product_id": 12345,
"collected_at": "2026-05-18T14:30:00",
"price": {
"current": 34.00,
"original": null,
"valid_until": null,
"range": null,
"has_promo": false,
"currency": "USD"
},
"per_unit": {
"price": 27.20,
"unit": "100 ml"
},
"stock": {
"available": true,
"label": "In stock"
},
"rating": {
"value": 4.5,
"count": 127
},
"positions": [],
"promotions": [],
"badges": [],
"favorites_count": 342,
"network": "cvs",
"store": "cvs.com"
}
// ... 15 more snapshots
]
}