Real-time product prices from 50+ countries. One API, every market. Built for apps, extensions, and tools that need accurate pricing data.
# Get prices for any product in any country
curl "https://api.dxphi.com/price?product=iphone+16+pro&country=EG&api_key=YOUR_KEY"import requests response = requests.get("https://api.dxphi.com/price", params={ "product": "iphone 16 pro", "country": "EG", "api_key": "YOUR_KEY", }) data = response.json() print(f"Market price: {data['market_price']['median']} {data['currency']}")
const res = await fetch(`https://api.dxphi.com/price?product=iphone+16+pro&country=EG&api_key=YOUR_KEY`); const data = await res.json(); console.log(data.market_price.median); // e.g. 47600 console.log(data.sellers_count); // e.g. 10
Returns real-time prices, sellers, and market price for any product in any supported country.
| Parameter | Type | Description | Status |
|---|---|---|---|
product | string | Product name (e.g. "iphone 16 pro 512gb") | required |
country | string | ISO 3166-1 alpha-2 code (EG, SA, AE, US, GB...) | required |
api_key | string | Your API key (or pass as X-Api-Key header) | required |
cache | integer | Use cache: 1 (default) or 0 for fresh data | optional |
Response
{
"success": true,
"product": "iphone 16 pro",
"country": "EG",
"currency": "EGP",
"market_price": {
"median": 47600.0,
"min": 38000.0,
"max": 59999.0,
"count": 18
},
"sellers": [
{
"domain": "amazon.eg",
"url": "https://amazon.eg/...",
"price": 45999.0,
"currency": "EGP"
}
],
"sellers_count": 10,
"cheapest": { /* seller object */ },
"most_expensive": { /* seller object */ },
"time": 2.4,
"cached": false
}Start free. Pay only for what you use.
| Feature | Adds to Cost | Description |
|---|---|---|
market_price | Included | Median market price + min/max/count |
offers_list | Included | List of seller offers |
offers_count | Included | Number of sellers found |
source_urls | +$0.0005/req | Direct URLs to product pages |
proof_images | +$0.0005/req | Screenshot URLs of prices |
store_metadata | +$0.0003/req | Store logo, rating, delivery info |
* Exact feature prices from /api/pricing
| Code | Reason | Fix |
|---|---|---|
401 | No API key | Add api_key parameter |
402 | Insufficient wallet balance | Top up at dxphi.com/dashboard |
403 | Invalid or inactive key | Check your key at dxphi.com/dashboard |
400 | Invalid country code | Use valid ISO 3166-1 alpha-2 code |
200 success:false | No results found | Try broader product name |