O'Reilly Auto Parts
O'Reilly Auto Parts Store Stock API
Which O'Reilly Auto Parts stores near a ZIP or a point can hand over one part (oreillyauto.com, the US auto parts retailer): the stores within 50 miles, nearest first, each with in store now, available for pickup and the pickup time in O'Reilly's words, distance, address and hours message. Availability states, not unit counts. Costs 4 credits near a ZIP, 2 near latitude + longitude.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonline_codestringrequiredO'Reilly line code (items[].line_code, e.g. SSB).
Example: SSB
part_numberstringrequiredPart number as O'Reilly lists it (items[].part_number).
Example: 48PLT
zipstringA 5-digit US ZIP (4 credits: one more call to place it). Send zip, or latitude + longitude.
Example: 60540
latitudenumberLatitude, with longitude (2 credits).
Example: 29.7604
longitudenumberLongitude, with latitude.
Example: -95.3698
quantityintegerdefault:1Quantity to check, 1 to 99.
Example: 1
countrystringdefault:usus (oreillyauto.com), the default and the only market this endpoint serves. mx answers 400, not charged: O'Reilly's Mexican site shows no prices, so mx serves stores and store only (the Mexican store directory, in Spanish). Any other value answers 400, not charged.
Example: us
us— United States, oreillyauto.com, English, USD. 4 credits near a zip; 2 near latitude + longitude. The default.
Notes
Store. O'Reilly Auto Parts (oreillyauto.com, the US auto parts retailer): country us, the default, on every endpoint. O'Reilly also runs stores in Mexico and Canada, but its Mexican web store shows no prices and there is no Canadian web store, so mx serves only stores and store (O'Reilly's Mexican store directory, in Spanish, as O'Reilly writes it) and Canada is not served. Field names are English; prices are USD numbers. Every answer echoes country, language and currency. O'Reilly shows availability states, not unit counts: availability { store_pickup, in_store_now, pickup_time (O'Reilly's words, e.g. 8:30 AM today), message_hidden }. in_store_now true is O'Reilly's in-store state; store_pickup true with in_store_now false means O'Reilly offers pickup without it being on that store's shelf now. On 2026-11-23 the Super Start Platinum battery 48PLT near ZIP 60540 (Naperville, IL) read in store now at all 23 stores within 50 miles; the BrakeBest pads SC1001 near a downtown Houston point read in store now at 11 of 24 and pickup without a time at 13; Mobil 1 5W-30 (5 quarts) near ZIP 10001 (Manhattan) listed 4 stores, the nearest in Greenburgh, NY at 22.4 miles. distance_miles is computed by Scavio from the requested point. Stock is as O'Reilly reports it; Scavio makes no promise of its accuracy.
| country | Site | Language, currency | This endpoint |
|---|---|---|---|
us (default) | United States, oreillyauto.com | English, USD | 4 credits near a zip; 2 near latitude + longitude |
mx | Mexico, store directory | Spanish, no prices | 400, not charged: O'Reilly's Mexican site shows no prices, so mx serves stores and store only (the Mexican store directory, in Spanish). |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
# A point is 2 credits; a ZIP is 4.
d = client.oreilly.store_stock(line_code="BB", part_number="SC1001", latitude=29.7604, longitude=-95.3698)["data"]
for s in d["stores"]:
a = s["availability"]
print(s["store_id"], s["address"]["city"], s["distance_miles"], a["in_store_now"], a["pickup_time"])Response