Skip to main content
Piloterr
Back to library

RS Online Product API

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

Active2 credits = 1 requestGET/v2/rsonline/product

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Read one RS Online UK product page. query is the product URL.

QuickstartLink to Quickstart

Product link

GET https://api.piloterr.com/v2/rsonline/product?query=https://uk.rs-online.com/web/p/splice-connectors/0303327

ParametersLink to Parameters

Parameter Type Required Default What to pass What changes in the JSON
query string yes empty, which returns 400 A uk.rs-online.com product link The body is one flat product. product_id is the digits in the URL. price is the numeric pound amount and price_display is the printed string. A search link returns 400.
return_page_source boolean no false true or false true replaces the product with result, the rendered HTML.

Response fieldsLink to Response fields

rs_stock_number is the id with the RS hyphen. price_display keeps the printed amount, such as £4.95. price_breaks lists the quantity breaks. mpn is the manufacturer part.

Use casesLink to Use cases

  • Read the RS stock number and manufacturer part
  • Save the datasheet and the specification rows
  • Confirm the selling price before ordering

Error codesLink to Error codes

Code Meaning
400 Empty query, another website, or a search link
404 The product sheet was not on the page
500 The fetch failed

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included