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.

PriceSpy
GET/v1/pricespy/search?q=iphone+16
{
  "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
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idstringnamestringpriceobjectcategorystringcategory_idintegerimageurlurlurl
113854649Apple iPhone 16 128GB{2 fields}Mobile Phones103https://cdn.pji.nu/product/standard/800/13854649.jpg?height=280&width=280https://pricespy.co.uk/product.php?p=13854649
214468246Apple iPhone 16e 128GB{2 fields}Mobile Phones103https://media.pji.nu/e25438fb-8d15-40ad-b348-1a1f94e6c70c.webp?height=280&width=280https://pricespy.co.uk/product.php?p=14468246
313854637Apple iPhone 16 Plus 128GB{2 fields}Mobile Phones103https://cdn.pji.nu/product/standard/800/13854637.jpg?height=280&width=280https://pricespy.co.uk/product.php?p=13854637

Recorded 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

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/pricespy/autocomplete
q
JSON1 credit
GET/v1/pricespy/categories
none
JSON1 credit
GET/v1/pricespy/price-history
id
JSON1 credit
GET/v1/pricespy/product
id
JSON1 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: search takes a q, with an optional category id from categories. autocomplete takes a q to complete.
  • Products: product and price-history take a product id, from search or autocomplete.
  • Categories: categories takes 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.

MarketplacesJSONRESTMCP

More marketplaces APIs

Use cases

Track prices for a list of products

Use the PriceSpy API to track prices for a list of products

Chart 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.