Piloterr

RS Online Product

GET
/v2/rsonline/product

Read one RS Online UK product URL, including the RS stock number, manufacturer part, and pound price.

Credit cost: 2 credits per call

Authentification

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Paramètres de requête

query*string

A uk.rs-online.com product link. The response is one flat product. price is the numeric pound amount and price_display is the printed string. A search link, a bare stock number, or another host returns 400.

Product link

https://uk.rs-online.com/web/p/splice-connectors/0303327
return_page_source?boolean

Default false. true replaces the product object with result, the rendered HTML.

Corps de la réponse

Successful response

application/json
  1. response
mpn?string
url?string
brand?string
price?number
title?string
images?array<string>
category?string
currency?string
in_stock?boolean
brand_url?string
image_url?string
pack_size?integer
categories?array<string>
product_id?string
description?string
rohs_status?string
price_breaks?array<>
stock_status?string
datasheet_url?string
price_display?string
specifications?array<>
rs_stock_number?string
unit_of_measure?string
minimum_order_qty?integer
Example Request
curl -X GET 'https://api.piloterr.com/v2/rsonline/product?query=string'
Example Response
{  "mpn": "221-2401",  "url": "https://uk.rs-online.com/web/p/splice-connectors/0303327",  "brand": "WAGO",  "price": 4.95,  "title": "WAGO, 221 Wire Splice Splice Connector, Clear, Insulated 12 AWG",  "images": [    "https://media.rs-online.com/t_large/Y0303327-01.jpg",    "https://media.rs-online.com/t_thumb/Y0303327-01.jpg"  ],  "category": "Splice Connectors",  "currency": "GBP",  "in_stock": true,  "brand_url": "https://uk.rs-online.com/web/b/wago",  "image_url": "https://media.rs-online.com/t_large/Y0303327-01.jpg",  "pack_size": 10,  "categories": [    "Electronic Components, Power & Connectors",    "Connectors",    "Wire Terminals & Splices",    "Splice Connectors"  ],  "product_id": "0303327",  "description": "The Wago inline splicing connector with levers (2-conductor, maximum 4 mm²) features tool-free connection for solid, stranded, and fine-stranded conductors (0.2 to 4 mm²). Its slim design saves space, and it is ideal for North American installations with 12 AWG capability. The lever technology enables easy connection and disconnection.",  "rohs_status": "EXEMPT",  "price_breaks": [    {      "price": 4.95,      "quantity": 1,      "price_display": "£4.95",      "indicative_price": 0.495,      "indicative_price_display": "£0.495"    },    {      "price": 4.56,      "quantity": 5,      "price_display": "£4.56",      "indicative_price": 0.456,      "indicative_price_display": "£0.456"    },    {      "price": 4.01,      "quantity": 10,      "price_display": "£4.01",      "indicative_price": 0.401,      "indicative_price_display": "£0.401"    }  ],  "stock_status": "In Stock",  "datasheet_url": "https://docs.rs-online.com/54b0/A700000012773609.pdf",  "price_display": "£4.95",  "specifications": [    {      "name": "Brand",      "value": "WAGO"    },    {      "name": "Splice Type",      "value": "Wire Splice"    },    {      "name": "Product Type",      "value": "Splice Connector"    },    {      "name": "Series",      "value": "221"    }  ],  "rs_stock_number": "030-3327",  "unit_of_measure": "1 Pack of 10",  "minimum_order_qty": 1}