/ifixit/products/search
curl --request POST \
--url https://api.anysite.io/api/ifixit/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 500,
"timeout": 300,
"query": "<string>",
"store_region": "en_us",
"device": [],
"category": [],
"main_category": [],
"item_type": [],
"device_brand": [],
"device_category": [],
"device_type": [],
"operating_system": [],
"part_or_kit": [],
"capacity": [],
"tool_category": [],
"screwdriver_type": [],
"merchandise_category": [],
"ifixit_exclusive_only": false,
"price_min": 1,
"price_max": 1,
"min_rating": 2.5,
"min_rating_count": 1,
"in_stock_only": false,
"lifetime_warranty_only": false,
"discounted_only": false
}
'import requests
url = "https://api.anysite.io/api/ifixit/products/search"
payload = {
"count": 500,
"timeout": 300,
"query": "<string>",
"store_region": "en_us",
"device": [],
"category": [],
"main_category": [],
"item_type": [],
"device_brand": [],
"device_category": [],
"device_type": [],
"operating_system": [],
"part_or_kit": [],
"capacity": [],
"tool_category": [],
"screwdriver_type": [],
"merchandise_category": [],
"ifixit_exclusive_only": False,
"price_min": 1,
"price_max": 1,
"min_rating": 2.5,
"min_rating_count": 1,
"in_stock_only": False,
"lifetime_warranty_only": False,
"discounted_only": False
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 500,
timeout: 300,
query: '<string>',
store_region: 'en_us',
device: [],
category: [],
main_category: [],
item_type: [],
device_brand: [],
device_category: [],
device_type: [],
operating_system: [],
part_or_kit: [],
capacity: [],
tool_category: [],
screwdriver_type: [],
merchandise_category: [],
ifixit_exclusive_only: false,
price_min: 1,
price_max: 1,
min_rating: 2.5,
min_rating_count: 1,
in_stock_only: false,
lifetime_warranty_only: false,
discounted_only: false
})
};
fetch('https://api.anysite.io/api/ifixit/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.anysite.io/api/ifixit/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([
'count' => 500,
'timeout' => 300,
'query' => '<string>',
'store_region' => 'en_us',
'device' => [
],
'category' => [
],
'main_category' => [
],
'item_type' => [
],
'device_brand' => [
],
'device_category' => [
],
'device_type' => [
],
'operating_system' => [
],
'part_or_kit' => [
],
'capacity' => [
],
'tool_category' => [
],
'screwdriver_type' => [
],
'merchandise_category' => [
],
'ifixit_exclusive_only' => false,
'price_min' => 1,
'price_max' => 1,
'min_rating' => 2.5,
'min_rating_count' => 1,
'in_stock_only' => false,
'lifetime_warranty_only' => false,
'discounted_only' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/ifixit/products/search"
payload := strings.NewReader("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"store_region\": \"en_us\",\n \"device\": [],\n \"category\": [],\n \"main_category\": [],\n \"item_type\": [],\n \"device_brand\": [],\n \"device_category\": [],\n \"device_type\": [],\n \"operating_system\": [],\n \"part_or_kit\": [],\n \"capacity\": [],\n \"tool_category\": [],\n \"screwdriver_type\": [],\n \"merchandise_category\": [],\n \"ifixit_exclusive_only\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2.5,\n \"min_rating_count\": 1,\n \"in_stock_only\": false,\n \"lifetime_warranty_only\": false,\n \"discounted_only\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/ifixit/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"store_region\": \"en_us\",\n \"device\": [],\n \"category\": [],\n \"main_category\": [],\n \"item_type\": [],\n \"device_brand\": [],\n \"device_category\": [],\n \"device_type\": [],\n \"operating_system\": [],\n \"part_or_kit\": [],\n \"capacity\": [],\n \"tool_category\": [],\n \"screwdriver_type\": [],\n \"merchandise_category\": [],\n \"ifixit_exclusive_only\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2.5,\n \"min_rating_count\": 1,\n \"in_stock_only\": false,\n \"lifetime_warranty_only\": false,\n \"discounted_only\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/ifixit/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"store_region\": \"en_us\",\n \"device\": [],\n \"category\": [],\n \"main_category\": [],\n \"item_type\": [],\n \"device_brand\": [],\n \"device_category\": [],\n \"device_type\": [],\n \"operating_system\": [],\n \"part_or_kit\": [],\n \"capacity\": [],\n \"tool_category\": [],\n \"screwdriver_type\": [],\n \"merchandise_category\": [],\n \"ifixit_exclusive_only\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2.5,\n \"min_rating_count\": 1,\n \"in_stock_only\": false,\n \"lifetime_warranty_only\": false,\n \"discounted_only\": false\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"alias": "<string>",
"@type": "IfixitProductOffer",
"url": "<string>",
"product_code": "<string>",
"product_id": "<string>",
"offer_key": "<string>",
"display_name": "<string>",
"image": "<string>",
"store_region": "<string>",
"price": 123,
"price_min": 123,
"price_max": 123,
"price_band": "<string>",
"compare_at_price": 123,
"is_discounted": true,
"is_pro": true,
"is_in_stock": true,
"is_public": true,
"has_lifetime_warranty": true,
"quantity_available": 123,
"rating": 123,
"rating_count": 123,
"score": 123,
"oem_partner_code": "<string>",
"oem_partner_url": "<string>",
"devices": [],
"categories": [],
"option_values": [],
"works_in": [],
"identifiers": [],
"compatible_part_numbers": [],
"keywords": [],
"attributes": [],
"attributes_localized": [],
"search_tags": [],
"axes": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Repair & DIY
/ifixit/products/search
Search the iFixit parts and tools store by keywords, device, category, price and stock
Price: 10 credits per 1000 results
POST
/
api
/
ifixit
/
products
/
search
/ifixit/products/search
curl --request POST \
--url https://api.anysite.io/api/ifixit/products/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"count": 500,
"timeout": 300,
"query": "<string>",
"store_region": "en_us",
"device": [],
"category": [],
"main_category": [],
"item_type": [],
"device_brand": [],
"device_category": [],
"device_type": [],
"operating_system": [],
"part_or_kit": [],
"capacity": [],
"tool_category": [],
"screwdriver_type": [],
"merchandise_category": [],
"ifixit_exclusive_only": false,
"price_min": 1,
"price_max": 1,
"min_rating": 2.5,
"min_rating_count": 1,
"in_stock_only": false,
"lifetime_warranty_only": false,
"discounted_only": false
}
'import requests
url = "https://api.anysite.io/api/ifixit/products/search"
payload = {
"count": 500,
"timeout": 300,
"query": "<string>",
"store_region": "en_us",
"device": [],
"category": [],
"main_category": [],
"item_type": [],
"device_brand": [],
"device_category": [],
"device_type": [],
"operating_system": [],
"part_or_kit": [],
"capacity": [],
"tool_category": [],
"screwdriver_type": [],
"merchandise_category": [],
"ifixit_exclusive_only": False,
"price_min": 1,
"price_max": 1,
"min_rating": 2.5,
"min_rating_count": 1,
"in_stock_only": False,
"lifetime_warranty_only": False,
"discounted_only": False
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
count: 500,
timeout: 300,
query: '<string>',
store_region: 'en_us',
device: [],
category: [],
main_category: [],
item_type: [],
device_brand: [],
device_category: [],
device_type: [],
operating_system: [],
part_or_kit: [],
capacity: [],
tool_category: [],
screwdriver_type: [],
merchandise_category: [],
ifixit_exclusive_only: false,
price_min: 1,
price_max: 1,
min_rating: 2.5,
min_rating_count: 1,
in_stock_only: false,
lifetime_warranty_only: false,
discounted_only: false
})
};
fetch('https://api.anysite.io/api/ifixit/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.anysite.io/api/ifixit/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([
'count' => 500,
'timeout' => 300,
'query' => '<string>',
'store_region' => 'en_us',
'device' => [
],
'category' => [
],
'main_category' => [
],
'item_type' => [
],
'device_brand' => [
],
'device_category' => [
],
'device_type' => [
],
'operating_system' => [
],
'part_or_kit' => [
],
'capacity' => [
],
'tool_category' => [
],
'screwdriver_type' => [
],
'merchandise_category' => [
],
'ifixit_exclusive_only' => false,
'price_min' => 1,
'price_max' => 1,
'min_rating' => 2.5,
'min_rating_count' => 1,
'in_stock_only' => false,
'lifetime_warranty_only' => false,
'discounted_only' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$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.anysite.io/api/ifixit/products/search"
payload := strings.NewReader("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"store_region\": \"en_us\",\n \"device\": [],\n \"category\": [],\n \"main_category\": [],\n \"item_type\": [],\n \"device_brand\": [],\n \"device_category\": [],\n \"device_type\": [],\n \"operating_system\": [],\n \"part_or_kit\": [],\n \"capacity\": [],\n \"tool_category\": [],\n \"screwdriver_type\": [],\n \"merchandise_category\": [],\n \"ifixit_exclusive_only\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2.5,\n \"min_rating_count\": 1,\n \"in_stock_only\": false,\n \"lifetime_warranty_only\": false,\n \"discounted_only\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
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.anysite.io/api/ifixit/products/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"store_region\": \"en_us\",\n \"device\": [],\n \"category\": [],\n \"main_category\": [],\n \"item_type\": [],\n \"device_brand\": [],\n \"device_category\": [],\n \"device_type\": [],\n \"operating_system\": [],\n \"part_or_kit\": [],\n \"capacity\": [],\n \"tool_category\": [],\n \"screwdriver_type\": [],\n \"merchandise_category\": [],\n \"ifixit_exclusive_only\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2.5,\n \"min_rating_count\": 1,\n \"in_stock_only\": false,\n \"lifetime_warranty_only\": false,\n \"discounted_only\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/ifixit/products/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"count\": 500,\n \"timeout\": 300,\n \"query\": \"<string>\",\n \"store_region\": \"en_us\",\n \"device\": [],\n \"category\": [],\n \"main_category\": [],\n \"item_type\": [],\n \"device_brand\": [],\n \"device_category\": [],\n \"device_type\": [],\n \"operating_system\": [],\n \"part_or_kit\": [],\n \"capacity\": [],\n \"tool_category\": [],\n \"screwdriver_type\": [],\n \"merchandise_category\": [],\n \"ifixit_exclusive_only\": false,\n \"price_min\": 1,\n \"price_max\": 1,\n \"min_rating\": 2.5,\n \"min_rating_count\": 1,\n \"in_stock_only\": false,\n \"lifetime_warranty_only\": false,\n \"discounted_only\": false\n}"
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"alias": "<string>",
"@type": "IfixitProductOffer",
"url": "<string>",
"product_code": "<string>",
"product_id": "<string>",
"offer_key": "<string>",
"display_name": "<string>",
"image": "<string>",
"store_region": "<string>",
"price": 123,
"price_min": 123,
"price_max": 123,
"price_band": "<string>",
"compare_at_price": 123,
"is_discounted": true,
"is_pro": true,
"is_in_stock": true,
"is_public": true,
"has_lifetime_warranty": true,
"quantity_available": 123,
"rating": 123,
"rating_count": 123,
"score": 123,
"oem_partner_code": "<string>",
"oem_partner_url": "<string>",
"devices": [],
"categories": [],
"option_values": [],
"works_in": [],
"identifiers": [],
"compatible_part_numbers": [],
"keywords": [],
"attributes": [],
"attributes_localized": [],
"search_tags": [],
"axes": []
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
1 <= x <= 1000Required range:
20 <= x <= 1500Available options:
en_us, en_eu, en_au, en_ca, de_de, fr_fr, fr_ca Available options:
Parts, Tools, Upgrades, iFixit Gear Available options:
Windows, Android, iOS, macOS Available options:
Part Only, Fix Kit, Upgrade Kit Required range:
x >= 0Required range:
x >= 0Required range:
0 <= x <= 5Required range:
x >= 0Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes