O'Reilly Auto Parts
O'Reilly Auto Parts Stores API
O'Reilly Auto Parts stores (oreillyauto.com, the US auto parts retailer): in the US, the 25 nearest a ZIP or a point within 50 miles with phone, address, coordinates, distance, open now, hours with holiday adjustments and services; or O'Reilly's store directory by state and city in the US and Mexico (Spanish). Costs 4 credits near a ZIP, 2 near a point or by state (+ city).
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/jsonzipstringA 5-digit US ZIP: the nearest stores (4 credits). Send one of zip, latitude + longitude, or state (+ city).
Example: 77002
latitudenumberLatitude, with longitude (2 credits, us).
Example: 39.7392
longitudenumberLongitude, with latitude.
Example: -104.9903
statestringThe directory by state (2 credits): a US state code (mo, tx, pr), or on mx one of agu, bcs, col, gua, jal, mic, nay, sin, son.
Example: mo
citystringWith state: a city (cities[].city_slug or its name): that city's stores.
Example: springfield
countrystringdefault:usus (oreillyauto.com, the default) or mx (O'Reilly's Mexican store directory, in Spanish: the stores in 9 Mexican states). 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 or by state (+ city). The default.mx— Mexico, O'Reilly's store directory in Spanish (no prices). 2 credits.
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. Three ways in: zip (4 credits) or latitude + longitude (2 credits), us only: stores [{ store_id, phone, address { line1, line2, city, county, state, zip, zip4, country }, latitude, longitude, distance_miles (as O'Reilly gives it), open_now, hours_message, closed_all_week, pickup_opens, hours [{ day, open, close, closed, adjustment (holiday) }], services { hydraulic_hoses, paint_mixing, machine_shop } }], the nearest within 50 miles; or state (+ city), us or mx (2 credits): the directory, cities [{ city, city_slug, store_count, store_number, url }] with total_stores, then a city's stores [{ store_number, name, address, city_state, phone, services, url (the input of store) }]. On 2026-11-23 ZIP 77002 (downtown Houston) listed 25 stores, the nearest 1.3 miles away, and Thursday (Thanksgiving) hours carried adjustment holiday. mx lists O'Reilly's Mexican stores in Spanish in 9 states (agu, bcs, col, gua, jal, mic, nay, sin, son): Guadalajara, Jalisco had 13. Stores near a ZIP or point are not offered on mx.
| country | Site | Language, currency | This endpoint |
|---|---|---|---|
us (default) | United States, oreillyauto.com | English, USD | 4 credits near a zip; 2 near latitude + longitude or by state (+ city) |
mx | Mexico, store directory | Spanish, no prices | 2 credits |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
d = client.oreilly.stores(zip="77002")["data"]
for s in d["stores"][:5]:
print(s["store_id"], s["address"]["line1"], s["distance_miles"], s["open_now"], s["phone"])
# The Mexican directory (Spanish): one city's stores.
mx = client.oreilly.stores(country="mx", state="jal", city="guadalajara")["data"]
print(mx["count"], [s["url"] for s in mx["stores"]][:2])Response