curl --request POST \
--url https://api.aisa.one/apis/v1/tweakers-net/products/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "iphone 15"
}
'import requests
url = "https://api.aisa.one/apis/v1/tweakers-net/products/search"
payload = { "query": "iphone 15" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'iphone 15'})
};
fetch('https://api.aisa.one/apis/v1/tweakers-net/products/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tweakers-net/products/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'iphone 15'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tweakers-net/products/search"
payload := strings.NewReader("{\n \"query\": \"iphone 15\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tweakers-net/products/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"iphone 15\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tweakers-net/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"iphone 15\"\n}"
response = http.request(request)
puts response.read_body{
"categories": [
{
"category_id": 1010,
"count": 23,
"name": "Opladers"
},
{
"category_id": 775,
"count": 4,
"name": "Overige randapparatuur"
},
{
"category_id": 377,
"count": 548,
"name": "Smartphone-accessoires"
},
{
"category_id": 957,
"count": 2979,
"name": "Smartphonehoesjes"
},
{
"category_id": 215,
"count": 333,
"name": "Smartphones"
}
],
"category_id": null,
"count": 6,
"country": "NL",
"currency": "EUR",
"filters": [
{
"id": "priceFilter",
"label": "Prijs",
"max_param": "pa",
"min_param": "pi",
"param": null,
"type": "range",
"values": [
{
"count": null,
"label": "Prijsloos",
"value": "-1"
},
{
"count": null,
"label": "€ 0",
"value": "0"
},
{
"count": null,
"label": "€ 80",
"value": "80"
}
],
"values_truncated": false
},
{
"id": "productRatingFilter",
"label": "Beoordeling product",
"max_param": null,
"min_param": "si",
"param": null,
"type": "range",
"values": [
{
"count": null,
"label": "1",
"value": "1"
},
{
"count": null,
"label": "2",
"value": "2"
},
{
"count": null,
"label": "3",
"value": "3"
}
],
"values_truncated": false
},
{
"id": "brandFilter",
"label": "Merken",
"max_param": null,
"min_param": null,
"param": "b",
"type": "checkbox",
"values": [
{
"count": 333,
"label": "Apple",
"value": "122"
}
],
"values_truncated": false
}
],
"has_more": true,
"next_page": 2,
"observed_at_ms": 1792807200000,
"page": 1,
"query": "iphone 15",
"results": [
{
"image_url": "https://tweakers.net/i/iePeTFTCPrPbeHr8PanwtEZEyuQ=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085380.jpeg?f=thumbsmall",
"lowest_price": 519,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15, 128GB opslag Zwart",
"product_id": 1978140,
"rating": 4.5,
"review_count": 20,
"shop_count": 15,
"specs_summary": "6,1\" • 2556x1179 • 128GB",
"tested": true,
"url": "https://tweakers.net/pricewatch/1978140/apple-iphone-15-128gb-opslag-zwart.html"
},
{
"image_url": "https://tweakers.net/i/GIxyMnMSrinO0oefpo9iibSpXNI=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085286.jpeg?f=thumbsmall",
"lowest_price": 599,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15 Pro, 128GB Zwart Titanium",
"product_id": 1978144,
"rating": 4.5,
"review_count": 15,
"shop_count": 5,
"specs_summary": "6,1\" • 2556x1179 • 128GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978144/apple-iphone-15-pro-128gb-zwart-titanium.html"
},
{
"image_url": "https://tweakers.net/i/1JWI0AeG0ToVlt0eh96H_3XT8nw=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085302.jpeg?f=thumbsmall",
"lowest_price": 679,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15 Pro, 256GB Blauw Titanium",
"product_id": 1978290,
"rating": 4.5,
"review_count": 15,
"shop_count": 5,
"specs_summary": "6,1\" • 2556x1179 • 256GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978290/apple-iphone-15-pro-256gb-blauw-titanium.html"
},
{
"image_url": "https://tweakers.net/i/iePeTFTCPrPbeHr8PanwtEZEyuQ=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085380.jpeg?f=thumbsmall",
"lowest_price": 839,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15, 256GB opslag Zwart",
"product_id": 1978232,
"rating": 4.5,
"review_count": 20,
"shop_count": 11,
"specs_summary": "6,1\" • 2556x1179 • 256GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978232/apple-iphone-15-256gb-opslag-zwart.html"
},
{
"image_url": "https://tweakers.net/i/cOz41l43UoyRYS-SVLh9mUwfooo=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085404.jpeg?f=thumbsmall",
"lowest_price": 699,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15, 128GB opslag Blauw",
"product_id": 1978224,
"rating": 4.5,
"review_count": 20,
"shop_count": 11,
"specs_summary": "6,1\" • 2556x1179 • 128GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978224/apple-iphone-15-128gb-opslag-blauw.html"
},
{
"image_url": "https://tweakers.net/i/7bmfjfxAxrQFlEzeNuikYN29H-o=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085310.jpeg?f=thumbsmall",
"lowest_price": 659,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15 Pro, 256GB Naturel Titanium",
"product_id": 1978292,
"rating": 4.5,
"review_count": 15,
"shop_count": 4,
"specs_summary": "6,1\" • 2556x1179 • 256GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978292/apple-iphone-15-pro-256gb-naturel-titanium.html"
}
],
"url": "https://tweakers.net/pricewatch/zoeken/?keyword=iphone+15&c=215"
}Search
Finding products sold in the Netherlands and their lowest prices by keyword, then narrowing: call once, pick a category from categories and/or values from filters, and call again with category_id, filters (param -> value or values), sort, min_price, max_price. Take product_id into product for the per-shop offers.
curl --request POST \
--url https://api.aisa.one/apis/v1/tweakers-net/products/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "iphone 15"
}
'import requests
url = "https://api.aisa.one/apis/v1/tweakers-net/products/search"
payload = { "query": "iphone 15" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'iphone 15'})
};
fetch('https://api.aisa.one/apis/v1/tweakers-net/products/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tweakers-net/products/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'iphone 15'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tweakers-net/products/search"
payload := strings.NewReader("{\n \"query\": \"iphone 15\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tweakers-net/products/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"iphone 15\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tweakers-net/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"iphone 15\"\n}"
response = http.request(request)
puts response.read_body{
"categories": [
{
"category_id": 1010,
"count": 23,
"name": "Opladers"
},
{
"category_id": 775,
"count": 4,
"name": "Overige randapparatuur"
},
{
"category_id": 377,
"count": 548,
"name": "Smartphone-accessoires"
},
{
"category_id": 957,
"count": 2979,
"name": "Smartphonehoesjes"
},
{
"category_id": 215,
"count": 333,
"name": "Smartphones"
}
],
"category_id": null,
"count": 6,
"country": "NL",
"currency": "EUR",
"filters": [
{
"id": "priceFilter",
"label": "Prijs",
"max_param": "pa",
"min_param": "pi",
"param": null,
"type": "range",
"values": [
{
"count": null,
"label": "Prijsloos",
"value": "-1"
},
{
"count": null,
"label": "€ 0",
"value": "0"
},
{
"count": null,
"label": "€ 80",
"value": "80"
}
],
"values_truncated": false
},
{
"id": "productRatingFilter",
"label": "Beoordeling product",
"max_param": null,
"min_param": "si",
"param": null,
"type": "range",
"values": [
{
"count": null,
"label": "1",
"value": "1"
},
{
"count": null,
"label": "2",
"value": "2"
},
{
"count": null,
"label": "3",
"value": "3"
}
],
"values_truncated": false
},
{
"id": "brandFilter",
"label": "Merken",
"max_param": null,
"min_param": null,
"param": "b",
"type": "checkbox",
"values": [
{
"count": 333,
"label": "Apple",
"value": "122"
}
],
"values_truncated": false
}
],
"has_more": true,
"next_page": 2,
"observed_at_ms": 1792807200000,
"page": 1,
"query": "iphone 15",
"results": [
{
"image_url": "https://tweakers.net/i/iePeTFTCPrPbeHr8PanwtEZEyuQ=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085380.jpeg?f=thumbsmall",
"lowest_price": 519,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15, 128GB opslag Zwart",
"product_id": 1978140,
"rating": 4.5,
"review_count": 20,
"shop_count": 15,
"specs_summary": "6,1\" • 2556x1179 • 128GB",
"tested": true,
"url": "https://tweakers.net/pricewatch/1978140/apple-iphone-15-128gb-opslag-zwart.html"
},
{
"image_url": "https://tweakers.net/i/GIxyMnMSrinO0oefpo9iibSpXNI=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085286.jpeg?f=thumbsmall",
"lowest_price": 599,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15 Pro, 128GB Zwart Titanium",
"product_id": 1978144,
"rating": 4.5,
"review_count": 15,
"shop_count": 5,
"specs_summary": "6,1\" • 2556x1179 • 128GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978144/apple-iphone-15-pro-128gb-zwart-titanium.html"
},
{
"image_url": "https://tweakers.net/i/1JWI0AeG0ToVlt0eh96H_3XT8nw=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085302.jpeg?f=thumbsmall",
"lowest_price": 679,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15 Pro, 256GB Blauw Titanium",
"product_id": 1978290,
"rating": 4.5,
"review_count": 15,
"shop_count": 5,
"specs_summary": "6,1\" • 2556x1179 • 256GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978290/apple-iphone-15-pro-256gb-blauw-titanium.html"
},
{
"image_url": "https://tweakers.net/i/iePeTFTCPrPbeHr8PanwtEZEyuQ=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085380.jpeg?f=thumbsmall",
"lowest_price": 839,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15, 256GB opslag Zwart",
"product_id": 1978232,
"rating": 4.5,
"review_count": 20,
"shop_count": 11,
"specs_summary": "6,1\" • 2556x1179 • 256GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978232/apple-iphone-15-256gb-opslag-zwart.html"
},
{
"image_url": "https://tweakers.net/i/cOz41l43UoyRYS-SVLh9mUwfooo=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085404.jpeg?f=thumbsmall",
"lowest_price": 699,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15, 128GB opslag Blauw",
"product_id": 1978224,
"rating": 4.5,
"review_count": 20,
"shop_count": 11,
"specs_summary": "6,1\" • 2556x1179 • 128GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978224/apple-iphone-15-128gb-opslag-blauw.html"
},
{
"image_url": "https://tweakers.net/i/7bmfjfxAxrQFlEzeNuikYN29H-o=/fit-in/84x63/filters:strip_icc():fill(white):strip_exif()/i/2006085310.jpeg?f=thumbsmall",
"lowest_price": 659,
"lowest_price_refurbished": false,
"name": "Apple iPhone 15 Pro, 256GB Naturel Titanium",
"product_id": 1978292,
"rating": 4.5,
"review_count": 15,
"shop_count": 4,
"specs_summary": "6,1\" • 2556x1179 • 256GB",
"tested": false,
"url": "https://tweakers.net/pricewatch/1978292/apple-iphone-15-pro-256gb-naturel-titanium.html"
}
],
"url": "https://tweakers.net/pricewatch/zoeken/?keyword=iphone+15&c=215"
}Request contract
- Method and path: POST /apis/v1/tweakers-net/products/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/tweakers-net/products/search
{
"operationId": "tweakers-net.products.search",
"method": "POST",
"path": "/apis/v1/tweakers-net/products/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"filters": {
"c": "215"
},
"query": "iphone 15"
}
}
},
"schema": {
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"properties": {
"category_id": {}
},
"required": [
"category_id"
]
},
{
"properties": {
"query": {}
},
"required": [
"query"
]
}
]
}
],
"properties": {
"category_id": {
"description": "Pricewatch category id from `categories` (or a category filter value). Reads that category's listing, which offers its specification filters.\n\nProvider reference: minimum 1.",
"type": "number"
},
"filters": {
"additionalProperties": true,
"description": "Chosen filters as Tweakers query parameters, passed through untouched: keys are a returned filter's `param`, `min_param` or `max_param`, values one of its `values[].value` (or an array of them for checkbox filters; for range filters any value on the filter's scale). Example: {\"b\": [\"122\", \"1006\"], \"f764\": \"13263\", \"i763\": \"6.1\"}.",
"type": "object",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"max_price": {
"description": "Highest price in whole euros (Tweakers' `pa`).\n\nProvider reference: minimum 0; maximum 100000.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100000,
"min": 0
}
},
"min_price": {
"description": "Lowest price in whole euros (Tweakers' `pi`).\n\nProvider reference: minimum 0; maximum 100000.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100000,
"min": 0
}
},
"page": {
"default": 1,
"description": "Result page, 40 products per page.\n\nProvider reference: minimum 1; maximum 50; default 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 50,
"min": 1
}
},
"query": {
"description": "Search keywords as typed in the Pricewatch search box, e.g. 'iphone 15' or 'rtx 5070'. Optional when category_id is given.",
"type": "string"
},
"sort": {
"description": "Result order (Tweakers' sort menu): most viewed, price low to high, price high to low, user score, newest or oldest available. Default is Tweakers' own order.\n\nProvider reference: allowed values [\"popularity\", \"price_asc\", \"price_desc\", \"rating\", \"newest\", \"oldest\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"popularity",
"price_asc",
"price_desc",
"rating",
"newest",
"oldest"
]
}
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
- Option 1
- Option 2
Chosen filters as Tweakers query parameters, passed through untouched: keys are a returned filter's param, min_param or max_param, values one of its values[].value (or an array of them for checkbox filters; for range filters any value on the filter's scale). Example: {"b": ["122", "1006"], "f764": "13263", "i763": "6.1"}.
Response
Search Tweakers Pricewatch, the Dutch price comparison site, by keyword and/or category and return one page of up to 40 products: Pricewatch product id, name, spec line, lowest price in EUR, number of shops, user rating and product URL. Also returns the filters the page offers (id, label, type, the Tweakers query parameter names and the values with counts) so a follow-up call can pass chosen values back in filters, plus the category facet. With category_id the program reads that category's listing, which adds its specification filters (screen size, storage, ...). Sort and min/max price are separate inputs. Pages 1-50.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
categories | object[] | Category facet of the query: Pricewatch categories with their number of matching products. Tweakers does not print the category on each result row. |
category_id | number | The category whose listing was read, or null for the Pricewatch search. |
count | number | |
country | string | |
currency | string | |
filters | object[] | Filters this page offers, from Tweakers' own filter markup. Pass param (checkbox/select) or min_param/max_param (range/date) as keys of the filters input. Specification filters appear only with category_id. |
has_more | boolean | Tweakers links a next result page. |
next_page | number | |
observed_at_ms | number | |
page | number | |
query | string | |
results | object[] | |
url | string | The Tweakers page that answered, with every parameter applied. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.