Switch Technology APIswitchtechnology.pt ↗
Access Switch Technology's Portuguese tech store via API. Search products by keyword or browse categories. Returns name, price, stock status, and image URL.
What is the Switch Technology API?
The Switch Technology API gives developers programmatic access to product data from switchtechnology.pt, a Portuguese technology retailer, across 2 endpoints. Use search_products to query the catalog by keyword and retrieve up to 24 results per page including name, price, stock status, and image URL, or use list_products to paginate through an entire product category by slug.
curl -X GET 'https://api.parse.bot/scraper/962936d1-0fc4-4e17-970f-73ef83cd2d9b/search_products?query=rtx+4070' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace switchtechnology-pt-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: Switch Technology PT API — browse and search products."""
from parse_apis.switchtechnology_pt_api import SwitchTechnology, InputFormatInvalid
client = SwitchTechnology()
# Browse components category, capped at 5 products
for product in client.products.list(category="componentes", limit=5):
print(product.name, "|", product.price, "|", product.stock_status)
# Search for a specific product line, handling invalid input gracefully
try:
result = client.products.search(query="rtx 4070", limit=1).first()
except InputFormatInvalid as e:
print(f"Bad input: {e.message}")
result = None
if result is not None:
print(f"Top hit: {result.name} — {result.price}")
print(f"Link: {result.url}")
print("exercised: products.list / products.search")
Search for products by keyword query. Returns matching products with name, price, stock status, product URL, and image URL. Results are paginated with 24 products per page. When no results match, returns an empty products array.
| Param | Type | Description |
|---|---|---|
| page | integer | Page number for paginated results. Omitting returns page 1. |
| queryrequired | string | Search term for products (e.g. 'rtx 4070', 'ddr4', 'monitor'). |
{
"type": "object",
"fields": {
"page": "Current page number",
"query": "The search query that was used",
"total": "Total number of matching products, or null if not displayed",
"products": "Array of matching products with name, price, stock_status, url, and image_url"
},
"sample": {
"data": {
"page": 1,
"query": "rtx 4070",
"total": 7,
"products": [
{
"url": "https://switchtechnology.pt/produto/computador-gaming-omen-35l-gt16-0003np-r7-8700g-32gb-1tb-rtx-4070-ti-super-w11h/",
"name": "Computador Gaming OMEN 35L GT16-0003np R7 8700G 32GB 1TB RTX 4070 Ti SUPER W11H",
"price": "2484,50€",
"image_url": "https://switchtechnology.pt/switch-cont/uploads/2024/11/2tp07hbu.png",
"stock_status": "Em stock"
}
]
},
"status": "success"
}
}About the Switch Technology API
Endpoints
The API exposes two GET endpoints. search_products accepts a required query string (e.g. rtx 4070, ddr4, monitor) and an optional page integer. It returns a products array alongside the echoed query, current page, and a total count of matched products (or null when the site does not display a total). When no products match the query, the products array is empty.
list_products browses a specific category by its URL slug. Pass a category slug such as componentes, perifericos, or computadores-software and an optional page number. The response includes products, page, total, category, and last_page so you can iterate through all pages without guessing the end boundary.
Response Fields
Both endpoints return products with the same five fields: name (product title), price (as displayed on the store), stock_status (in-stock or out-of-stock indicator), url (direct product page link), and image_url (product image). Each page yields up to 24 products.
Coverage Notes
Switchtechnology.pt is a Portuguese-language retailer, so product names and categories are in Portuguese. Category slugs must match the URL path structure of the site's navigation. If a slug does not correspond to a valid category, results may be empty.
The Switch Technology API is a managed, monitored endpoint for switchtechnology.pt — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when switchtechnology.pt changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official switchtechnology.pt API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Track price changes for specific GPU or CPU models by polling search_products with a product keyword on a schedule.
- Build a stock-availability alert for sold-out components by monitoring the stock_status field.
- Aggregate all products in the 'memoria-ram' category using list_products with the last_page field to iterate all pages.
- Compare prices across Portuguese tech retailers by combining results with data from other regional stores.
- Populate a product feed or comparison site with current switchtechnology.pt listings, images, and prices.
- Monitor category-level inventory depth by counting in-stock products returned by list_products across all pages.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.