APIs / Marketplaces / PriceSpy
1 credit per call5 endpoints7 datapointsChecked working 6 Dec 2026
PriceSpy API
PriceSpy API for product search, product details, price history, autocomplete and categories as JSON. 5 endpoints, 1 credit per successful call.
{
"products": [
{
"id": "13854649",
"name": "Apple iPhone 16 128GB",
"price": {
"value": 509.99,
"currency": "GBP"
},
"category": "Mobile Phones",
"category_id": 103,
"image": "https://cdn.pji.nu/product/standard/800/13854649.jpg?height=280&width=280",
"url": "https://pricespy.co.uk/product.php?p=13854649"
},
{
"id": "14468246",
"name": "Apple iPhone 16e 128GB",
"price": {
"value": 429.99,
"currency": "GBP"
},
"category": "Mobile Phones",
"category_id": 103,
"image": "https://media.pji.nu/e25438fb-8d15-40ad-b348-1a1f94e6c70c.webp?height=280&width=280",
"url": "https://pricespy.co.uk/product.php?p=14468246"
},
{
"id": "13854637",
"name": "Apple iPhone 16 Plus 128GB",
"price": {
"value": 599.99,
"currency": "GBP"
},
"category": "Mobile Phones",
"category_id": 103,
"image": "https://cdn.pji.nu/product/standard/800/13854637.jpg?height=280&width=280",
"url": "https://pricespy.co.uk/product.php?p=13854637"
}
],
"total": 1000,
"page": 1,
"pagination": {
"page": 1,
"has_more": false,
"note": "First result page only."
},
"success": true,
"meta": {
"attempts": 1,
"request_id": "req_97e40bd39575462b811157a9919f8c9b",
"credits_charged": 1,
"credits_remaining": 1738
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idstring | namestring | priceobject | categorystring | category_idinteger | imageurl | urlurl |
|---|---|---|---|---|---|---|---|
| 1 | 13854649 | Apple iPhone 16 128GB | {2 fields} | Mobile Phones | 103 | https://cdn.pji.nu/product/standard/800/13854649.jpg?height=280&width=280 | https://pricespy.co.uk/product.php?p=13854649 |
| 2 | 14468246 | Apple iPhone 16e 128GB | {2 fields} | Mobile Phones | 103 | https://media.pji.nu/e25438fb-8d15-40ad-b348-1a1f94e6c70c.webp?height=280&width=280 | https://pricespy.co.uk/product.php?p=14468246 |
| 3 | 13854637 | Apple iPhone 16 Plus 128GB | {2 fields} | Mobile Phones | 103 | https://cdn.pji.nu/product/standard/800/13854637.jpg?height=280&width=280 | https://pricespy.co.uk/product.php?p=13854637 |
[
{
"id": "13854649",
"name": "Apple iPhone 16 128GB",
"price": {
"value": 509.99,
"currency": "GBP"
},
"category": "Mobile Phones",
"category_id": 103,
"image": "https://cdn.pji.nu/product/standard/800/13854649.jpg?height=280&width=280",
"url": "https://pricespy.co.uk/product.php?p=13854649"
},
{
"id": "14468246",
"name": "Apple iPhone 16e 128GB",
"price": {
"value": 429.99,
"currency": "GBP"
},
"category": "Mobile Phones",
"category_id": 103,
"image": "https://media.pji.nu/e25438fb-8d15-40ad-b348-1a1f94e6c70c.webp?height=280&width=280",
"url": "https://pricespy.co.uk/product.php?p=14468246"
},
{
"id": "13854637",
"name": "Apple iPhone 16 Plus 128GB",
"price": {
"value": 599.99,
"currency": "GBP"
},
"category": "Mobile Phones",
"category_id": 103,
"image": "https://cdn.pji.nu/product/standard/800/13854637.jpg?height=280&width=280",
"url": "https://pricespy.co.uk/product.php?p=13854637"
}
]id,name,price,category,category_id,image,url
13854649,Apple iPhone 16 128GB,"{""value"":509.99,""currency"":""GBP""}",Mobile Phones,103,https://cdn.pji.nu/product/standard/800/13854649.jpg?height=280&width=280,https://pricespy.co.uk/product.php?p=13854649
14468246,Apple iPhone 16e 128GB,"{""value"":429.99,""currency"":""GBP""}",Mobile Phones,103,https://media.pji.nu/e25438fb-8d15-40ad-b348-1a1f94e6c70c.webp?height=280&width=280,https://pricespy.co.uk/product.php?p=14468246
13854637,Apple iPhone 16 Plus 128GB,"{""value"":599.99,""currency"":""GBP""}",Mobile Phones,103,https://cdn.pji.nu/product/standard/800/13854637.jpg?height=280&width=280,https://pricespy.co.uk/product.php?p=13854637Recorded from our API · 3 items shown · 7 datapoints per itemGET /v1/pricespy/search?q=iphone+16
7 datapoints
Identity
- idstring
- namestring
- categorystring
- category_idinteger
Contact
- urlurl
Reputation
- imageurl
Price
- priceobject
Playground
Run this API
curl "https://api.perceptlayer.com/v1/pricespy/search?q=iphone+16" \
-H "X-API-Key: $API_KEY"PriceSpy · 5 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/pricespy/autocomplete | q | JSON | 1 credit |
GET/v1/pricespy/categories | none | JSON | 1 credit |
GET/v1/pricespy/price-history | id | JSON | 1 credit |
GET/v1/pricespy/product | id | JSON | 1 credit |
GET/v1/pricespy/search | q+1 optional | idnamepricecategorycategory_idimage+1 more | 1 credit |
Overview
About the PriceSpy API
What you can get
The PriceSpy API returns PriceSpy price-comparison data as JSON through 5 endpoints.
- Search:
searchtakes aq, with an optionalcategoryid fromcategories.autocompletetakes aqto complete. - Products:
productandprice-historytake a productid, from search or autocomplete. - Categories:
categoriestakes no parameters.
The recorded search for "iphone 16" returns products, each with id, name, price (a value and currency, GBP in the recording), category, category_id, image and url. It also returns a total of 1,000 and pagination, which notes that the response is the first result page only.
How a call works
Search, then look up: GET /v1/pricespy/search?q=iphone%2016, with your key in the X-API-Key header, returns each product's id. Pass it to product for the product's details and to price-history for how its price has moved. Narrow a search with a category id from categories. Every successful call costs 1 credit; failed calls cost nothing.
More marketplaces APIs
Use cases
Track prices for a list of products
Use the PriceSpy API to track prices for a list of productsChart a product's price over time with `price-history`
Use the PriceSpy API to chart a product's price over time with `price-history`Build product lookup with `autocomplete`
Use the PriceSpy API to build product lookup with `autocomplete`Search within one category using ids from `categories`
Use the PriceSpy API to search within one category using ids from `categories`FAQ
Questions
How much does the PriceSpy API cost?
Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.
Can I search within a category?
Yes. Get a category id from `categories` and pass it to `search` as `category`.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Is this the official PriceSpy API?
No. Perceptlayer is an independent service and is not affiliated with PriceSpy. It returns PriceSpy data as JSON with a Perceptlayer key, so there is no PriceSpy developer account, app review or partner approval to get first. It only reads data: if PriceSpy has an official API and you need to act on your own PriceSpy account, such as posting, managing orders or reading private data, use that one.
Should I build a PriceSpy scraper instead?
You can, but a PriceSpy scraper is code you maintain: page changes break it, requests get blocked, and PriceSpy's terms govern how you collect data. The PriceSpy API gives you 5 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the PriceSpy API with 100 free credits
No credit card. Failed calls are never billed.