{"openapi":"3.0.3","info":{"title":"Parts4Drive Marketplace & Automotive Inventory API","version":"1.0.0","description":"Public REST endpoints for automotive parts search, vehicle fitment validation (MMYTE), and dealer order placement across West Africa.","contact":{"name":"Parts4Drive Support","email":"support@parts4drive.com","url":"https://parts4drive.com"},"x-service-info":{"tier":"public-and-partner","corridors":["NG","GH","CI","TG","BJ"],"agentReady":true},"x-payment-info":{"paymentRequired":false,"supportedCurrencies":["NGN","GHS","USD"],"paymentMethods":["direct_settlement","bank_transfer","escrow","x402"],"x402Endpoint":"https://parts4drive.com/api/v1/x402"}},"servers":[{"url":"https://parts4drive.com","description":"Production Edge Gateway"},{"url":"https://api.parts4drive.com","description":"Dedicated API Gateway"}],"paths":{"/api/v1/marketplace/products":{"get":{"summary":"Search marketplace products","description":"Search active automotive parts across inventory by keyword, vehicle make, or SKU.","x-payment-info":{"paymentRequired":false,"pricing":"free","supportedCurrencies":["NGN","GHS","USD"]},"parameters":[{"name":"q","in":"query","schema":{"type":"string"},"description":"Search term"},{"name":"country","in":"query","schema":{"type":"string","enum":["GH","NG"]},"description":"Country corridor"},{"name":"make","in":"query","schema":{"type":"string"},"description":"Vehicle make"},{"name":"limit","in":"query","schema":{"type":"integer","default":20}}],"responses":{"200":{"description":"Matching products list","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"data":{"type":"array","items":{"type":"object"}}}}}}}}}},"/api/v1/catalog/mmyte":{"get":{"summary":"Verify vehicle fitment","description":"Check exact Make-Model-Year-Trim-Engine compatibility.","x-payment-info":{"paymentRequired":false,"pricing":"free","supportedCurrencies":["NGN","GHS","USD"]},"parameters":[{"name":"make","in":"query","required":true,"schema":{"type":"string"}},{"name":"model","in":"query","required":true,"schema":{"type":"string"}},{"name":"year","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Compatibility details","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/v1/x402":{"get":{"summary":"HTTP 402 Payment Required Probe","description":"Agent micro-payment and metering endpoint.","x-payment-info":{"paymentRequired":true,"pricing":"metered","supportedCurrencies":["NGN","GHS","USD"]},"responses":{"402":{"description":"Payment Required"}}}}}}