Apple APIapple.com, dell.com ↗
Search and compare MacBook and Dell laptop prices, discounts, and specs in real time. 3 endpoints covering both Apple and Dell stores.
What is the Apple API?
This API covers 3 endpoints that retrieve current laptop pricing and product details from both Apple and Dell stores. The compare_prices endpoint fetches results from both sources in a single call, returning separate product arrays with per-source status indicators so you can detect partial failures. Each product record includes current price, original price, discount percentage, available colors, key features, and a direct product URL.
curl -X GET 'https://api.parse.bot/scraper/8cf0a531-2436-4501-9b8a-0e31c3f47d8a/search_apple?limit=5&query=laptop' \ -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 apple-com-dell-com-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: LaptopSearch SDK — search Apple & Dell, compare prices."""
from parse_apis.laptop_price_search___comparison_api import LaptopSearch, ProductNotFound
client = LaptopSearch()
# Search Apple Store for MacBook laptops — limit caps total items.
for mac in client.appleproducts.search(query="macbook", limit=5):
print(mac.name, mac.price, mac.colors)
# Search Dell for laptops — paginated automatically.
dell_item = client.dellproducts.search(query="laptop", limit=1).first()
if dell_item:
print(dell_item.name, dell_item.price, dell_item.discount_percent)
# Compare prices across both stores in one call.
try:
comparison = client.comparisons.compare(query="laptop", limit=5)
print(comparison.total, comparison.apple_count, comparison.dell_count)
for product in comparison.apple_products:
print(product.name, product.price_display, product.badge)
for product in comparison.dell_products:
print(product.name, product.price, product.original_price)
except ProductNotFound as exc:
print(f"No results: {exc}")
print("exercised: appleproducts.search / dellproducts.search / comparisons.compare")
Search Apple Store for Mac laptops (MacBook Neo, MacBook Air, MacBook Pro). Returns current pricing, available colors, key features, and product URLs. Only laptop products are included; desktops and accessories are filtered out. Single-page result set covering all current MacBook models.
| Param | Type | Description |
|---|---|---|
| limit | integer | Maximum number of products to return. |
| query | string | Search query for filtering laptop results by name. |
{
"type": "object",
"fields": {
"query": "string, the search query used",
"total": "integer, number of products returned",
"source": "string, always 'apple'",
"products": "array of Apple laptop product objects"
},
"sample": {
"data": {
"query": "laptop",
"total": 5,
"source": "apple",
"products": [
{
"url": "https://www.apple.com/shop/buy-mac/macbook-neo",
"name": "MacBook Neo",
"badge": "NEW",
"brand": "Apple",
"price": 599,
"colors": [
"Silver",
"Blush",
"Citrus",
"Indigo"
],
"currency": "USD",
"features": [
"The magic of Mac at a surprising price.",
"Fly through everyday tasks with A18 Pro chip"
],
"part_number": "MHFA4",
"price_display": "From $599"
}
]
},
"status": "success"
}
}About the Apple API
Endpoints and Data Covered
The search_apple endpoint queries Apple's Mac laptop catalog — MacBook Air, MacBook Pro, and other current MacBook lines — and returns an array of product objects under the products field. Each object includes the product name, current price, available color options, key feature highlights, and a URL linking directly to the Apple Store listing. Desktops, iPads, and accessories are excluded. Results are not paginated; the endpoint returns all current MacBook models in a single response, with an optional query string and limit integer to narrow down results.
Dell Search and Pagination
The search_dell endpoint supports pagination via the page parameter (1-based) and returns up to 12 products per page by default, configurable with limit. The response includes total_results (the total count available across all pages, when detectable) alongside the per-page total. Each Dell product object exposes both the current price and the original price, making discount_percentage derivable or directly available. Product lines covered include Dell, XPS, and Latitude laptops.
Cross-Store Comparison
The compare_prices endpoint applies a single query string and limit to both stores simultaneously and returns apple_products and dell_products as separate arrays alongside apple_count, dell_count, and individual apple_status / dell_status fields. Because each source is fetched independently, a failure on one side (indicated by a status of 'error') does not prevent the other from returning results. The top-level total field sums both counts for quick aggregation.
The Apple API is a managed, monitored endpoint for apple.com, dell.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when apple.com, dell.com 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 apple.com, dell.com 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?+
- Build a laptop deal tracker that alerts when Dell's
discount_percentageexceeds a threshold on XPS models. - Compare MacBook Air vs Dell XPS pricing side-by-side using the
compare_pricesendpoint with a shared query string. - Populate a product comparison table with current prices, original prices, and feature highlights from both stores.
- Monitor MacBook color availability changes over time by polling
search_appleand diffing thecolorsfield. - Feed a budget laptop finder that filters
dell_productsandapple_productsby price range from a single API call. - Aggregate discount data from Dell's paginated catalog to find the deepest markdowns across all Latitude listings.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Do Apple or Dell have official developer APIs for their product catalogs?+
What does `compare_prices` return if one store is unavailable?+
apple_status or dell_status) is set to 'error' and its product array will be empty or absent, while the other store's results are returned normally. The total field reflects only the products successfully retrieved.Does `search_dell` return all pages of results in one call?+
page number. The total_results field indicates how many products are available in total when that figure is detectable, so you can calculate how many pages to iterate over. You need to increment page manually across calls to collect the full result set.Are desktop Macs, iPads, or Dell accessories included in the results?+
search_apple endpoint is filtered to MacBook laptops only — desktops (Mac mini, iMac, Mac Pro) and accessories are excluded. The search_dell endpoint covers Dell's laptop catalog; monitors, desktops, and peripherals are not included. You can fork this API on Parse and revise the endpoint to broaden or change the product category scope.