{"openapi":"3.0.3","info":{"title":"Monoprix groceries API (ReefAPI)","version":"1.0.0","description":"Monoprix groceries Call POST /monoprix/v1/{action} with an x-api-key header; every response is the { ok, data, meta, error } envelope.","contact":{"name":"ReefAPI","url":"https://reefapi.com/monoprix-api","email":"support@reefapi.com"},"license":{"name":"ReefAPI Terms","url":"https://reefapi.com/terms"},"termsOfService":"https://reefapi.com/terms"},"externalDocs":{"description":"Monoprix groceries API documentation","url":"https://reefapi.com/docs/monoprix"},"servers":[{"url":"https://api.reefapi.com"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"monoprix","description":"Monoprix groceries"}],"paths":{"/monoprix/v1/search":{"post":{"operationId":"monoprix_search","summary":"Search the Monoprix online grocery catalogue (EUR)","description":"Search the Monoprix online grocery catalogue (EUR). Monoprix courses en ligne, France.","tags":["monoprix"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"query":{"type":"string","example":"lait","description":"Search text, up to 100 characters."},"limit":{"type":"integer","minimum":1,"maximum":48,"default":24,"example":24,"description":"Products requested per page, 1-48. The source can return fewer (duplicate rows across its groups are dropped)."},"cursor":{"type":"string","description":"next_cursor from the previous page of the same call (same query, filters and location)."},"sort":{"type":"string","enum":["favorite","priceAscending","priceDescending","pricePerAscending","pricePerDescending"],"default":"favorite","example":"priceAscending","description":"Source ordering."},"brand":{"type":"string","example":"Monoprix","description":"Exact brand value from the facets[id=brands] list of a previous answer."},"on_offer":{"type":"boolean","default":false,"description":"Only products with a source promotion when true."},"latitude":{"type":"number","example":48.8566,"description":"Delivery location latitude. Prices and assortment on Monoprix follow the region that serves this point; give latitude and longitude together. Without them the answer uses the site default region (France) and says store_defaulted=true."},"longitude":{"type":"number","example":2.3522,"description":"Delivery location longitude (with latitude)."},"postal_code":{"type":"string","example":"75001","description":"Postal code of that location (optional, passed to the site with the coordinates)."}},"required":["query"]},"example":{"query":"lait","limit":24}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":3}},"/monoprix/v1/category":{"post":{"operationId":"monoprix_category","summary":"Browse one Monoprix category by its id from categories.","description":"Browse one Monoprix category by its id from categories.","tags":["monoprix"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"category_id":{"type":"string","example":"40f80e30-17a8-4c14-8786-cd8905a60f04","description":"Category UUID from the categories action."},"limit":{"type":"integer","minimum":1,"maximum":48,"default":24,"example":24,"description":"Products requested per page, 1-48. The source can return fewer (duplicate rows across its groups are dropped)."},"cursor":{"type":"string","description":"next_cursor from the previous page of the same call (same query, filters and location)."},"sort":{"type":"string","enum":["favorite","priceAscending","priceDescending","pricePerAscending","pricePerDescending"],"default":"favorite","example":"priceAscending","description":"Source ordering."},"brand":{"type":"string","example":"Monoprix","description":"Exact brand value from the facets[id=brands] list of a previous answer."},"on_offer":{"type":"boolean","default":false,"description":"Only products with a source promotion when true."},"latitude":{"type":"number","example":48.8566,"description":"Delivery location latitude. Prices and assortment on Monoprix follow the region that serves this point; give latitude and longitude together. Without them the answer uses the site default region (France) and says store_defaulted=true."},"longitude":{"type":"number","example":2.3522,"description":"Delivery location longitude (with latitude)."},"postal_code":{"type":"string","example":"75001","description":"Postal code of that location (optional, passed to the site with the coordinates)."}},"required":["category_id"]},"example":{"category_id":"40f80e30-17a8-4c14-8786-cd8905a60f04"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":3}},"/monoprix/v1/product":{"post":{"operationId":"monoprix_product","summary":"Full Monoprix product sheet: description, ingredients, allergens, nutrition table, every label field, all images, promotions with terms.","description":"Full Monoprix product sheet: description, ingredients, allergens, nutrition table, every label field, all images, promotions with terms.","tags":["monoprix"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"MPX_6600978","description":"Product id from search (`id`), or a courses.monoprix.fr product URL."},"latitude":{"type":"number","example":48.8566,"description":"Delivery location latitude. Prices and assortment on Monoprix follow the region that serves this point; give latitude and longitude together. Without them the answer uses the site default region (France) and says store_defaulted=true."},"longitude":{"type":"number","example":2.3522,"description":"Delivery location longitude (with latitude)."},"postal_code":{"type":"string","example":"75001","description":"Postal code of that location (optional, passed to the site with the coordinates)."}},"required":["id"]},"example":{"id":"MPX_6600978"}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":1}},"/monoprix/v1/categories":{"post":{"operationId":"monoprix_categories","summary":"Monoprix category tree (top level and one child level) with the ids the category action takes.","description":"Monoprix category tree (top level and one child level) with the ids the category action takes.","tags":["monoprix"],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"Result envelope","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"401":{"description":"Missing or invalid x-api-key"},"429":{"description":"Rate limited or quota exhausted"}},"x-reefapi-credits":2}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"Envelope":{"type":"object","required":["ok"],"properties":{"ok":{"type":"boolean"},"data":{"description":"Action result (shape varies per action)"},"meta":{"type":"object","description":"api, endpoint, mode, latency_ms, record_count, completeness_pct"},"error":{"type":"object","nullable":true,"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}}}}}}}